Yii 1.1 Application Development Cookbook and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: 21.12

More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Yii 1.1 Application Development Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Yii 1.1 Application Development Cookbook [Paperback]

Alexander Makarov
3.5 out of 5 stars  See all reviews (2 customer reviews)
Price: 27.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 21 Aug.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition 17.50  
Paperback 27.99  
There is a newer edition of this item:
Yii Application Development Cookbook Yii Application Development Cookbook 5.0 out of 5 stars (1)
In stock.

Book Description

25 Aug 2011 9781849515481 978-1849515481
Over 80 recipes to help you master using the Yii PHP framework 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 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

Frequently Bought Together

Yii 1.1 Application Development Cookbook + Agile Web Application Development with Yii1.1 and Php5 + Web Application Development with Yii and PHP
Price For All Three: 80.97

Buy the selected items together

Customers Who Bought This Item Also Bought

Product details

  • Paperback: 392 pages
  • Publisher: Packt Publishing (25 Aug 2011)
  • Language: English
  • ISBN-10: 9781849515481
  • ISBN-13: 978-1849515481
  • ASIN: 1849515484
  • Product Dimensions: 23.5 x 19 x 2.1 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 645,903 in Books (See Top 100 in Books)

Product Description

About the Author

Alexander Makarov graduated from Voronezh State University in 2007 with a master degree in computer science. During his study, he started working on homegrown PHP frameworks and projects trying various design patterns and techniques. During the last year of his study, he spent a year working for Siemens mainly doing Java coding and complex SQL reports and also did many small and medium freelance projects in his free time. In 2007, he joined an outsourcing company, Murano Software, and had a lot of experience with web development in general, J2EE, PHP, and client-side technologies working on projects such as wrike.com and docufide.com. As in previous years he did some notable freelance jobs, including social network for Russia Today built with Yii in 2009 and heavy loaded NNM.ru portal in 2008. Between 2008 and 2010, he helped the Russian CodeIgniter community to grow and started actively to contribute to open source projects. In 2009, Alexander joined Yii camp and started growing the Russian Yii community, translated documentation into Russian and, since May 2010, has become a passionate Yii framework core developer. He has published several articles in Smashing Magazine and a lot more in his Russian blog http://rmcreative.ru/ and has presented numerous talks on Yii and web development in general at various conferences. Alexander currently resides in Voronezh, Russia, with his beloved wife and daughter. Besides the web, he enjoys movies, rock music, travelling, photography, and languages.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
1 star
3.5 out of 5 stars
3.5 out of 5 stars
Most Helpful Customer Reviews
5 of 6 people found the following review helpful
So I received my copy of "Yii 1.1 Application Development Cookbook" and I have been reading through it lately.

I decided to read it cover to cover, even though that is definitely not how it's supposed to be read. As it says in the title it's a cookbook which of course means that it provides you with "recipes" on how to overcome specific problems. Actually it doesn't even have to be a problem. It can be an optimization you would like to implement or the likes.

I must admit that I was initially a bit skeptic about its usefulness. After all, the Yii framework has pretty decent documentation as well as a cookbook on the site already, but already as I read through the table of contents of this book, I began to realize that a lot of the problems I was having when I was initially learning how to use Yii, were explained in this book. Things I had to ask about on the forum back then. There were answers to questions I'd never found an answer for and instead had to find alternative solutions.

But who should read this book? I would have to say it's for everyone who wants to learn about Yii. There are some nice, established guides on the Yii website that explains a lot of stuff about Yii, and you should of course read those first. But it's my experience that as soon as you start to play around and get creative, you soon run into a wall that blocks your path. These can be small things like how to use MySQL as your database or how to use multiple databases, but it can also be bigger things like parsing Markdown or HTML, or how to properly configure Yii to prevent certain attacks.

