Synopsis:
This book is a step by step tutorial in developing a real-world application using the incremental and iterative approach to software development. You learn about agile software development by leaning on the agile nature of the Yii application development framework. You touch on each aspect of the software development lifecycle by building a project task management application from concept through production deployment. After a brief, general introduction to the Yii framework and outlining the software development approach taken throughout the book, the chapters break down in the same way as software development iterations do in real-world projects. After the 1st iteration, you will have a working and tested application with a valid, tested connection to a database. In the 2nd and 3rd iterations, we flesh out our main database entities and domain object model and become familiar with Yii's object-relational-mapping (ORM) layer, Active Record. We also learn how to lean on Yii's auto-generation tools to automatically build our create/read/update/delete (CRUD) functionality against our newly created model. These iterations also focus on how Yii's form validation and submission model works. By the end of the third iteration you will have a working application that allows you to mange projects and issues (tasks) within those projects. The 4th and 5th iterations are dedicated to user management. We learn about the built-in authentication model within Yii to assist in application login and logout functionality. We then dive into the authorization model, first taking advantage of a Yii's simple access control model, then implementing the more sophisticated role-based access control (RBAC) framework that Yii provides. By the end of the 5th iteration, all of the basics of a task management application are in place. The next several iterations are focused on the nice-to-haves. We add user comment functionality, introducing a reusable content portlet architecture approach in th
Product Description:
For PHP developers who know object-oriented programming, this book is the fast track to learning the Yii framework. It takes a step-by-step approach to building a complete real-world application - teaching by practice rather than theory. Overview A step-by-step guide to creating a modern, sophisticated web application using an incremental and iterative approach to software development Build a real-world, user-based, database-driven project task management application using the Yii development framework Take a test-driven design (TDD) approach to software development utilizing the Yii testing framework Write less code by using Yii's application generation and scaffolding tools Enhance your application by adding Web feeds, adapting it to multiple languages, and by utilizing themes to provide beautiful skins and design flexibility What you will learn from this book Take a "test first" approach to software development using the Yii testing framework Auto-generate skeleton web applications as well as CRUD scaffolding for the domain object model using the built-in command-line interface Create user-based applications with Yii's authentication model Enhance your user-based application to control a user's access to feature functionality Write an administrative console application to extend the features provided by Yii's powerful command-line tools Integrate other frameworks and libraries into a Yii application to further extend its feature set Spend less time managing application configuration by taking advantage of Yii's sensible defaults and conventions. Learn how easy it is to implement a multi-user application by utilizing Yii's authentication and role-based authorization models Update your code to properly mange the user's last login time and store it in the database Achieve pre- and post-action method request processing using controller filters Tap into the CActiveRecord validation workflow to allow for pre- and
"About this title" may belong to another edition of this title.