JQuery, Angular JS and Java

Update: One main difference of Angular JS from Jquery is that Angular JS binds HTML elements and controls it in HTML/JSP file, with much less usage of the *.js ( javascript ) unlike Javascript with JQuery. Angular JS has additional attributes called Directives.

Angular JS – A new Javascript Framework that was launched last 2009. For some background, Javascript is a Client-Side scripting for websites. In layman’s term ( or just to make things easier to understand ), Javascript is used to manipulate the menus, buttons, and text fields in a website. Then JQuery comes in as an enhancement ( a set of JavaScript libraries / standard codes ) to encapsulate routine JavaScript code. JavaScript with JQuery creates a much better and code, and with lesser lines, than just JavaScript alone.

Then here comes Angular JS. Angular JS is a Framework. Its not an-add on Library unlike JavaScript. But first, Let’s differentiate a Framework from a Library. To start, a library is a set of additional instructions, mostly common functions that are simplified that are ready to use. Think of it as a set of tools in a tool box. Framework, as other developers say, is just the same as a Library. But then why is it called Framework? For example, Spring Framework as just a Spring Library? Well, I think here’s the difference. Yes a Framework is also a set of common used functions, but the difference is that a Framework is a built-in software platform that is used to enhanced software. Libraries may relate to tools, while Framework may relate to a simple mechanical machine. For example, you can use a pen, a paper and a cash box as a cash register. This is a similar concept of a Library. But then you use a cash register machine, which is a similar concept of a Framework.

Angular JS can write lesser code than JQuery. And Angular JS can do more stuff than JQuery, especially in the unit test area. These are the two main reasons why a lot of Software Developers / Companies are trying out Angular JS development. But other experienced developers are sticking to the JQuery, since Angular JS is not yet time tested. There are still some hesitations, but there is potential.

Here are some reference links on Angular JS:
– JQuery / Angular JS comparison

– Offical Angular JS page

– Angular JS and Java Backend intergration using REST

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s