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:
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
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.
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.
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
– Through out the whole book, the same ‘way’ of presenting the content (How to do it… How it works… There’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 : http://link.packtpub.com/SOv7Qs
A sample chapter is available here for your preview , which your can download for free.