Review: Errata and Resolution for Web Application Development with Yii and PHP

Yii Framework is one the best framework in PHP space on Web Application Development & Console Application Development besides Zend Framework and CodeIgniter Framework.

When you’re beginning to learn Yii Framework, you need a good starting point to understand Yii Framework and its capabilities.  To fulfill this requirement, Jeffrey Winesett has written a book “Web Application Development with Yii and PHP”, published by PacktPub.  If I say in one line -

Nicely gathered, articulated, structured, and provides an insight of Yii Framework

Book Details

yiiTitle: Web Application Development with Yii and PHP
Language: English
Paperback: 332 pages
Release Date: November 2012
Edition: Second Edition
ISBN: 1849518726
ISBN 13: 9781849518727
Author: Jeffrey Winesett


Errata And Resolution

I got an opportunity to review “Web Application Development with Yii and PHP” book and observed few errata. I’m presenting that errata and its resolution here that will help readers in a best way.  However, I’m not going to repeat [no point in doing that :)] an errata details which are already covered at Found Errata.

Useful Reference: Code sample used in the book with few correction can be found at YiiBook – TrackStar Code


Note: Page No mentioned below as per eBook

Chapter 5 – Managing Issues at Page No 98

Migration script create create_issue_user_and_assignment_tables has incorrect foreign-key column name error.

Incorrect:

Should be:

 

Chapter 8 – Adding User Comments – Page No 218

Class name is incorrect, it also important this class error affects many places across book [where comments widget is used]

Should be:

 

Chapter 8 – Adding User Comments – Page No 220

Referred Widget name is incorrect:

Should be:

 

Chapter 8  Adding User Comments – Page No 221

Referred Widget name is incorrect:

Should be:

 

Chapter 11 – Using Yii Modules – Page No 274

Highlighted code has typo mistake of closing bracket:

Should be:

 

Chapter 11 – Using Yii Modules – Page No 279

Migrate command is missing create keyword, incorrect:

Should be:

 

Chapter 12 – Production Readiness – Page No 314

Comments widget name is incorrect:

Should be:


Conclusion

Book “Web Application Development with Yii and PHP” absolutely provides an insight, structured guidance for beginner to take advantage of Yii Framework.

PS: I have captured all the errata I come across, I might have overlooked some pages. If you have come across any leave a comment here, I will update this article.