cs-2234 - lecture 1

Upload: wasim-ahmed

Post on 08-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 CS-2234 - Lecture 1

    1/16

  • 8/7/2019 CS-2234 - Lecture 1

    2/16

    History of Internet

    1950s and early 1960s

    Communication between stations on the samenetwork

    Terminals connecting to central mainframe via long

    leased lines

    Problem of connecting disparate type ofnetworks

    Need for Inter-networking

    Solved by Packet switching

    2CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    3/16

  • 8/7/2019 CS-2234 - Lecture 1

    4/16

    Transition Towards Internet

    TCP/IP (late 1970s)

    Term Internet first used

    Several Wide Area Networks based on TCP/IP

    NSN, CSNet, ESNet

    CSN

    et connected with ARPAN

    et (1984) Term internet came intro general use

    TCP/IP became worldwide

    4CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    5/16

    World Wide Web

    Need to uniformly access wide array of

    information Gopher, WAIS etc.

    Tim-Berners Lee at CERN created WWW in1989 based on hypertext

    A seamless world in which all information, fromany source, can be accessed in a consistent andsimple way

    Mosaic Web Browser & httpd Web Server

    5CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    6/16

    Model of WWW and HTTP

    6CS-2234 | Web Engineering

    client server

    request

    response

    Client Machine Host or Server Machine

    Governed by Communication

    Protocols

  • 8/7/2019 CS-2234 - Lecture 1

    7/16

  • 8/7/2019 CS-2234 - Lecture 1

    8/16

    Static Content

    Mosaic could fetch and view static documents

    and images served by the httpd server A static document is one that exists in a constant

    state, such as a text file that doesn't change

    8CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    9/16

    Need for Dynamic Content

    Glut of online resources soon made search

    engines necessary Process the data and provide appropriate content

    Extension of Web Servers by modifying the

    source code (impractical)

    NCSA developed the Common Gateway

    Interface (CGI) specification

    9CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    10/16

  • 8/7/2019 CS-2234 - Lecture 1

    11/16

    Server Side Technologies

    PERL Scripts to execute CGI Programs

    PHP (1995): Platform Independent Initially as a set of PERL scripts and later C

    implementation to replace PERL scripts

    ASP (1996): Platform dependent

    Integrated application execution directly into theweb server

    Java Servlets (1997) Platform Independent Server side Java Programs to extends web servers

    functionality

    11CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    12/16

    Server Side Technologies

    Java Server Pages

    Extension of Java Servlets

    Cold Fusion (1995)

    Initially Visual C++ based

    J2EE based

    ASP.NET (2002)

    Extension of ASP to .NET framework

    12CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    13/16

    Software Applications

    A Software application can be broadly divided

    into three layers User-interface (Presentation)

    Business Logic

    Database

    13CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    14/16

    Applying Software Application Architecture over Web

    14CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    15/16

    Web Application Architectures

    3-Tier Architecture

    N-Tier Architecture

    15CS-2234 | Web Engineering

  • 8/7/2019 CS-2234 - Lecture 1

    16/16

    Examples of Web Applications

    16CS-2234 | Web Engineering

    All kinds of business applications based on the model of web