- Yii 1.1 Application Development Cookbook
- Alexander Makarov
- 482字
- 2021-04-02 18:40:55
What this book covers
Chapter 1, Under the Hood provides information about the most interesting Yii features hidden under the hood: events, import, autoloading, exceptions, component, and widget configuration, and more.
Chapter 2, Router , Controller, and Views is about handy things concerning the Yii URL router, controllers, and views: URL rules, external actions and controllers, view clips, decorators, and more.
Chapter 3, AJAX and jQuery focuses on the Yii's client side that is built with jQuery—the most widely used JavaScript library out there. It is very powerful and easy to learn and use. This chapter focuses on Yii-specific tricks rather than jQuery itself.
Chapter 4, Working with Forms. Yii makes working with forms a breeze and documentation on it is almost complete. Still, there are some areas that need clarification and examples. Some of the topics covered in this chapter are creating own validators and input widgets, uploading files, using, and customizing CAPTCHA.
Chapter 5, Testing Your Application covers both unit testing, functional testing, and generating code coverage reports. Recipes follow a test driven development approach. You will write tests for several small applications and then will implement functionality.
Chapter 6, Database, Active Record, and Model Tricks is about working with databases efficiently, when to use models and when not to, how to work with multiple databases, how to automatically pre-process Active Record fields, and how to use powerful database criteria.
Chapter 7, Using Zii Components covers data providers, grids, and lists: How to configure sorting and search, how to use grids with multiple related models, how to create your own column types, and more.
Chapter 8, Extending Yii shows not only how to implement your own Yii extension but also how to make your extension reusable and useful for the community. In addition, we will focus on many things you should do to make your extension as efficient as possible.
Chapter 9, Error Handling , Debugging, and Logging reviews logging, analyzing the exception stack trace, and own error handler implementation.
Chapter 10, Security provides information about keeping your application secure according to the general web application security principle "filter input escape output". We will cover topics such as creating your own controller filters, preventing XSS, CSRF, and SQL injections, escaping output, and using role-based access control.
Chapter 11, Performance Tuning shows how to configure Yii to gain extra performance. You will learn a few best practices of developing an application that will run smoothly until you have very high loads.
Chapter 12, Using External Code focuses on using the third party code with Yii. We will use Zend Framework, Kohana, and PEAR but you will be able to use any code after learning how it works.
Chapter 13, Deployment covers various tips that are especially useful on application deployment, when developing an application in a team, or when you just want to make your development environment more comfortable.
- VR新未來
- Premiere Pro 2022短視頻剪輯、調(diào)色與特效制作實戰(zhàn)(全彩微課版)
- Drools規(guī)則引擎技術(shù)指南
- Photoshop CC入門與進(jìn)階
- ASP.NET 3.5 Application Architecture and Design
- Photoshop CC 2017從入門到精通
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- Unity 3D\2D手機(jī)游戲開發(fā):從學(xué)習(xí)到產(chǎn)品(第4版)
- SolidWorks 2018有限元:運(yùn)動仿真與流場分析自學(xué)手冊
- Excel革命!超級數(shù)據(jù)透視表Power Pivot與數(shù)據(jù)分析表達(dá)式DAX快速入門
- 科技繪圖/科研論文圖/論文配圖設(shè)計與創(chuàng)作自學(xué)手冊:科研動畫篇
- 中文版Corel DRAW X5案例實訓(xùn)教材
- Photoshop新媒體美工設(shè)計(視頻指導(dǎo)版)
- 中文版CATIA V5 技術(shù)大全
- 藝術(shù)二維碼設(shè)計與制作完全攻略 PHOTOSHOP+ILLUSTRATOR+FLASH