- 出版社: O'Reilly Media, Inc, USA; 1 (2013年4月19日)
- 平装: 196页
- 语种： 英语
- ISBN: 1449344852
- 条形码: 8601200584806
- 商品尺寸: 17.8 x 1 x 23.3 cm
- 商品重量: 318 g
- ASIN: 1449344852
- 用户评分: 分享我的评价
- 亚马逊热销商品排名: 图书商品里排第1,241,602名 (查看图书商品销售排行榜)
AngularJS (英语) 平装 – 2013年4月19日
Brad Green works at Google as an engineering manager. In addition to the AngularJS project, Brad also directs Accessibility, and Support Engineering. Prior to Google, Brad worked on the early mobile web at AvantGo, founded and sold startups, and spent a few hard years toiling as a caterer. Brad's first job out of school was as lackey to Steve Jobs at NeXT Computer writing demo software and designing his slide presentations. Brad lives in Mountain View, CA with his wife and two children.
|5 星 (0%)|
|4 星 (0%)|
|3 星 (0%)|
|2 星 (0%)|
|1 星 (0%)|
I have been a reader of O'Reilly books from the 90s and the recent quality of their books have really gone down in quality. It seems like their editors have been on vacation for quite some time now.
Chapter 3 is outdated already, using the older "yeoman init angular" syntax rather than the newer "yo angular". It also fails to mention grunt and bower, two essential components of the new direction yeoman went in. Since it's an ebook I hope this would be updated in minor revision. Other than this chapter, the rest of book is pretty much completely up to date, and most of this chapter is still applicable, albeit with some slight syntax changes.
One mistake the book makes is the inclusion of RequireJS in chapter 3. It's a bit of a train wreck throwing that it before people have even learned AngularJS. For the life of me I can't understand why that wasn't in Chapter 8 instead. Way too many pages of fairly complex alternate boilerplate to enable RequireJS. I think the people who struggle with this book are being done in by this section. On the flip side, it is awesome that they did include this, and it's an interesting section.
It would also be nice if the book offered a few more conceptual diagrams - the diagrams are almost solely screenshots or code listings. For instance, the following Stack Overview response has some great diagrams for understanding AngularJS scope:
My suggestion: get the book, skip the RequireJS section on your first reading, and find an online tutorial that uses yo, grunt, and bower for supplement the other parts of chapter 3, and do the PhoneCat tutorial from the main site.
Chapter 3 is all about the authors' particular workflow. If you don't use that workflow, the examples are harder to follow. Keep in mind that this is an AngularJS book, not a "favorite workflow" book. When I downloaded the example code, they didn't work in the browser with MAMP running. Even if I'm not using Node or RequireJS or some other tool that isn't AngularJS, I should at least be able to fire up some examples that run locally with a JSON file for data. I'm trying to learn the software, not build Rome in a day. And would it have killed them to proofread the code snippets at little?
To add insult to injury, the writing style seems to be intended for people who already know how to use AngularJS. A beginner will have a very difficult time following along, even though the authors use the word "simple" a bunch of times. I got about half-way through before I accepted the fact that this book will not help me learn AngularJS. I'm sorry I wasted my money on it when I could have read a random bunch of blog posts for free and with better results.
So to sum up: this book isn't about AngularJS. It's about using AngularJS with the authors' favorite tools. It isn't written to clear up the confusing bits about AngularJS, the code snippets have typos, and the examples don't work out of the box.
I expected better from O'Reilly.