Mastering Yii

Key FeaturesLearn to work with the key aspects of Yii Framework 2Explore how to create RESTful APIs with YiiIncorporate codeception with Yii2 to test your code thoroughlyBook DescriptionThe successor of Yii Framework 1.1, Yii2 is a complete rewrite of Yii Framework, one of the most popular PHP 5 frameworks for making modern web applications. The update embraces the best practices and protocols established with newer versions of PHP, while still maintaining the simple, fast, and extendable behavior found in its predecessor.This book has been written to enhance your skills and knowledge with Yii Framework 2. Starting with configuration and how to initialize new projects, you'll learn how to configure, manage, and use every aspect of Yii2 from Gii, DAO, Query Builder, Active Record, and migrations, to asset manager. You'll also discover how to automatically test your code using codeception.With this book by your side, you'll have all the skills you need to quickly create rich modern web and console applications with Yii2.What you will learnExplore Yii2's conventions and learn how to properly configure Yii2Create both web and console applicationsReduce development time by learning to create classes automatically with Gii, Yii2's automatic code generation toolUse Yii2's database migration toolManage and access databases with Active Record, DAO, and Query BuilderHandle user authentication and authorization within Yii2Create RESTful APIs with Yii Framework 2Test applications automatically with codeceptionAbout the AuthorCharles R. Portwood II has over 10 years of experience developing modern web applications and is well versed in integrating PHP with native mobile applications. An avid proponent of Yii Framework and open source software, Charles has contributed multiple guides, extensions, and applications to the Yii community. In addition to being a programmer, he is also a Linux system administrator.Table of ContentsComposer, Configuration, Classes, and Path AliasesConsole Commands and ApplicationsMigrations, DAO, and Query BuildingActive Record, Models, and FormsModules, Widgets, and HelpersAsset ManagementAuthenticating and Authorizing UsersRouting, Responses, and EventsRESTful APIsTesting with CodeceptionInternationalization and LocalizationPerformance and SecurityDebugging and Deploying

Author: Charles R. Portwood II

Learn more