如何掌握AngularJS? [关闭]

2024-03-10

我对 AngularJS 还很陌生,我觉得它有点尴尬。简单的事情非常简单,但是高级的事情要困难得多(指令、提供者/服务/工厂......)

The 文档 http://docs.angularjs.org/api对于刚开始学习这些东西的人来说不是很有帮助;我发现自己不断地寻找我需要的指令,而不是自己编写。

I tried Ember.js http://emberjs.com/我用它提高了工作效率,但 API 仍在发生重大变化,所以我现在更喜欢跳过它。

有没有更好的资源可以正确进入 AngularJS?


这是我遇到过的最全面的 AngularJS 学习资源库:

AngularJS 学习 https://github.com/jmcunningham/AngularJS-Learning

挑选出最好的部分(按照推荐的学习顺序):

  • http://www.egghead.io/ http://www.egghead.io/- 一系列简短、切题的 AngularJS 视频
  • AngularJS 备忘单 http://www.cheatography.com/proloser/cheat-sheets/angularjs/- 定期更新备忘单[最新更新2013年2月13日]
  • 关于嵌套作用域 http://jimhoskins.com/2012/12/14/nested-scopes-in-angularjs.html- 指出使用范围时可能出现的问题 继承(参考一个很好的作者: Misko Hevery 你应该 也看)
  • 依赖注入 http://docs.angularjs.org/guide/di- 官方开发者指南 DI
  • 依赖注入 http://dailyjs.com/2013/05/23/angularjs-injection/- 有关 AngularJS 依赖注入的更多信息
  • “服务还是工厂?” http://iffycan.blogspot.com/2013/05/angular-service-or-factory.html- 各种类型之间的差异 提供者
  • 指令 http://docs.angularjs.org/guide/directive- 有关指令的官方开发人员指南
  • 指令 http://amitgharat.wordpress.com/2013/06/08/the-hitchhikers-guide-to-the-directive/- 该指令的搭便车指南
  • 项目结构 https://github.com/angular-app/angular-app- 看看这个应用程序
  • Angular-UI http://angular-ui.github.io/- 任何 UI 开发都必须使用组件
  • UI引导程序 http://angular-ui.github.io/bootstrap/- 从头开始​​ JS 重新实现 bootstrap 组件作为 AngularJS 指令
  • 使用 AngularJS 和 Karma 进行全谱测试 http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html
  • Bonus https://stackoverflow.com/a/9693933/1218080- AngularJS 中的数据绑定,由 Misko Hevery 本人解释。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何掌握AngularJS? [关闭] 的相关文章

随机推荐