So can I recommend buying this book? Actually yes, I can.
Read more ›
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
2.0 out of 5 stars Too difficult to follow 20 Dec 2012
By Linda
Format:Paperback|Verified Purchase
I consider myself very technical but this book has beat me! I was looking to buy a book that would guide me though this complex topic but the book made me give up! I hope that this will not happen to anyone else.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.4 out of 5 stars  16 reviews
7 of 7 people found the following review helpful
3.0 out of 5 stars Good Yii Development Guilde 19 Sep 2011
By Trench - Published on Amazon.com
The Yii 1.1 Application Development Cookbook is the latest printed publication for aspiring Yii Framework developers. The book takes on a rich set of topics and demonstrates how to exploit the Yii Framework to increase development speed, reduce errors, improve security, and improve the feature set of web applications. The book covers underused core features, data integration, URL routing, AJAX, web forms, security, performance, UI widgets, testing models, extending the framework, and much more.

This book fills a critical gap in the learning cycle for the Yii Framework. It compliments the excellent online Yii class documentation and user guide with a lot of code examples that help the framework come alive. There is some good syntax and logic gems found throughout the examples that are helpful in fully leveraging Yii classes and conventions. I certainly learned a lot and will refer back to it often.

While the book is rich with information, the content organization is not ideal for a cookbook and makes it harder to use than necessary. This seems to be more of an intermediate Yii developers guide organized around core topics as opposed to a full inventory of functional recipes. I was hoping for something like the streamlined technology cookbooks that succinctly outline a problem, a solution, and an explanation. I find this book's content far too verbose, highly repetitive (e.g. instructions for creating a new "webapp" for every example), and not very consistent in language, completeness or code syntax. I found enough errors that it appears to have been rushed by the editors. I also don't understand the organization of topics. The topics are not methodically laid out in complexity or frequency-of-use order so it feels like we are taken on a wild ride of good learning without knowing if we missed something or fully understand where we've been.

Despite the structural problems, this is a good book if you are looking for Yii code examples to accelerate your learning. I recommend it for your development library because you will learn a lot, but don't expect a vast list of code recipes succinctly tailored to the task. This book did help our company leverage the framework for higher performance, security, and faster time to market for our web features. No doubt.
3 of 3 people found the following review helpful
4.0 out of 5 stars A Great Second Yii Book 18 Mar 2012
By Ronald G. Ifferte - Published on Amazon.com
I actually really liked this book. It is a cookbook - it is task based - and while on some subjects I disregard these types of books - this time it really works.

I will skip the summation of this book in deference to the other reviews and provide my list of good/bad points to consider:

The Good Parts
- The information builds on prior Yii documentation. It doesn't bother rehashing easily found info, but either presents a deeper insight or something else not documented well.
- It's a great partner to the other Yii book by Packt. While the other book is more theory, this is more rooted in practice.
- All examples bring you from start to finish and are clearly described.
- It shows how to actually use the framework rather than merely exhaling the API.
- It also explores some of the subtleties of the framework (ie console apps, things in PHP that are useful to a Yii developer).
- I loved the emphasis on testing (both unit and functional testing).
- It's written by a core contributor to Yii.

The Bad Parts
- The editing is poor at times, and can be distracting.
- It's not to be read cover to cover. I would familiarize yourself with the outline, and have it ready for a quick review when something specific comes up.

It's a great addition to your Yii library, but it should not be your first Yii book. You will need some experience with the framework to fully leverage the material in the book. If you are doing any Yii development, you owe it to yourself to read the book.
1 of 1 people found the following review helpful
4.0 out of 5 stars Essential reading for those who know the basics 16 May 2012
By ric bottomley - Published on Amazon.com
First off don't get this book is you don't already know anything about Yii. For this book to be useful you need to understand the basics of Yii, MVC and object orientated PHP.

However, if you can only afford to get one book buy this one over the Yii agile development book which is only about as good as the online documentation.

The writing isn't great but to be fair the book is very code orientated. The author is an active member of the Yii community and the book has been peer reviewed by the core developers.

After a few weeks with Yii you'll inevitably be asking yourself if you're doing things the 'right' way. That's when you need to buy and read this book.

Happy developing with Yii.
1 of 1 people found the following review helpful
5.0 out of 5 stars Perfect book for experienced PHP developer with gems of Yii 2 Mar 2012
By Kem Siro - Published on Amazon.com
When I start programming in PHP from pure HTML and pure PHP script, and later on with some frameworks in a year, I still do many redundant (and boring) things to solve similar problems in web programming. Then I get in touch with Yii through following the definitive guide, blog tutorial and the first Yii book. Then this book is the precious reference which not only calls out many problems that I faced before, even those problems I do not really realize (I solved them by just ad-hoc solution but still unsatisfied and the problems come back all the time), but also brings out the gems of Yii through thousands of "magic" code snippets. The author must have revised and improved these snippets and their associated explanations to end up with such high quality examples.

