First of
all, I’m going to tell you what kind of thing you are going to read. As an internet
user, you must have visited lot of responsive and dynamic web applications. Wait,
Have you ever notice, some applications only reload the required section and
remain other sections as it is rather than reload whole page. All you have
experienced with Gmail, PayPal etc. These applications are called Single Page
Application (SPA).They are developed by Angular. SPAs heavily use AJAX- a way
to communicate with back-end servers without doing a full page refresh to get
data loaded into application.
Angular is a
JavaScript based open source framework for building client-side web
applications. JavaScript process with dynamic content. Based on JavaScript ,
many custom libraries can be create and jQuery is one which is fast small and
feature-rich for DOM manipulation, event handling, animation and Ajax much simpler with an easy-to-use API. But
jQuery doesn’t have any proper structure and developer have the freedom for build
the project structure. When considering a large project it may easily fall into
trap of “spaghetti code” which leads to confusion of code maintainability.
Angular provides a structured environment to build SPAs.
|
Angular
|
jQuery
|
DOM Manipulation
|
yes
|
yes
|
RESTful API
|
yes
|
No
|
Animation Support
|
Yes
|
Yes
|
Deep Linking Routing
|
Yes
|
No
|
Form Validation
|
yes
|
No
|
2 Way Data Binding
|
yes
|
No
|
AJAX/JSON
|
yes
|
yes
|
Two-way
binding is when properties in the model get updated, so does the UI and When UI
elements get updated, the changes get propagated back to the model. Don’t get confuse
now you may experience it while coding. Angular community has decided to
consider any version of Angular (Angular 2 onwards) as just Angular and Angular
1 as AngularJS. Angular is normally called TypeScript based open source client
side web application by Google and community. TypeScript is a super set of Java
Script. Angular is completely rewrite of AngularJS. Now I guess you have a
depiction of Angular origination.