23ajax-2up - 23AJAX 14 Oct 2010 CSCC09F Programming on the...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
23AJAX 14 Oct 2010 CSCC09 Programming on the Web 1 23 AJAX CSCC09 Programming on the Web 1 Ajax RIA/Web-2.0 applications CSCC09F Programming on the Web 23 AJAX CSCC09 Programming on the Web 2 Traditional Web Application Model b The Web began with static content retrieved from the server, e.g. HTML, XHTML, JPG, PNG, etc. b next, dynamic server-side content was added using CGI (e.g. saxon.cgi) b for efficiency and scalability this evolved to server- side threaded models like J2EE with: Servlets, JSP, JDBC, DB, business apps b but in all cases still follow the pattern of client request, server response with a new page. c supports the familiar navigation (forward/back) among a set of Web pages b Anything wrong with this model? c How does it compare with non-Web app’s?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
23AJAX 14 Oct 2010 CSCC09 Programming on the Web 2 23 AJAX CSCC09 Programming on the Web 3 Traditional Web Apps b Traditional Web applications follow the underlying HTTP protocol model of request and response. b When the client application page makes a request it results in a new page being returned by the server, replacing the original page. b Client blocks while awaiting (synchronous) server response 23 AJAX CSCC09 Programming on the Web 4 Web 2.0, RIA (Rich Internet Apps) b RIA/Web-2.0 apps attempt to bridge gap between “native” (desktop) apps and traditional Web apps b Goals: c more interactivity (can achieve some of this with JS and the DOM without server-side interaction) c would like to achieve performance similar to native (desktop) applications b A major change is a shift from page-oriented interaction to “event-driven” programming where events result in updates to portions of pages.
Background image of page 2
23AJAX 14 Oct 2010 CSCC09 Programming on the Web 3 23 AJAX CSCC09 Programming on the Web 5 Ajax Use b Many mainstream apps now utilize Ajax to improve the user experience, e.g. GMail, Google maps, Google finance page, Yahoo search, Flickr b What is Ajax used for? c
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/09/2010 for the course CS CSCC09 taught by Professor Alan during the Spring '10 term at University of Toronto.

Page1 / 11

23ajax-2up - 23AJAX 14 Oct 2010 CSCC09F Programming on the...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online