Web Application Development with Yii and PHP 2nd Revised Edition

Web Application Development with Yii and PHP 2nd Revised Edition book cover

Web Application Development with Yii and PHP 2nd Revised Edition

Author(s): Jeffrey Winesett (Author)

  • Publisher: Packt Publishing
  • Publication Date: 19 Nov. 2012
  • Edition: 2nd Revised ed.
  • Language: English
  • Print length: 313 pages
  • ISBN-10: 1849518726
  • ISBN-13: 9781849518727

Book Description

For PHP programmers with a yearning to add modernity and sophistication to their web applications, this book will be a revelation. A step-by-step tutorial to Yii, it talks you through the development of a complete real-world application.

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

Editorial Reviews

About the Author

Jeffrey Winesett is a partner at SeeSaw Labs in Austin, Texas, and has over 10 years of experience building large-scale, web-based applications. He is a strong proponent of using open source development frameworks when developing applications, and a champion of the Yii framework in particular since its initial alpha release. He frequently presents on, writes about, and develops with Yii as often as possible.

View on Amazon

电子书代发PDF格式价格30我要求助
未经允许不得转载:Wow! eBook » Web Application Development with Yii and PHP 2nd Revised Edition