Web Application Development with Yii and PHP Front Cover

Web Application Development with Yii and PHP

  • Length: 332 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2012-11-19
  • ISBN-10: 1849518726
  • ISBN-13: 9781849518727
  • Sales Rank: #2904519 (See Top 100 Books)
Description

Learn the Yii application development framework by taking a step-by-step approach to building a Web-based project task tracking system from conception through production deployment

Overview

  • A step-by-step guide to creating a modern Web application using PHP, MySQL, and Yii
  • Build a real-world, user-based, database-driven project task management application using the Yii development framework.
  • Start with a general idea, and finish with deploying to production, learning everything about Yii inbetween, from “A”ctive record to “Z”ii component library.

In Detail

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.

What you will learn from this book

  • Auto-generate skeleton web applications as well as CRUD scaffolding for the domain object model using the built-in command-line interface
  • Use Yii database migrations to version and manage your database changes
  • 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 manage the user’s last login time and store it in the database
To access the link, solve the captcha.