如何掌握AngularJS? [英] How to master AngularJS?
问题描述
我对AngularJS还是很陌生,我觉得有点尴尬.简单的东西很容易,但是高级的东西要困难得多(指令,提供者/服务/工厂...)
I'm pretty new to AngularJS and I find it a bit awkward. The easy stuff is very easy, but the advanced things are significantly harder (directives, provider / service / factory...)
文档对于刚开始学习这些东西的人不是很有帮助;而且我发现自己一直在寻找自己需要的指令,而不是自己编写指令.
The documentation isn't very helpful for someone who's just starting to learn those things; and I find myself constantly searching for directives for things I need instead of writing my own.
我尝试了 Ember.js ,它的工作效率更高,但是API仍在进行重大更改,因此我现在比较喜欢跳过它.
I tried Ember.js and I was much more productive with it, but the API is still being changed significantly so I prefer skipping it for now.
有没有更好的资源可以正确进入AngularJS?
Are there any better resources to get into AngularJS properly?
推荐答案
这是我遇到的最全面的AngularJS学习资源库:
This is the most comprehensive AngularJS learning resource repository I've come across:
要挑选出最好的部分(按照推荐的学习顺序):
To pluck out the best parts (in recommended order of learning):
- http://www.egghead.io/-简短的系列介绍AngularJS视频
- AngularJS备忘单-定期更新备忘单[最新更新,2月13日, 2013]
- 在嵌套范围内-指出可能使用范围时的问题 继承(引用Misko撰写的很好的对话 也看)
- 依赖注入-有关 DI
- 依赖注入-有关AngularJS依赖注入的更多信息
- 服务还是工厂?" -各种类型之间的差异 提供者
- 指令-有关指令的官方开发人员指南
- 指令-该指令的旅行者指南
- 项目结构-签出此应用
- Angular-UI -必须使用组件进行任何UI开发
- UI引导程序-引导程序从头开始重新实现JS 组件作为AngularJS指令
- 使用AngularJS和业力
- 奖金-AngularJS中的数据绑定,由Misko Hevery自己解释.
- http://www.egghead.io/ - Series of short, to the point AngularJS videos
- AngularJS Cheatsheet - regularly updated cheatsheet [latest update 13th February, 2013]
- On nested scopes - Points out possible problems when using scope inheritance (references a good talk by Misko Hevery that you should also watch)
- Dependency injection - Official developer guide on DI
- Dependency injection - More on AngularJS dependency injection
- "Service or Factory?" - Differences between the various types of providers
- Directives - Official developer guide on directives
- Directives - The hitchhiker's guide to the directive
- Project structure - Check out this app
- Angular-UI - Must use components for any UI development
- UI-Bootstrap - From-scratch JS re-implementations of bootstrap components as AngularJS directives
- Full-Spectrum Testing with AngularJS and Karma
- Bonus - Data binding in AngularJS, explained by Misko Hevery himself.
这篇关于如何掌握AngularJS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!