Ajax with jquery and grails

Post on 11-Jul-2015

12.227 views 0 download

Tags:

Transcript of Ajax with jquery and grails

   

Client-Server 2.0 using Jquery & Grails

Andrej Koelewijn

   

Browser are evolving

   

   

   

   

   

   

Javascript performance is improving

   

Tabs are running in separate processes

   

Browsers get process monitors

   

   

   

Support for graphics

   

Video

   

Database support

   

Development environment

   

   

   

Javascript libraries are booming

   

   

   

   

With cross-browser support

   

And effects

   

And tons of plugins

   

   

Example: accordion menu

   

   

   

   

Google gears

   

Pro's

Simple

Stateful frontend

Large number of components

UI server platform independent

Uses services

No design to implementation mismatch

Frontend knowledge: html, css, javascript

   

Cons

Security

Cross domain XHR

Support for graphics and annimation

Relatively modern browser required

Some cross browser issues

   

Conclusions

Building applications using clientside javascript is doable

Simple and very productive

Platform independent components big plus

Good fit with SOA