Customer Reviews


27 Reviews
5 star:
 (10)
4 star:
 (10)
3 star:
 (5)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


8 of 8 people found the following review helpful:
4.0 out of 5 stars Has errors, But overall good book.
I was convinced by a friend to try out Yii about two weeks ago. Coming from knowing CakePHP, Yii was a lot different. I completed the blog tutorial but was still confused about many things and did not really feel like I knew what I did from the tutorial. So far the the other comments on this book are pretty close. My 2 biggest issues are typos/errors, and the code...
Published 15 months ago by Shawn McElroy

versus
21 of 21 people found the following review helpful:
2.0 out of 5 stars This book is a mess.
Sometimes I read a tech book there are a few annoying errors that detract from the overall experience, but this one, the errors are so many and so egregious that it makes it impossible to follow along unless you are already a very highly skilled developer and can 'guess' what was meant.

For example, the author uses the InnoDB engine for his code examples,...
Published 11 months ago by Phillip Glau


‹ Previous | 1 2 3 | Next ›
Most Helpful First | Newest First

21 of 21 people found the following review helpful:
2.0 out of 5 stars This book is a mess., February 14, 2011
By 
Phillip Glau "Phil Glau" (Los Angeles, CA United States) - See all my reviews
(REAL NAME)   
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
Sometimes I read a tech book there are a few annoying errors that detract from the overall experience, but this one, the errors are so many and so egregious that it makes it impossible to follow along unless you are already a very highly skilled developer and can 'guess' what was meant.

For example, the author uses the InnoDB engine for his code examples, but fails to declare this on several of his schemas. This causes big problems as mySQL ships with MyISAM as the default database. Normally, schema should explicitly set the engine, particularly if you're not going to use the default!! Perhaps InnoDB is the default on his database, but the reality is that most people will probably be learning this framework against mySQL. Hopefully you're experienced enough with databases to catch this and figure out why the code doesn't work. Once you get past this 'gotcha', then you have to deal with code errors in almost every other example. It completely undermines my confidence in this writer's ability to teach the framework and make for hours of frustration as you try to track down why things aren't working. The writer clearly is an expert in Yii, but he's not much of a writer or instructor.

Then there's the general spelling errors. It seems to get worse as the book goes on. I've got 10 bucks that says this book was turned in by the author and published without any editorial review or proofreading at all.

Perhaps it's just me, but the Chapter on User Access Controls seems to be missing an entire section that would make the example work. He builds some tests, then builds the code, but doesn't cover getting the initial state set for a user with 'admin' level access. Another word, you run the code, but there's no 'user' setup who can then access the admin level pages he just spent time testing and developing ??? Perhaps this was another example of where the author suggests that you try and figure x, y or z out on your own as an "exercise".

Here's an example of some inelegant prose; how many typos can you find in this short block (I cut-and-pasted it directly from the pdf version):

One other small change we made as to add a simple link from the project details page so we could access this form form the application. The following line was added to the project show.php view file's list of link options:
[<?php echo CHtml::link('Add User To Project',array('adduser','id'=>$model->projectId)); ?>]
This gives us access to the new form.


After that, I quit the book. Perhaps I'll be able to learn it better online.

I've read quite a few tech books over the years and this is a close contender for "Worst Book Ever". Unfortunately, it's the only book specifically on Yii right now. Hopefully the framework will continue to grow and somebody will write another one.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
4.0 out of 5 stars Has errors, But overall good book., October 27, 2010
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
I was convinced by a friend to try out Yii about two weeks ago. Coming from knowing CakePHP, Yii was a lot different. I completed the blog tutorial but was still confused about many things and did not really feel like I knew what I did from the tutorial. So far the the other comments on this book are pretty close. My 2 biggest issues are typos/errors, and the code examples. The errors, while obvious, didn't really distract from the learning. OK sure so a word was misspelled, but really you are going to give a book a lower rating for that? Most of these errors were in random words throughout the book and didn't really detract from learning anything. But, there are some pretty badly misspelled words that should have been caught.

My bigger issue was with the code examples. While much of the time they worked and served their purpose, they sometimes were wrong. And I would have to refer to the source code for the book to see what was wrong. So far the two worst are after getting the issues implemented with projects where updating an issue yielded in a broken page. Even the source code was broken. And the other was setting up a full login system. There are multiple authenticate() methods used over various classes and it get rather confusing. Some of the other methods do the same, as a method in another class which is also used in the authentication. I had to read the entire section 3 times before i said crew it and decided to move on, as the login process still worked. I would later go to the on line docs to read up on authentication. But I wanted to finish the book. Other than these, the book wasn't too bad. I did learn quite a lot about the framework. Though I still need to understand some of the finer things even more, I know that will come with experience.