If you has gone through Yii for a while, and has some PHP experience before, this book is suitable for you (and the author also says that). I would like to say thanks to the author for his well-written book. Other readers who intend to buy this book should not pay their attention on the review commenting on the book's Russian author (who must be a PHP expert) and Yii's talented Chinese founder.
1 of 1 people found the following review helpful
5.0 out of 5 stars Good choice for putting together a solid web app 8 Nov 2011
By J. Garcia - Published on Amazon.com
I was recently doing some research on what were some of the best PHP frameworks available and came across Yii. I have some limited experience with another PHP framework called CodeIgniter. I am looking at rewriting a major website that I initially created without a framework back in 2003. Naturally considering how long these websites live, I wanted to get a framework that was robust with a moderate learning curve considering my very limited free time.

My perspective is one of a software developer with a strong PHP and Java background with experience using multiple web UI technologies. I am currently working on creating high traffic, enterprise mobile websites and was looking at Yii for all its features and best of all, for its performance, an area many frameworks don't emphasize. I am also interested in this framework from an architecture point of view as well. I read through this book noting examples of Best Practices from what I consider a top quality framework.

I purchased "Yii 1.1 Application Development Cookbook " by Alexander Makarov from Packt Publishing ([...]) and I wanted to give my review of this book.

This book uses its 13 chapters to cover all of the Yii topics that define a good framework such as: Ajax and jQuery, Working with Forms, Testing your Application, Database, Active Record, Error Handling, Security, Performance Tuning, Extending Yii, and using External Code. Each chapter stands on its own because it uses a "yiic" app generator command to create a fresh copy of a Yii application. I love this part of the framework because this app generator creates login page and a basic home page and if you've ever tried to start a new application the login page with one of the most important pieces of an app yet one of the most boring pieces to work on. Thank you Yii for making this part as easy as a 1 line command.

Since this book is a "Cookbook" style approach to using Yii to build wep apps, you'll find each chapter full of examples and each example uses the following sections to round out each example: Getting Ready (example setup), How to do it (main content of the example), How it works (content explanation) , There's more (where to go to learn more) , and See also (reference to related sections).

I was particularly impressed with how well jQuery was integrated in Yii. It was nice to see that a framework was created with client-side coding as a core feature not an after thought. The Ajax and jQuery chapter covers not only using the jQuery core JavaScript library but also how to register any JavaScript library including your own custom libraries. The examples are well designed and thoroughly walk you through how to implement each MVC component, creating the data model, the controller and the view components. Each chapter's examples use this approach and follow up with some helpful reference links for further reading as well as some sub-chapter references that point to related material for the example and are useful to add more clarity. The tasks that the examples are trying to solve are well thought out to cover multiple scenarios in detail. If needed, you'll have another section called "How it works" after each example to fully explain how the logic flow of the example.

Each chapter fully defines the subject matter with useful examples illustrating how Yii uses the "Configuration by Convention" model to build web application components. You won't find re-used examples from the API documentation, but rather real examples that you'll need to not only make top quality applications but also you'll fully understand how Yii works when you consider the reference material provided to augment the examples.

There were some areas that gave me some trouble in reading through this book. It seems this book does assume some level of knowledge of Yii because this book didn't explain Gii on its first mention. This will mean you will have to reference the Yii documentation to fill in any gaps if you are a pure newbie to Yii as I am, but it may be best if you start off with a starter book such as "Agile with Yii 1.1 and PHP5" by Jeffery Winesett to get a good foundation on Yii before learning some of these advanced topics that this cookbook covers.

Overall, I would recommend this book because if the excellent examples in each chapter, the complexity of the tasks that make up the examples and the complete coverage of the topics in all the chapters. I could get by with just this "cookbook" but I'd feel like I am missing something by not starting with a beginners book to learn the full breadth of Yii. In a pinch, this book can get you past your needed tasks.

If you are interested in viewing a sample chapter of this ebook one is available at [...]
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category