Mastering Yii

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Key Features

  • Learn to work with the key aspects of Yii Framework 2
  • Explore how to create RESTful APIs with Yii
  • Incorporate codeception with Yii2 to test your code thoroughly

Book Description

The 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 learn

  • Explore Yii2's conventions and learn how to properly configure Yii2
  • Create both web and console applications
  • Reduce development time by learning to create classes automatically with Gii, Yii2's automatic code generation tool
  • Use Yii2's database migration tool
  • Manage and access databases with Active Record, DAO, and Query Builder
  • Handle user authentication and authorization within Yii2
  • Create RESTful APIs with Yii Framework 2
  • Test applications automatically with codeception

About the Author

Charles 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 Contents

  1. Composer, Configuration, Classes, and Path Aliases
  2. Console Commands and Applications
  3. Migrations, DAO, and Query Building
  4. Active Record, Models, and Forms
  5. Modules, Widgets, and Helpers
  6. Asset Management
  7. Authenticating and Authorizing Users
  8. Routing, Responses, and Events
  9. RESTful APIs
  10. Testing with Codeception
  11. Internationalization and Localization
  12. Performance and Security
  13. Debugging and Deploying

Author(s): Charles R. Portwood II
Publisher: Packt Publishing
Year: 2016

Language: English
Pages: 380
Tags: Internet, Groupware, & Telecommunications;Networking & Cloud Computing;Computers & Technology;PHP;Programming;Web Development & Design;Computers & Technology;Programming Languages;Ada;Ajax;Assembly Language Programming;Borland Delphi;C & C++;C#;CSS;Compiler Design;Compilers;DHTML;Debugging;Delphi;Fortran;Java;Lisp;Perl;Prolog;Python;RPG;Ruby;Swift;Visual Basic;XHTML;XML;XSL;Computers & Technology