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

Buy New

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

or
 
   
Trade in Yours
For a 2.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
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)
RRP: 27.99
Price: 25.69 & FREE Delivery in the UK. Details
You Save: 2.30 (8%)
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, 24 April? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition 17.50  
Paperback 25.69  
Trade In this Item for up to 2.00
Trade in Yii 1.1 Application Development Cookbook for an Amazon.co.uk gift card of up to 2.00, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more
There is a newer edition of this item:
Yii Application Development Cookbook Yii Application Development Cookbook 5.0 out of 5 stars (1)
27.99
In stock.

Book Description

25 Aug 2011 9781849515481 978-1849515481
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.

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: 77.27

Buy the selected items together


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: 653,283 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
0
3 star
0
1 star
0
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
Format:Paperback
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
Format:Paperback
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
Format:Paperback
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.

Summary
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
Format:Paperback
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
Format:Paperback
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
Format:Paperback
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
ARRAY(0xab5480f0)

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback