70 likes | 194 Vues
This comprehensive overview covers the Client/Server computing model in web applications, focusing on state-less environments that utilize HTTP requests and responses. It explores the process from a client browser's perspective, detailing the flow of requests (GET, POST) and responses (XHTML content, dynamic HTML) between the client and server. Additionally, the document highlights modern techniques such as AJAX for asynchronous processing, examining the JavaScript-based behavior of web applications while leveraging the Document Object Model (DOM) and Cascading Style Sheets (CSS) for improved content presentation.
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