应该学会不jQuery的angularjs? [英] Should learn angularjs without jQuery?

查看:148
本文介绍了应该学会不jQuery的angularjs?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手与客户端JavaScript。在一个web项目,我发现了大约angularjs并使用一些基本的这一点。我应该学习jQuery或只使用Angularjs用于​​其他项目呢?

I am newbie with client-side JavaScript. In one web project, I found about angularjs and use some basic on this. Should I learn jQuery or just use Angularjs for other project?

推荐答案

虽然学习AngularJS这是最好的的包括jQuery的。请注意,我说的是学习过程在这里,不是说你不应该在你的最后一个项目使用jQuery。

While learning AngularJS it is best not to include jQuery. Please note that I'm talking about the learning process here, not saying that you shouldn't use jQuery in your final project.

的理念和这两个库UI施工方法(声明AngularJS和jQuery的当务之急)是如此不同,你需要以某种方式忘掉许多jQuey习惯以获得大部分AngularJS的。

The philosophies and approaches of both libraries to UI construction (declarative AngularJS and imperative jQuery) are so different that you need to somehow unlearn many of the jQuey habits to get most of the AngularJS.

在学习过程中离开了jQuery将逼你拥抱way.When你有AngularJS的充分掌握,你就可以开始只在指令引入的jQuery的的AngularJS 的。

Leaving out jQuery during the learning process will "force" you to embrace the AngularJS way.When you've got full grasp of AngularJS you can start introducing jQuery in directives only.

有关该主题的更广泛的讨论请参见<一个href=\"http://stackoverflow.com/questions/14994391/how-do-i-think-in-angularjs-if-i-have-a-jquery-background\">How做I&QUOT;认为AngularJS&QUOT;如果我有一个jQuery的背景但在短:

For the broader discussion of the topic see How do I "think in AngularJS" if I have a jQuery background? but in short:

开始学习AngularJS不包括jQuery的

这篇关于应该学会不jQuery的angularjs?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