Yii2 guide The De ?nitive Guide to Yii Qiang Xue Alexander Makarov Carsten Brandt Klimov Paul and the Yii community Copyright Yii Software LLC C CContents Introduction What is Yii Upgrading from Version Getting Started Installing Yii Running Applications
The De ?nitive Guide to Yii Qiang Xue Alexander Makarov Carsten Brandt Klimov Paul and the Yii community Copyright Yii Software LLC C CContents Introduction What is Yii Upgrading from Version Getting Started Installing Yii Running Applications Saying Hello Working with Forms Working with Databases Generating Code with Gii Looking Ahead Application Structure Overview Entry Scripts Applications Application Components Controllers Models Views Modules Filters Widgets Assets Extensions Handling Requests Overview Bootstrapping Routing Requests Responses iii Civ CONTENTS URL Management Error Handling Logging Key Concepts Components Properties Events Behaviors Con ?gurations Aliases Class Autoloading Service Locator Dependency Injection Container Working with Databases Database basics Query Builder and Query Active Record Database Migration Getting Data from Users Working with Forms Validating Input Uploading Files Displaying Data Data Formatter Data providers Data widgets Working with Client Scripts Theming Security Authentication Authorization Security Caching Caching Data Caching Fragment Caching Page Caching HTTP Caching CCONTENTS v RESTful Web Services Quick Start Resources Controllers Routing Response Formatting Authentication Rate Limiting Versioning Error Handling Development Tools Debug toolbar and debugger The Gii code generation tool Testing Testing Testing environment setup Unit Tests Functional Tests Acceptance Tests Fixtures Managing Fixtures Special Topics Advanced application template Creating your own Application structure Console applications Core Validators Internationalization Mailing Performance Tuning Using template engines Working with Third-Party Code Widgets Bootstrap Widgets Jquery UI Widgets Helpers Helpers Cvi CONTENTS CChapter Introduction What is Yii Yii is a high performance component-based PHP framework for rapidly developing modern Web applications The name Yii pronounced Yee or ji means ??simple and evolutionary ? in Chinese It can also be thought of as an acronym for Yes It Is What is Yii Best for Yii is a generic Web programming framework meaning that it can be used for developing all kinds of Web applications using PHP Because of its component-based architecture and sophisticated caching support it is especially suitable for developing large-scale applications such as portals forums content management systems CMS e- commerce projects RESTful Web services and so on How does Yii Compare with Other Frameworks If you ? re already familiar with another framework you may appreciate knowing how Yii compares ? Like most PHP frameworks Yii implements the MVC Model-ViewController design pattern and promotes code organization based on that pattern ? Yii takes the philosophy that code should be written in a simple yet elegant way Yii will never try to over-design things mainly for the purpose of strictly following some design pattern ? Yii is a full-stack framework providing many proven and ready-touse features query builders and ActiveRecord for both relational and C CHAPTER INTRODUCTION NoSQL databases RESTful API development support multi-tier caching support and more ? Yii is extremely extensible You can customize or replace nearly every piece of the core ? s code You can also take advantage of Yii ? s solid extension architecture to use or develop redistributable extensions ? High performance is always a primary goal of Yii Yii is not a one-man show it is backed
Documents similaires










-
41
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Dec 01, 2022
- Catégorie Law / Droit
- Langue French
- Taille du fichier 673.6kB