Some things I liked about the book. Test Driven Development, while i was only vaguely familiar with the concept before, I now feel like I have a much better understanding of how it all flows together with application development. But I do still have questions. The book isn't designed to teach you how to be a pro at TDD but to teach you how to do it with Yii. So it will help if you know some about it, but like me, if you don't it will not hinder you. The book assumes you don't know anything about it. If you are familiar with TDD you can likely skip the intro section on it. But its uses with yii you might still want to skim just to see how it work in the framework.

The approach to the book is to build one functioning application, called track star. While this will help you see how an app is build from the ground up, this technique has its limits. But for this type of book I believe this was the better choice to the alternative of each chapter creating it's own application. Which I feel would be another good book for beginners. Though that information can be gathered from the on line documentation and various blogs as well.

All in all I felt as though the book was worth it to learn Yii. Do I think it could have been better? Most definitely. As with some books I want to keep them for reference and so people can see all the books I've read. This book however I wouldn't mind passing off to a friend who is trying to get into learning Yii. It's not really going to be a good reference book as the main idea is to build one application rather than one per topic/chapter so its post read value is small.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


13 of 15 people found the following review helpful:
3.0 out of 5 stars Decent book that have a lot of typos, October 5, 2010
By 
Quoc Doan "deviantprogrammer" (Golden State, America F yeah) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
Was pretty excited about this book because it's the only Yii book out there.

I'm up to chapter 8 so far.

Anyway, there are bunch of errors and certain system administrative encounters.

The skills require for this book are php5, OOP, LAMP skills, and google/stackoverflow/serverfault ninja skills. You would probably want some database design skills for just those foreign keys or at least a basic understanding but I think you can do without it.

Here's what I've encountered:
-PHP 5.3.3 They change the timezone and stuff. If you read the error carefully you can fix it by adding a line of timezone code in the yii file.
-Font Mistakes
-Code style and format is ugly. I mean seriously when I'm reading the book and there are if and else loop nested 3 times, the author doesn't really have a great coding style and the way it is layout in the book just makes it harder to read.
-typos in url and there are typos in code
-The SQL schema is also wrong because the way it declare the primary key will have mysql complaining, typo.
-I believe this is more of a software fault because the foreign complain unless you have the same datatype ie INTEGER and INTEGER instead of INTEGER and INTEGER(4). I've asked this on stackoverflow could be my mysql version.
-Did I mention the typo? Here's the worst lines I've came across: pg 129, with words like "thehe uof" and "conssue", yeah, gibberish that need editing. I know I'm pretty damn bad at grammar but seriously this is pretty bad.
-pg 163-164 for the UserIdentity::authenticate() It's really different. I've check version 1.1.1 and it's almost the same where as the version of Yii I'm using is 1.1.3. I've also checked with the source code and the code is different too! It's like a typo mismash with some other function login function in the LoginForm php file. I don't think it's important but still highlight the fact that this framework is constantly updating and the typo does add to the frustration.

What I find myself doing:
I find myself easily lost in the grand scheme of MVC. I dived into the chapters, implement the code and parts of the application and I easily get lost in the details. What I do after I finish each chapter is step back and print out the code and review it. I also have a pretty big white board to draw diagram of how the models, views, controllers relate to each other when I insert the codes. I review why does the author do this and what the hell is going on. I think this is the best approach, at least for me.

Oh, it takes the errata page forever to post errors. I've sent like 8+ errors and I don't see any of mine in there (4 ish months now?). Please check the errata page for any errors.

What this book needs:
-Editors and more diagrams.
-Perhaps be a bit more friendly with those that aren't good with LAMP stack or WAMP, if they want to broad out their reader base. I got my Lamp skills so I ain't complaining.
-Oh, it also need a new edition that isn't fill with typo.
-Get someone that knows nothing about Yii and get that person to sit down and try to learn the book. Whatever wtf questions, typos, and errors he/she encountered have that person write it down and fix it. Because when you know about a subject and write a book about it, sometime you tend to assume that they know what you're talking about or assume a certain thing and so you end up explaining very little. This is like assuming that the readers can read your mind. I think this is the hardest part for most technical books.
-I've seen all these positive reviews for packt because they have a program where if you have a blog they'll give you free pdf if you review their book. Those reviews are buncha yes people. I'm not even sure sometime if they actually go over page by page or if they just skim them. GET a real person that know nothing and is willing to learn it to critique it so you can have a better product.

