Web Application Development with Yii and PHP, 2nd Edition
Second Edition
By Jeffrey Winesett
Publisher: Packt Publishing
Final Release Date: November 2012
Pages: 332

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.

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 the process. We add in an RSS Web feed and demonstrate how easy it is to integrate other third-party tools within a Yii application. We take advantage of Yii's theming structure to help streamline and design the application, and then introduce Yii's internationalization (I18N) features so the application can be adapted to various languages and regions without engineering changes.

Finally, we turn our focus to production deployment. We introduce ways to optimize performance and security to prepare the application for a real-world production environment.

Approach

This is a step-by-step tutorial for developing web applications using Yii. This book follows the test-first, incremental, and iterative approach to software development while developing a project task management application.

Who this book is for

If you are a PHP programmer with knowledge of object oriented programming and want to rapidly develop modern, sophisticated web applications, then this book is for you. No prior knowledge of Yii is required to read this book.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyWeb Application Development with Yii and PHP, 2nd Edition
 
5.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

(1 of 1 customers found this review helpful)

 
5.0

A brilliant piece of work!

By Pule Nong

from Gaborone, Botswana

About Me Designer, Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Web Application Development with Yii and PHP, 2nd Edition:

    This book demonstrates all that there is to developing a web application using the PHP Yii Framework. Every concept is meticulously covered and explained in thorough detail. In reading this book one gets to learn today's best web application development practices. You learn how to perform unit tests using PHPUnit Testing Framework as well as how to perform functional tests of your application using Selenium Remote Control Server.

    This is a hands-on type of book. You get to build a project management application. In so doing you learn how to create user accounts, how to create page pagination, data sanitization, url routing, error handling, caching, language translations and how to create a role based access control feature for your application. Oh I almost forgot this one – you also get to observe how to customize the design of your application. After reading this book you will instantly become a master of the Yii Framework. There will be no project that you would not be able to execute.

    I give this book a rating of 5/5. I have rarely given any book this rating. This book is well written. It's an absolutely brilliant piece of work! I recommend it to every PHP programmer out there.

    Note that I purchased the e-book version of this book from the publisher's website - bit.ly/1conyG2.

    Displaying review 1

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $26.99
    Formats:  ePub, Mobi, PDF