You are on page 1of 19

Introduction to Web Development

WEB PROGRAMMING

INTERNET
International network of computers  global system of interconnected computer networks that use the standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide  Network of networks


INTERNET
Carries a vast range of information resources and services  WWW world wide web  enabled or accelerated new forms of human interactions through instant messaging, Internet forums, and social networking


WORLD WIDE WEB


The set of computers on the Internet that support HTTP  Not a separate network


WHAT IS WEB DEVELOPMENT?


Term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network)  include web design, web content development, client liaison, client-side/server-side scripting, web server and network security configuration, and e-commerce development


THE WEB
Compose three major standards:  Hypertext Markup Language (HTML)  Hypertext Transfer Protocol (HTTP) and the  TCP/IP networking protocol suite

HTTP
The Hypertext Transfer Protocol  A client web browser sends a request for a resource to a web server, and the web server sends back a response.  textual description of a resource and additional header information


EXAMPLE OF A REQUEST
GET /index.html HTTP/1.0 From: hugh@computer.org (Hugh Williams) User-agent: Hugh-fake-browser/version-1.0 Accept: text/plain, text/html - Additional header lines identify the user and the web browser and define what data types can be accepted by the browser

A web browser makes a request and the web server responds with the resource

EXAMPLE OF A RESPONSE
HTTP/1.0 200 OK Date: Sat, 21 Jul 2002 03:44:25 GMT Server: Apache/1.3.20 Content-type: text/html Content-length: 88 Last-modified: Fri, 1 Feb 2002 03:40:03 GMT <html><head> <title>Test Page</title></head> <body> <h1>It Worked!</h1> </body> </html>

HTML
HyperText Markup Language  The language used to design web pages  Also know as the language of the internet  works well for structuring and presenting information using a web browser application


TCP/IP


an effective networking protocol that transfers data between applications over the Internet and has little impact on web database application developers

TYPICAL AREAS

Client Side Coding


Ajax Flash Javascript MS

Silverlight HTML CSS

TYPICAL AREAS

Server Side Coding


ASP Coldfusion CGI / Perl Groovy Java Lotus Domino PHP Python Ruby / Ruby on Rails Smalltalk SSJS Websphere .NET

STATE
Traditional database applications are stateful HTTP is stateless means that any interaction between a web browser and a web server is independent of any other interaction it is difficult to develop stateful web database applications

CLIENT TIER
usually a web browser presents data to and collects data from the user

MIDDLE TIER

serves most of the remaining roles that bring together the other tiers:
it

drives the structure and content of the data displayed to the user, and it processes input from the user as it is formed into queries on the database to read or write data adds state management to the HTTP protocol

middle-tier application logic integrates the Web with the database management system

WEB SERVERS
often referred to as HTTP servers. The term "HTTP server" is a good summary of their function:

their

basic task is to listen for HTTP requests on a network,


receive

HTTP requests made by user agents (usually web browsers), serve the requests, and return HTTP responses that contain the requested resources

You might also like