Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.

Slides:



Advertisements
Similar presentations
Lecture plan Information retrieval (from week 11)
Advertisements

1 CGICGI Common Gateway Interface Server-side Programming Lecture.
DT228/3 Web Development WWW and Client server model.
Server-Side vs. Client-Side Scripting Languages
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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
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.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Apache Tomcat Server Typical html Request/Response cycle
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Introduction to Web Interface Technology (CSE2030)
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
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)
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Web-based Software Development - An introduction.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
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.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Chapter 1: Introduction to Web
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)
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
20-753: Fundamentals of Web Programming 1 Lecture 1: Introduction Fundamentals of Web Programming Lecture 1: Introduction.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Web Interfaces, Forms & Databases Databases Snyder p HTML Basics Snyder p JavaScript Snyder Chapter 18.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Web Development Process The Site Development Process Site Construction is one of the last steps.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
Introduction and Principles Web Server Scripting.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
CS320 Web and Internet Programming Introduction to Web Application Development Chengyu Sun California State University, Los Angeles.
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.
CX Introduction to Web Programming
Web Programming Language
Scripting - Client-side vs. Server-side Scripting
Chengyu Sun California State University, Los Angeles
Section 6.3 Server-side Scripting
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Web Application.
AJAX.
PHP / MySQL Introduction
Web App vs Mobile App.
Lecture 1: Multi-tier Architecture Overview
Web Application Development Using PHP
Presentation transcript:

Web Technologies Lecture 8 Server side web

Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web browser. Server-side code executes on the web server, usually within a web application environment, which in turn generates HTML to be viewed in a browser. Note: material adapted from – –

Client-server interactions

Client or server side? Determining factors: – Performance: Responsiveness, speed, reliability Ability to handle a large number of simultaneous users – Functionality: Simplicity of use and maintenance, Breadth of user options Ability to handle multiple simultaneous transactions – Security: Desktop security Server security Database security Network security

Examples Code that runs on the server that interprets every mouse move and keystroke is clearly undesirable – terminal to mainframe paradigm On the other hand, one does not want to download an entire product database to a browser and then run code that searches for the products. Server side forms have direct access to active code and perform more reliably – On the other hand they are more prone to slowdowns due to the server/network congestion

Client side vs. server side strengths Client-side coding advantages stem from its location on the user desktop and/or other end device. They include the following: – Interactivity (e.g., mouse and keyboard handling) – Handling of user interface controls: buttons, textboxes, etc. – Feedback and validation Server-side strengths include stem from their proximity to the backend business databases and other applications. They include the following: – Direct information access, retrieval, processing and storage facilitate e-commerce, reservations, shipment tracking etc. – Central repository of added web features such as , chat and multimedia streaming – Security and authentication (mostly)

Server Side Technologies Server-side technologies – numerous and diverse Popular server side web application technologies: – Microsoft ASP/.NET – Java server technologies such as J2EE, JSP, and servlets – CGI / Perl – PHP – ColdFusion

Server Side Technologies Server-side technologies also include database systems – Oracle, SQL Server (Microsoft), MySQL (open source) and many others DB systems are indispensable part of server side operations – some DB software providers, such as Oracle are combining web application functionality with their core database functions

Server Side Technologies The “core” server side application development platforms can retrieve, modify and query the contents of databases through their own access mechanisms: ADO.NET for Microsoft’s.NET platform enables access to almost every existing database platform PHP enables direct access to many existing DB platforms – MySQL, Oracle, SQL Server, MongoDB, etc.

Server-Side Programming Lots of programs/applications designed to run on the machines on which they are installed How can a remote client request access to these?

Rich Internet Applications Web applications that provide the client with the features and functionality of desktop applications Require transferring the processing from the server to the client Javascript is one enabling technology for a RIA

RIAs in the Internet client-server model Client (browser) Web server Client does all the processing (eg play videos as they come in) Data (eg multimedia) stay on the server HTTP request for resource Server sends code but keeps data

Some technologies that support RIA development Javascript (and associated ECMA dialects) Adobe Flash  Flash player and IDE Java Applets and Java Webstart AJAX  Asynchronous JavaScript and XML

CGI programming CGI  Common Gateway Interface  A protocol for interfacing local applications with a web server Sequence of steps  Client sends URL request  Program runs at the server side  Output is collected and sent back to the client  Often the output is an HTML “built” by the server

CGI programs can be written in any language supported by the server. This includes compiled programming languages, such as C and C++; interpreted languages, such as Perl, Python, Ruby, and languages, such as Java, that lie somewhere in between. CGI programming

What’s next? REST and SOAP Web services Cloud computing