Web Architectures Today’s Lecture • Categories of Web Applications - Document Centric - Social Web - Semantic Web • Web Architectures - One-Tier Architecture - Two-Tier Architecture - Three-Tier Architecture - N-Tier Architecture Categories of Web Applications • Categories of Web applications depending on their development history and their degree of complexity. • Newer categories are generally more complex, as compare with the older categories. • Each category has its own specific fields of application. • These are Document-Centric, Interactive, Transactional, Workflow-Based, Collaborative, Portal-Oriented, Social Web, Ubiquitous, and Semantic Web. Categories of Web Applications Document Centric • Document centric web sites are the precursor to web applications. • Web pages are stored on a Web server as static. • Major benefit is the simplicity of such Web sites and short response time. • Examples are static webpage, company website, or simple web pages for small businesses. Social Web • There is an increasing trend towards a social Web. • People provide their identity to a community of others with similar interests. • Web pages serve the purpose of finding related interests, and people with similar interests. • Examples are weblogs, collaborative filtering systems, and virtual shared workplace. Semantic Web • Semantic web is easily processed by the machines, instead of human operations. • It is a collaborative effort led by W3C with participation from a large number of researchers and industrial partners. • Current developments, especially the increasing convergence of the TIMES industry applications (TIMES ---> Telecommunications, Information Technology, Multimedia, Education and Entertainment, and Security) belongs to the semantic web. • Examples are supply chain management, media management, and knowledge management. One-Tier Architecture • One-tier architecture has all the layers in a single machine. • It keeps all of the elements of an application, including the interface (presentation layer), middleware (application layer) and back-end data (database layer) in one place. Two-Tier Architecture • Two-tier architecture is divided into two parts: • Client Tier • Database Tier • Client tier handles both Presentation layer and Application layer. • Database tier handles the Database layer. Three-Tier Architecture • Three-tier architecture is divided into three parts: • Client Tier (presentation layer) • Application Tier (business layer) • Database Tier (database layer) • Client tier handles the presentation layer. Presentation layer passes data which is given by the user in terms of keyboard actions and mouse clicks to the application tier. • Application tier processes data received from the presentation layer and database layer. Application tier acts as an intermediary between the presentation layer and database layer. • Database tier stores and retrieves the information. N-Tier Architecture • In n-tier, "n" refers to the number of tiers being used. • It is also known as multi-tier architecture. • N-tier architecture usually divides an application into three tiers: • Presentation Tier • Logic Tier • Data Tier Summary of Today’s Lecture • Categories of Web Applications - Document Centric - Social Web - Semantic Web • Web Architectures - One-Tier Architecture - Two-Tier Architecture - Three-Tier Architecture - N-Tier Architecture