Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
3.29/5 (3 votes)
See more:
Hey friends, I'm new to jquery, sometime ago I got to know about new Front End Language i.e. AngularJS. I just want to know which one is better to implement i.e. which one will enable me to write less and do more, which 1 is having more functionality, which 1 will consume less time to execute and which 1 is used by most of the people jquery or AngularJS...?
Posted
Updated 5-Nov-13 20:52pm
v3
Comments
Sergey Alexandrovich Kryukov 6-Nov-13 3:11am    
It might be not a correct question. Define "better". Better for what? The principles of these product are very, very different, so the purposes are also different. And looking at "most of the people" can be a great mistake. Do you really think that "100 million users cannot be wrong"?... :-)
—SA

Please see my comment to the question. It does not seem to be correct, by the reasons I tried to explain. I don't thing you can define a predicate "better" universally. Better for what?

So, I'll just give you a couple thoghts. First, read carefully and try to grasp the ideas:
http://en.wikipedia.org/wiki/JQuery[^],
http://en.wikipedia.org/wiki/AngularJS[^].

Here is what I think is the most important: despite the light weight of the products, they have very different philosophy. jQuery is more of a library. AngularJS is more of a framework: it is based on MVC, which is an architectural pattern:
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller[^].

That said, you will have to fit your application and even your way of thinking into AngularJS. It can be useful for you, especially if your own thinking requires some more discipline and less leading, and if you need to learn architectures, for example. In a striking contrast to that, jQuery can fit itself into anything. You need to choose what suites you the most. None of my considerations could be used for propaganda of one or another way. Apparently, the most influential factor would be the goals and character of your project. It may fit to one model, or another model, or both. And of course, "less time to execute" is not a factor at all, in most cases. It all happens on the client side and rarely is a bottleneck in performance.

And of course you should not look at what other users use. This is your site, and it means your software does not have to be compatible with anything except W3 standards. What you use is up to you. More importantly, your profession requires independent and critical thinking. 100 millions users can easily be wrong.

—SA
 
Share this answer
 
v2
Comments
Sampath Lokuge 6-Nov-13 4:17am    
+5,Nice one.
Sergey Alexandrovich Kryukov 6-Nov-13 8:55am    
Thank you, Sampath.
—SA
CPallini 6-Nov-13 9:32am    
5."100 millions users can easily be wrong"
That's epic (and true).
Sergey Alexandrovich Kryukov 6-Nov-13 9:36am    
:-)
Thank you, Carlo.
—SA
thatraja 6-Nov-13 10:53am    
5!
AngularJs and jQuery both have been developed on top of Javascript.

Let's take what says the creator of above libraries.

What is jQuery?

Quote:
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.


jQuery

Why AngularJS?

Quote:
HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.


AngularJs

So I can say that you can use AngularJS for develop MVC based Application such as SPA (Single Page Application).As an example Dash board Application or News site etc.But all other scenarios where you need to do client side stuff then you can use jQuery. Let's say for enterprise level application (as ERP) which it requires some async ajax call or UI popups or kind of scenarios.

You can check below mentioned link which I involved for ask about the applications which it suites for AngularJs.

Single Page Application for Enterprise Level Systems

I hope this will help to you.
 
Share this answer
 
It's up to you..
VB
Advancing from jQuery to AngularJS


Find out for both... jQuery - AngularJS

http://www.pro-tekconsulting.com/blog/advancing-from-jquery-to-angularjs/[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900