- 出版社: O'Reilly Media, Inc, USA; 1 (2013年4月19日)
- 平装: 196页
- 语种： 英语
- ISBN: 1449344852
- 条形码: 8601400897492
- 商品尺寸: 17.8 x 1 x 23.3 cm
- 商品重量: 318 g
- ASIN: 1449344852
- 用户评分: 分享我的评价
- 第62位 - 图书 > 进口原版书 > Computers & Technology（计算机与科技） > Networking（网络） > Network Programming
- 第156位 - 图书 > 进口原版书 > Computers & Technology（计算机与科技） > Networking（网络） > Internet, Groupware, & Telecommunications
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.
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.
I was especially disappointed with Chapter 4 which was just a dump of the code listings to a very simple app. Instead, it would have been better in tutorial style, building each controller, view and unit test one at a time. And, the sample was not even built with a yeoman generated app after spending half of the previous chapter expounding on how awesome yeoman is.
I don't know what is it about the angular.js community, but all the documentation seems to teach angular.js with seat of your pants examples instead of really getting down to how the framework works and building a more principalled description. I walked away from this book feeling like I didn't learn anything more than the tutorials on the official angular.js website, which itself is very sparse.
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.
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Networking（网络） > Internet, Groupware, & Telecommunications
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Networking（网络） > Network Programming
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools
- 图书 > 进口原版 > Reference（参考书）