AngularJS


AngularJS
by 作者: Brad Green and Shyam Seshadri
Publisher Finelybook 出版社: O'Reilly Media; 1st edition (May 3,2013)
Language 语言: English
pages 页数: 196 pages
ISBN-10 书号: 1449344852
ISBN-13 书号: 9781449344856


Book Description
Amazon.com Review
Q&A with Brad Green,author of "AngularJS"
Q. What makes this book important right now?
A. Angular's popularity has increased dramatically this year. It's gone from being used by 作者: early adopters to mainstream deployments at big companies like Netflix,HBO,Morgan Stanley,Salesforce.com,Intuit,eBay,and,of course,google. We're hoping this book makes widespread adoption easier for individuals and whole teams wanting to experience the benefits of Angular.
Q. What information do you hope that readers of your book will walk away with?
A. We've focused the book on Angular's core concepts like data binding,dependency injection,and directives and explained how to use them to eliminate boilerplate,organize your code,and extend HTML's syntax to succinctly express the intent of your application. We also hope that we've shown how Angular makes it trivial to write and run tests as a core part of your development process.
Q: What's the most exciting thing happening in your space?
A. In general,we're excited that web development is moving from the wild west of hand-built applications to getting huge productivity gains by 作者: using a framework. In addition to the incredible apps folks are developing,we're very excited about the many developer tools and libraries created to work with Angular. Yeoman.io has AngularJS generators to automate your dependency management. Salesforce.com released an Angular-specific mobile development pack. BreezeJS provides rich database management capabilities. AngularUI ,KendoUI ,Wijmo,and many others have rich component libraries. We're excited to see what comes next.
Q. Can you give us a few tips to get us started with AngularJS?
Get used to writing tests early! We've made it easy and built the fastest test runner on the planet so you get instant feedback on changes to code.
AngularJS apps are structured differently from what you might be used to in jQuery. In Angular,you drive all UI updates by 作者: changing model data and binding part of your template appropriately. This includes hiding and showing parts of your app,switching views,and displaying any data.
For the best user experience,make sure you use ng-href,ng-src,and ng-img instead of href,src,and img in your templates. Without these,you may see side effects while the page is loading.
In Angular,there is no main method. Angular takes care of all application bootstrapping and assembling your application based on your specifications the template. If you find you really need to execute a function on load,you can do this through your application module's run() function. For example: var app = angular.module('myApp',[]); app.run(function() { // your initialization code... }

About the Author
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.
Shyam Seshadri is the owner / CEO of Fundoo Solutions (http://www.befundoo.com),where he splits his time between working on innovative and exciting new products for the Indian markets,and consulting about and running workshops on AngularJS. Prior to Fundoo Solutions,Shyam completed his MBA from the prestigious Indian School of Business in Hyderabad. Shyam's first job out of college was with google,where he worked on multiple projects,including google Feedback (AngularJS's first customer!),and various internal tools and projects. Shyam currently operates from his office in Navi Mumbai,India.

下载地址 Download
打赏
未经允许不得转载:finelybook » AngularJS

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