Why to use Ajax?
Mainly to build a fast, dynamic website, but also to save resources.
For improving sharing of resources, it is better to use the power of all the client computers rather than just an unique server and network. Ajax allows to perform processing on client computer (in JavaScript) with data taken from the server.
The processing of web page formerly was only server-side, using web services or PHP scripts, before the whole page was sent within the network.
But Ajax can selectively modify a part of a page displayed by the browser, and update it without the need to reload the whole document with all images, menus, etc...
For example, fields of forms, choices of user, may be processed and the result displayed immediately into the same page.
Site para copiar proyectos simples de Ajax, GWT, JSON, etc:
http://courses.coreservlets.com/Course-Materials/ajax.html
repositorio:
http://courses.coreservlets.com/Course-Materials/ajax-code/
No hay comentarios:
Publicar un comentario