Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Chapter 9 Comparing Web Technologies. Agenda Browser Hypertext Markup Language (HTML) Common Gateway Interface Web Application Server Plug-in.
Server-Side vs. Client-Side Scripting Languages
Chapter Concepts Review Markup Languages
ISYS 546 Client/Server Database Application Development.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Introduction to Web Base Multimedia Application. Web base application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
DT211/3 Internet Development Application Internet Development Application.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Chapter 14 Database Connectivity and Web Technologies
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
ECA 228 Internet/Intranet Design I Intro to the Web.
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
Client/Server Architectures
INTRODUCTION TO WEB DATABASE PROGRAMMING
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
Web Design Scripting and the Web. Books on Scripting.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Internet Applications Notes for Chapter 19 Digital Domain, 2 ed.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CIS 285 ROBINSON WINTER 2005 CIS 285 Web Application Development with Java CIS 285 Sinclair Community College Instructor: Mary Robinson.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Fundamentals of Database Chapter 7 Database Technologies.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Active Server Pages Server-Side Scripting and Client-Side Scripting.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
Introduction and Principles Web Server Scripting.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
DHTML.
Scripting - Client-side vs. Server-side Scripting
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
PHP / MySQL Introduction
Web Application Development Using PHP
Presentation transcript:

Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Contents Client-side Web application architectures Server-side Web application architectures n-tiered architectures.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Architecture On a client-side architecture any possible processing for the Web application is performed on the client's browser. The Web server only keeps the necessary files and downloads them to the the users side, when requested. This style of architecture is called thick client or fat client architecture. The client-side architecture can either be static, where the user can not change anything on the page, or interactive, where the page can react with the user's actions. The user can also interact with other types of client-side applications such as Java Applets, ActiveX, and Flash. All types of files and applications that interact with the user on the client-side are downloaded from the browser when the HTML page is downloaded.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Architecture Applications Popular applications of the client-side architecture are: –Static content: Basic information about a company or organisation, online catalogues, or personal Web pages. –Interactive marketing: The user can interact with the contents of the page; for example filtering and sorting tables. –E-learning: The user can access training courses, undertake interactive quizzes, or even learn how to cook. –Simple games: Games such as soccer, chess, cards, and other have been developed for the client-side.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Technologies Currently the most popular client-side technologies are: –HTML –CSS –Java Applets –JavaScript –XML –XSL –VBScript –ActiveX Controls –Flash –…

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Technologies: VBScript Microsoft Visual Basic Scripting Edition (VBScript) is a scripting language like JavaScript. VBScript is used in the HTML document in the same way as JavaScript, but is not as well supported by the browsers as JavaScript. VBScript is used more on the server-side scripting to form Active Server Pages (ASP).

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Technologies: ActiveX Controls ActiveX controls are applet components developed by Microsoft (therefore are only supported by Internet Explorer on Microsoft Windows systems). ActiveX controls are downloaded and installed on the client's computer and executed inside the browser. ActiveX provide advanced graphics manipulation and multimedia experience that HTML and JavaScript can not provide. ActiveX controls are built using Microsoft C++ or Microsoft Visual Basic.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Client-side Technologies: Flash Flash has been developed by Macromedia to provide impressive graphical display on a Web page. Flash requires the Macromedia Flash Player to be installed on the client's computer to be able to run. Flash is mainly used on front pages (welcome screens) of Web sites, or to provide demonstrations. Both Internet Explorer and Netscape support Flash.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Java Applets Vs Other Java Applets provide advanced graphics manipulation and multimedia experience that HTML and JavaScript can not provide. Java Applets are built using Java, developed by Sun Microsystems. Java Applets are well supported by browsers and platforms, therefore are more popular than ActiveX controls. Java Applets require the Java Virtual Machine to be installed on the users computer to be able to run. The Applets themselves are not installed. ActiveX controls usually perform better that Java Applets.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Advantages of Client-side Architecture Building client-side applications is relatively easier that building server-side applications. Client-side processing offloads the Web server. You don't need extensive programming knowledge to build simple client-side Web applications. There are many easy to use visual tools that can build entire Web sites. The Web application can be tested instantly without the need of a Web server. It can be easily hosted by third-party Web hosting services, because there are no applications needed to be installed on the Web server.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Disadvantages of Client-side Architecture Event with the latest standardised versions (by W3C) of client-side technologies, browsers from browsers still have differences on processing the Web page. A considerable of Web users still use old versions of browsers that do not support most of the new technologies. By using only client-side Web applications, data cannot be easily collected from the user (unless the user s the data to the server). The client's computer may cause all sorts of problems by being very slow or not having all necessary software and plug-ins installed. The only way the user can access data from the server is if the data is stored as an XML file.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Server-side Architecture You can build entire Web application using server-side technology only. When building server-side Web applications you can support any browser on any platform and you don't have to worry about the browsers differences. A server-side Web application performs all processing on the server and returns, to the user, HTML pages as the result. Because all processing is performed on the server and the user just displays the information without performing any logic or processing, the architecture is called thin client.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Server-side Architecture Applications Data collection: The user submits information to the server where is then processed and stored. Order processing: The user places an order and submits it to the server where his order is processed. Dynamically generated catalogues: Based on user's request the server dynamically generates an HTML page based on a catalogue. Dynamically generated status information: The server provides the user with an HTML page based the status of a process. Online bill payment: The user has the ability to pay bills without other human intervention. Data maintenance pages: The server provides the user tools to maintain his data, which is stored on a database.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Server-side Technologies HyperText Markup Language (HTML) Cascading Style Sheets (CSS) Common Gateway Interface (CGI) C/C++ Java Visual Basic Perl Active Server Pages (ASP) ASP.NET PHP Hypertext Processor (use to be known as Personal Home Page) JavaServer Pages (JSP)

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Advantages of Server-side Architecture Access to databases No browser compatibility issues. XML and XSL can be processed on the server side without warring about browser features. Processing can be done fast (as long as the Web server is a state of the art machine).

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Disadvantages of Server-side Architecture No client-side reactivity. Software applications (such as Internet Information Server or Apache) is required to execute server side components. The server may get overloaded with requests. Some times you need huge masses of data space to be able store user information.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Combined Architecture Combining the client and server side architectures can result in a very powerful Web application, as you can get the best from both. This type of architecture provides client-side processing for validation and interactivity and server-side processing for data entrance and dynamic creation of Web pages from databases.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Advantages of Combined Architecture Data can be validated before passed to the Web server. The validated data can be submitted and stored directly to a database. Data can be obtained from the database and dynamically create Web pages for presentation. Necessary scripts or client-side applications can be generated to the Web page and downloaded to the user. XML, XSL can be processed on the server before downloaded to the client's computer.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Disadvantages of Combined Architecture You need to be familiar with a wide range of client and server side languages, technologies, and techniques. Before you generate client side scripts on the server, you still need to know about differences on the Web browsers.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © n-Tiered Architecture A tier is a logically separated and encapsulated set of processes. There are three basic parts: –The user interface tier (representation layer). –The data tier (server-side component), which is the database data processed by the Web application. –The middle tier (middle-tier component), which processes complex business processing (usually place on a separate server called the application server).

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Middle-Tier Technologies The middle-tier application development is a separated and encapsulated set of processes usually related to business applications. The applications in the middle-tier are build as components which are accessed from the server-side components (data tier). Popular technologies for building middle-tier components are: the Component Object Model (COM) with C++ and VB, and the JavaBeans with Java The middle tier components are usually place on a separate server called the application server.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Advantages of n-Tiered Architecture The architecture and processing is more modular, which means that is easier to maintain and update. Is component based therefore you can build or buy third parity components that just plug into your application. The applications are usually compiled, therefore you gain performance. Components are reusable and can be used on other applications or by other organisations. You can control the load balancing of your application by splitting the functionality into tiers.

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Disadvantages of n-Tiered Architecture n-tier applications requite lots of design to ensure integrity between the tiers. It can become very expensive as it requires more development time and more physical resources. More and more technologies to learn…

Introduction to Web Application Architectures 18 th March 2005Bogdan L. Vrusias © Closing Questions??? Remarks??? Comments!!! Evaluation!