The review is done :-)

As previously said I replied to the request of Jitesh looking for reviewers for the book Yii1.1 Development Cookbook and I have to admit that it is my first ‘official review’ for Packt. Main details about the book are:

  • Application Development Cookbook_Frontcover

    Application Development Cookbook_Frontcover

(Click here to get a sample of the book)

Pages : 392
Author: Alexander Makarov
Published by: PACKT Publishing
Total of chapters: 13

Since I have a project on which I can ‘test’ what was in the book, I did not read from top to down. In the preface you are warned 🙂 about what you need, which topics the book is covering and tools needed to test the recipes.

The book offers recipes grouped in 13 chapters as I said. I personally grouped them in four (4) categories


User interface

Chapter 3, AJAX and jQuery : you read about how to combine Yii with Jquery and Ajax

Chapter 7, Using Zii Components shows tips related to grids (how to customize them), sorting, lists, search, etc.


Data management
Chapter 4, Working with Forms: Work on your own validators, captcha, uploading files and get use to Cwidget.

Chapter 6, Database, Active Record, and Model Tricks is about all you need to know to work efficiently with models and/or databases.


Testing and Error handling

Chapter 5, Testing Your Application for using Yii with the agile methodology (unit testing, fixtures, etc.).

Chapter 9, Error Handling, Debugging, and Logging reviews good tips to know to handle better errors before  and once the project is launched.



Chapter 1, Under the Hood start the adventure by learning hidden secrets about Yii. You should be surprised by what you read here; I at least was.

Chapter 2, Router, Controller, and Views guides you on the path of understanding how Routing, controller and Views work.

Chapter 8, Extending Yii: you want to create your own extension, ok but how to do it in the professional way? Do take a look at this chapter.

Chapter 10, Security : avoid being part of the most wanted “crappy developers” by learning here how to prevent XSS, CSRF, etc. You can read also here about role-based access control.

Chapter 12, Using External Code : You like or need to use “Zend Framework”, “Kohana”, and “PEAR” ? Great after reading this chapter you should be happy.


After coding

Chapter 11, Performance Tuning All about best practices to have a “fast” application unless your aim to have users sleeping after clicking on a menu link :-).

Chapter 13, Deployment: being professional includes working properly in a team and have the project launched in a proper way. You will learn or review cool things here.



–      You can go straight to the point; you do not have to read one chapter after another before understanding what to do

–      Screenshots

–      Through out the whole book, the same ‘way’ of presenting the content (How to do it…  How it worksThere’s more and See also ) allows to quickly based on the title, identify the exact step you want to work on. You also have a section “Getting ready” telling you ho to set up the testing environment.


I spent days looking in vain for something to put here not because I know the author 🙂  (I wish I do) but because all I was looking for was in the book. Maybe by the end of my project I will have cons to post J.


The current version of the book is big enough to expect it to have all details about Yii. I want to thank Jitesh and Packt for this opportunity; I had fun doing this. I wish this is not my last review 🙂

More details about the book here :

A sample chapter is available here for your preview , which your can download for free.

4 thoughts on “The review is done :-)

  1. Awesome review. I have not read the book, but have been working with Yii for over a year. We have been working on a new open source CRM project that is written in PHP utilizing JQuery, Yii, and RedBeanPHP and relies heavily on test driven development. It might be one of the most complex projects on Yii to date. Might be interesting for you.

  2. Thank you so much for taking a look. If you want to install, here is a helpful link:

    I noticed that you created a Forums user, which is good because there is an Installation and Setup section. It’s interesting that you mention French translation because we completed it a month ago. It would be great to have you QA it and see if our French translator did a good job. We have completed German and Spanish. Let me know how the install goes.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s