AngularJS or JQuery?
My knowledge of AngularJS is limited, but if I am not mistaken it is a client-side application framework whereas jQuery is a JavaScript library, so they are very different and have very different use-cases (though are probably used together).
They do different things.
jQuery is a JS library that mainly does a couple of things:
Lets you stop worrying about browser quirks so much -- it provides consistent behavior even if different browsers have drastically different implementations of Javascript. This was a big problem in the past with Internet Explorer being so different from other browsers.
Lets you express complex actions more succinctly. jQuery, as a framework of sorts, encourages a very different coding style which is typically less verbose than raw JS. It's sort of like using ORM to access your database instead of writing raw SQL.
Angular is a more modern framework that goes even further and eliminates the need to write JS at all for a lot of functionality commonly needed for a web application. It's really useful for situations where you have a page loading complex data and changing constantly, etc.
This QA on SO is very valuable in moving from jQuery to AngularJS. http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background
The gist of it is: you can't think in jQuery terms, you think in application terms. In jQuery, you design and then augment the design to do things. In AngularJS, its pretty much exactly the opposite: you architect the solution then design the view based on an implementation.
Derokorian;11053393 wrote:This QA on SO is very valuable in moving from jQuery to AngularJS. http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background
The gist of it is: you can't think in jQuery terms, you think in application terms. In jQuery, you design and then augment the design to do things. In AngularJS, its pretty much exactly the opposite: you architect the solution then design the view based on an implementation.
Nice!