Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Web Application Development with Yii and PHP (2nd edition)

Posted By: ChrisRedfield
Web Application Development with Yii and PHP (2nd edition)

Jeffrey Winesett - Web Application Development with Yii and PHP (2nd edition)
Published: 2012-11-19 | ISBN: 1849518726 | PDF + EPUB + MOBI | 332 pages | 16 MB


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