Does the book get the jobs done?
Yes, only if you're willing to work your butt. If you encounter any typos or anything you better learn how to google, stackoverflow, or serverfault it (they're websites!). If you're going to get lost in the details then learn to code review and review the chapter you've just read. This doesn't hold your hand and it cannot explain every single details you're going to encounter that isn't Yii related, ie system admin stuff.

It would be a 4 star if it weren't for those combination of typos, errors, and hard to read code layout. I can understand little typos but seriously these typos are pretty major that contribute to errors.

I recommend this book, if and only if, you're willing to work at it and have the necessary skills.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
4.0 out of 5 stars Good YII Introduction, February 6, 2011
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
In my hunt for a PHP framework to utilize, other than my own, I stumbled across YII. YII, which stands for Yes It Is, is a high performance framework for PHP used to build powerful web applications.

Wanting to get up to speed fast, I purchased the book Agile Web Application Development with YII 1.1 and PHP5, written by Jefrey Winesett from Packt Publishing. My review here will be to access the writing of the book and not the framework itself.

To assist in learning YII, the author takes you through the building of a Project Management System called TrackStar. I have always thought that the best way to learn a new language or framework is to develop a real world application and this book didnt disappoint me in that area. However, it when it came down to the amount of typos and errata throughout the book. Being a PHP/OO programmer, I could understand the direction the author was trying to take, but inexperienced developers may not be able to do so.

PROS

* Easy to follow for beginning PHP developers
* Thoroughly explains Test Driven Development
* Good content

CONS

* Mispelled Words
* Some errors in the code examples
* Not good for a reference text

MY PERSPECTIVE

Overall, I think this was one of the best written PHP Framework books available (no matter the framework). I highly recommend this book to anyone who would like to get up to speed with YII; but going into the read, you must understand that the purpose is to get you up to speed quickly and not to serve as a complete reference.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
5.0 out of 5 stars Excellent reference, January 27, 2011
By 
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
I read some of the reviews here and I think people are forgetting that the Yii framework is relatively new, so there will of course be errata in the book.

The important thing about the book is that it exists. Period. The framework is really a robust one, but without a hardbound reference, I don't think I would have chosen to use Yii at all. Having this gives me a place to start. Without this reference, I couldn't have gotten the in-depth info on using the code generator (Gii); rule-based access control (RBAC), or the internals of the layout system.

Kudos to the whole Yii team for recognizing the importance of documentation. This book is a must for any one considering the Yii framework. And for anyone writing LAMP apps and not using a framework, heaven help you.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
4.0 out of 5 stars Excellent Hand-Holding tour Through Yii and Test-Driven Web-App Development, August 31, 2011
By 
Hobson Lane "--Hobs" (Kota Kinabalu, Malaysia) - See all my reviews
(REAL NAME)   
"Agile" is a great read for anyone developing a web-app using Yii. It holds your hand at nearly every turn, helping you construct a useful project management web-app using Yii 1.1. And it turns you loose on several side trips to pretty things up and exercise your new skills incrementally. Overall, it's probably the most efficient way to get started in Yii, because you're left with an excellent modular skeleton that you can transplant to any project you are dreaming up.
Unfortunately, the "Yii 1.1" caveat in the title should be a bit more precise "1.1.2" (as correctly called out on p 7). The text has not been updated for the useful changes in Yii immediately after release of "Agile", and perhaps because of the good ideas in the book. As I worked through the examples using Yii 1.1.8 I ran into headaches on about page 120, but head-ache remedies are readily available online at [...], [...], and eventually [...]. "Agile" has one other source of minor frustration that detracted from an otherwise 5-star rating. The formating of the code segments in the PDF file and some typos there prevented direct cut and paste without syntax debugging, line un-wrapping, and re-indenting. Otherwise you have to just type the code from scratch (as I did in many cases, to train "muscle memory"). Taking these detours into account, the read and work-through process can be accomplished by a Yii and MVC web app novice in two or three weeks, full time. And you will emerge a much more savvy Yii-ist.You'll have learned several patterns and tricks along the way that will inform your next web app architecture and may even copy over verbatim. If you're in a hurry you can even skip the "test before code" methodology examples, which might reduce your effort by more than 30%. I wrote all the test fixtures and procedures, and used them regularly, but it doesn't seem to me that they will shorten the entire design, development, debug cycle on a new web app.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
4.0 out of 5 stars Good Yii Overview but too much Unit Testing, September 2, 2011
By 
D. W. Miller, Jr. (Shawnee, Kansas USA) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
I've been programming for 30 years but never in PHP but decided to do my next project in PHP but feared the learning curve to do all the things I knew how to do as second nature in other platforms (e.g. ASP.NET, Classic ASP, iOS). Then I found Yii which seems to encompass everything I wanted (with its own learning curve).

