Yii is a high-performance PHP framework suitable for developing Web2.0 applications. It is free, open source, and based on PHP5 for Web application development. The code is concise, DRY designed and encourages rapid development. It works to simplify your application development and helps ensure a very efficient, scalable and maintainable end product. With extremely optimized performance, Yii is a good choice for any size project. However, it is built with enterprise applications in mind. You have complete control from top to bottom (demo to persistence) to configure the configuration in line with your business development guidelines. It comes with tools to help test and debug applications, and has clear and comprehensive documentation.
Course playback address: http://www.php.cn/course/355.html
The teacher’s teaching style:
The teacher’s lectures are simple, clear, layer-by-layer analysis, interlocking, rigorous argumentation, rigorous structure, and use the logical power of thinking to attract students’ attention Strength, use reason to control the classroom teaching process. The teaching skills are full of wit. Various teaching methods and techniques are readily available and can be used freely and appropriately without any trace of polishing.
The more difficult part in this video should be: yii creates a backend module through gii:
1. Access gii /Module Generator module creates background module
Module Class: app\modules\admin
Module ID: admin
2. Configure the background module config/web.php
if (YII_ENV_DEV) { // configuration adjustments for 'dev' environment $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', ]; $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', ]; $config['modules']['admin'] = [ //添加admin模块 'class'=>'app\modules\admin' ]; }
The above is the detailed content of Chuanzhi Podcast Yii's material recommendation for developing large-scale shopping mall project videos. For more information, please follow other related articles on the PHP Chinese website!