
Over 80 recipes to help you master using the Yii PHP framework
Alexander Makarov
Overview of Yii 1.1 Application Development Cookbook: RAW
- Learn to use Yii more efficiently through plentiful Yii recipes on diverse topics
- Make the most efficient use of your controller and views and reuse them
- Automate error tracking and understand the Yii log and stack trace
- Full of practically useful solutions and concepts that you can use in your application, with clearly explained code and all the necessary screenshots
This book is currently available as a RAW book. A RAW book is an ebook, and this one is priced at 40% of the usual eBook price. Once you purchase the RAW book, you can immediately download the content of the book so far, and when new chapters become available, you will be notified, and can download the new version of the book. When the book is published, you will receive the full, finished eBook.
If you like, you can preorder the print book at the same time as you purchase the RAW book at a significant discount.
Purchase Options
Your choices:
Buy the RAW version of this book immediately [ $21.59 | £11.39 | EUR 16.79 ] |
|
Buy the RAW version of this book and place a pre-order for the print book right now, with a 40% discount on both. [$ 48.59 | £ 28.19 | EUR 37.79 ] |
- Since a RAW book is an eBook, a RAW book is non returnable and non refundable.
- Local taxes may apply to your eBook purchase.
Chapter Availability
Chapter Number | Title | Availability |
1 | Under the Hood | IN THE BOOK |
2 | Router, Controller, and Views | IN THE BOOK |
3 | AJAX and jQuery | IN THE BOOK |
4 | Working with Forms | IN THE BOOK |
5 | Testing Your Application | IN THE BOOK |
6 | Database, Active Record, and Model Tricks | IN THE BOOK |
7 | Using Zii Components | AUGUST 2011 |
8 | Extending Yii | AUGUST 2011 |
9 | Error Handling, Debugging, and Logging | AUGUST 2011 |
10 | Security | AUGUST 2011 |
11 | Performance Tuning | AUGUST 2011 |
12 | Using External Code | AUGUST 2011 |
13 | Deployment | AUGUST 2011 |
- eBook available as PDF download


With the multi-format deal, you receive access to the book on PacktLib
for free.
PacktLib allows you to access and search across Packt's entire library of over 400 books, finding practical solutions to your searches at the click of a button.
[ Detailed Information ]
Language : EnglishPaperback : 300 pages [ 235mm x 191mm ]
Release Date : September 2011
ISBN : 1849515484
ISBN 13 : 978-1-84951-548-1
Author(s) : Alexander Makarov
[ Book Links ]
[ In Detail ]
|
When Alex told me he was about to write a Yii cookbook about a year ago, I was wondering how original it would be, considering the fact that there was already an online user-contributed cookbook (aka. Yii wiki). It turned out Alex produced a book that is not only full of wisdom about how to use Yii effectively, but also presented in such a systematic way that it can be taken as an essential companion book to the definitive guide to Yii. In fact, Alex has successfully intrigued the interest of every member in the Yii developer team when he asked for review and comments on his newly finished book chapters.
As the founder and the lead developer of the Yii framework, I feel this book is a must-read for every Yii programmer. While this book does not describe directly the rules set by Yii, it shows how to program with Yii from a practical perspective. People who are driven by tight project schedules will find this book very handy as it gives ready-to-use solutions to many problems they may face in their projects; people who are already familiar with Yii will also find this book very informative as most problem solutions given in the book can be considered as officially recommended because they have undergone thorough review of every Yii developer team member. Alex, through this book and his active participation in the Yii project, proved himself to be a great programmer as well as a good writer.
Qiang Xue
Lead developer of the Yii framework
Yii framework is a rapidly growing PHP5 MVC framework often referred to as Rails for PHP. It has become a solid base for many exciting web applications such as Stay.com and Russia Today's meetfriends.rt.com and can be a good base for your developments. Yii is an object-oriented, high-performance, component-based PHP web application framework. Yii is pronounced as Yee and is an acronym for "Yes It Is!".
Familiar with Yii and want to exploit it to its full potential, but do not know how to go about it? Yii 1.1 Application Development Cookbook will show you how to use Yii efficiently. You will learn about implementing shortcuts using core features, creating your own reusable code base, using test-driven development, and many more topics that will escalate your knowledge in no time at all!
Yii 1.1 Application Development Cookbook will help you learn more about Yii framework and application development practices in general with demonstrations of shortcuts and information about dangerous things you should not do.
Grouped in 13 chapters, the recipes will assist you to write your applications exploiting Yii core functionality to its full potential. The chapters are generally independent of each other and you can start reading from the chapter you need most, whether it is "AJAX and jQuery", "Database, Active Record and Model Tricks" or "Extending Yii". The most interesting topics include Yii application deployment, a guide to writing your own extensions, advanced error handling, debugging and logging, application security, and performance tuning.
Yii 1.1 Application Development Cookbook will help you utilize Yii functionalities completely and efficiently.
A practical cookbook on the Yii MVC framework covering the most important internal features of Yii and useful tips on Yii application development
What you will learn from this book :
- Make internal Yii features, such as events and collections, useful
- Get the maximum out of your Controller and Views and make them reusable
- Work with jQuery, JavaScript, and AJAX the Yii way
- Use "hidden" core Yii input widgets and write your own widgets
- Make your application error-free using the TDD approach
- Use Active Record efficiently
- Utilize Zii components such as grids and data providers
- Implement, package, and share your code as a reusable extension
- Automate error tracking and understand the Yii log and stack trace
- Keep your implementation secure, filter input, and escape output
- Tune your application for best performance and learn general performance principles and Yii-related settings
- Include non-Yii code, such as Zend Framework or PEAR, in your application
- Simplify team development and manage Yii configuration in a very efficient way
Approach
This book is a collection of Yii recipes with chapters generally independent of each other. It is full of practically useful solutions and concepts explained with code and the required pictorial illustrations.
Who this book is written for
If you are a developer with a good knowledge of PHP5, are familiar with the basics of Yii, and have tried to develop applications using Yii, then this book is for you. Knowledge of the object oriented approach and MVC pattern will be a great advantage as Yii uses these extensively.