The free Yii documentation is very comprehensive (although not proofed for English readers) and I was curious to see what additional information this book would provide. This book filled in many of the details that were left to the imagination in the docs and I found it an enjoyable read and a worthy addition for anyone trying to get their head around Yii.

However, although I understand it is good practice and should be encouraged, I don't know why unit testing was such a major portion of this book (so much so, that it should have been included in the title). In every chapter there were at least a half-dozen pages setting up unit tests. I would guess a third of the book was devoted to such repetitive exercises. It was a nuisance and almost religious. I just learned to skip over all those pages although code for the app is intermixed with the testing code. I would have MUCH preferred more Yii programming topics instead like more information and detailed descriptions on frequently-used components and helpers.

I've read this book twice now and reading reviews scares me because I'm only beginning to code now and it sounds like there are all kinds of gotchas with changes in the framework, mySQL engines, errata, etc. that may take hours to discover a work-around for each one.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
4.0 out of 5 stars A great book for learning Yii, January 29, 2011
By 
Ronald G. Ifferte (Coram, New York United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
If you are looking for a book to learn the Yii Framework - this is the only game in town. That being said, be thankful! The book was actually well paced and a very thorough introduction to the Yii Framework.

While the Yii team has a few walk throughs on their site ([...]), this book picks up where they leave off. I found it to be more detailed than what is online as it walks you through creating a semi realistic application from start to finish.

I took off one star for two reasons: there are a few glaring typos and I thought there should have been a brief introduction into some of the more advanced PHP constructs Yii uses. That being said, the book's forum (also on the Yii site) provides ample support if you run into an issue. I actually ran into one issue stemming from using a newer version of Yii than the book used. My answer was easily found, along with all of the other books errata.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
3.0 out of 5 stars Many errors and too much focus on testing, December 24, 2010
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
The book is written as a step-by-step guide creating a specific project and exploring the different features of Yii within that context. This does make it relatively easy to read and follow, but it's also rather annoying for an experienced programmer who only wants to know specific aspects of yii and how to use them and for the author to get write to the point rather than spend half of each chapter going on about testing (because that's literally what he does... the first half of every chapter he goes on about developing test cases, and in reality that's not how most would be developing in the real world). The book contains a huge number of errors and it doesn't seem like it's been proofread. For example there are glaring errors in some examples which certainly wouldn't make them work (e.g. developing recent comments widget). That is something easy to work around though. What's worse is when the book tells you to DO THINGS WRONG, that is in a way which there weren't designed to be done or follow bad programming practices... Biggest example of this is using static methods instead of what Yii refers to as Class Level Methods... You can read more on Models on the Difinitive Guide to Yii comments to find out how to do it properly. There also other examples of bad programming practices like prefixing all tables, etc.

However, this is the only book on Yii and it does seem to have a little more detail than some of the web material (which is more to the point though), so I'd still recommend someone new to Yii (especially if they're not experienced with OOP in PHP) to get this book as at the moment it is the only one out there. I hope in the next revision of the book they'll cut out the testing which takes half of the book and focus more on what people actually want and need to know. Might be able to fix the errors at the same time!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
5.0 out of 5 stars The best way to start using Yii, December 14, 2010
Amazon Verified Purchase(What's this?)
This review is from: Agile Web Application Development with Yii 1.1 and PHP5 (Paperback)
About a year ago I tried learning Yii just through online materials. I've never worked with a framework before, and struggled understanding it. I eventually gave up.

As soon as I learned there was a book available I decided to give that a shot. I now have a very strong understanding of Yii and have already built a fully-functioning website from it. The book does a great job explaining key concepts of the framework, which makes learning the rest on your own a breeze.

One problem with the book is the editing, there are a decent amount of typos and errors. I recommend checking out the official "Identified Issues" page on the official Yii forums, grabbing a pen, and fixing the errors yourself. Another problem is that sometimes the author adds new concepts into code examples, but does not properly explain them. But again, you can take it to yourself to browse through the Yii site or start asking questions on their forums.

Overall this a great book!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


‹ Previous | 1 2 3 | Next ›
Most Helpful First | Newest First

This product

Agile Web Application Development with Yii 1.1 and PHP5
Agile Web Application Development with Yii 1.1 and PHP5 by Jeffrey Winesett (Paperback - August 11, 2010)
$39.99 $33.94
In Stock
Add to cart Add to wishlist