13.07.2015 Views

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 2.1 – Ajax web application first example2.2.2. Characteristics of Ajax ApplicationsEarlier on, Ajax was defined as a technology that "builds on standard web technologies to delivera rich, responsive, user experience". The characteristics here are intended as a general guide,but not hard-and-fast rules, for what constitutes an Ajax application.Applications, Not Just Web SitesThese days, you'll hear a lot more about "web applications" or "webapps" than about "web sites."Driving many modern web projects is the perspective of the browser as a platform and the Webas an operating system. Ajax can really be applied to anything running inside a browser and ithelps keeps users engaged and productive.Smooth, Continuous InteractionTra<strong>di</strong>tional web sites make you submit a form, wait a few seconds, watch the page redraw, andthen start the whole cycle again. That's because the tiniest server interaction, and even thetiniest <strong>di</strong>splay change, requires a call to the server, and then a complete page refresh. Ajaxchanges the model in a few ways. First, JavaScript running inside the browser can manipulatethe <strong>di</strong>splay <strong>di</strong>rectly you don't have to send a whole new page from the server in order to hide anelement or rearrange the page. Second, server interaction can be handled via JavaScript, so youcan upload user commands and download new information without any page refresh. Third, useractions such as mouse clicking and typing can be handled by JavaScript, so the interaction is alot richer than just filling in a form and hitting Submit. All of these enhancements make Ajaxinteraction feel faster and more continuous.Live9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!