70 likes | 182 Views
Web Applications. A Client/Server Computing Model. ( A Generic Diagram ). A State-less Environment. HTTP REQUEST. Client Computer Browser. (URL,Post,Get,parameters,..). Server Computer HTTP Service. HTTP RESPONSE. (XHTML,contents,...). S. Kwan. XHTML. Structure. Format. Content.
E N D
Web Applications A Client/Server Computing Model ( A Generic Diagram ) A State-less Environment HTTP REQUEST Client Computer Browser (URL,Post,Get,parameters,..) Server Computer HTTP Service HTTP RESPONSE (XHTML,contents,...) S. Kwan
XHTML Structure Format Content Style Sheets Dynamic HTML XML JavaScript & Document Object Model (DOM) Cascading Style Sheets (CSS) Extensible Stylesheet Language (XSL) S. Kwan
Web Applications Default Synchronous Processing Scenario A State-less Environment Client Browser (state A) HTTP REQUEST HTTP Server (state A) Client Browser (state B) HTTP RESPONSE New Page e.g. SJSU (state A + … = state B) S. Kwan
Web Applications Asynchronous Processing Scenario Client Browser (state A) REQUEST HTTP Server RESPONSE – New Page Client Browser (state B) REQUEST/RESPONSE Client Browser (state C) REQUEST/RESPONSE Client Browser (state D) Using XMLHttpRequest Object S. Kwan