1 / 7

Architecture of the web

Architecture of the web. Request. Response. Server. Client. retrieved or generated web page. Generate a request Manage loading of web content Translates Web Pages into DOM Render HTML, CSS, Images Renders SVG Graphics interpret JavaScript, VBScript

nolcha
Download Presentation

Architecture of the web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Architecture of the web Request Response Server Client retrieved or generated web page

  2. Generate a request • Manage loading of web content • Translates Web Pages into DOM • Render HTML, CSS, Images • Renders SVG Graphics • interpret JavaScript, VBScript • Manipulate the DOM using JavaScript, VBScript • Stores Cookies, Bookmarks, History, Form Data and local datastores using a database (SQLite) • AJAX requests using JavaScript, VBScript • Maintains “sandbox” security (SOP, CORS) • Interprets XML+XSLT • A container for video and audio codecs • A container for Java Applets Activities on the Client Client

  3. Listens for Requests • Loads modules in mods-enabled • Translates directory refs in sites-enabled (root directory for system and per-user web accounts) • Moves uploaded files into /tmp • Passes QUERY_STRING, par • Sends the output of the following • Requests files from the OS • Returns error page if the file is not found • Requests execution of CGI scripts by the OS • Interprets PHP • Logs web page access and errors • Requests JSP (Java) execution from a secondary server Activities On The Server Server

  4. Operating System: port 80 The Server DOES NOT talk directly to an SQL Database Engine!!! Communication with a database is done either through the PHP-MYQL library or through a library in some other server based language such as Java, Python, Ruby, PERL or some variation of C. All of the above can also talk to the OS to read and write files. The database does not have to be resident on the same machine CSS, Script, Images or other included files in a web page are loaded by the Client, NOT the server. Apache or IIS Server Activities On The Server mod-php5 mod-ruby mod-cgi jsp redirect

  5. Operating System: port 80 Request Apache or IIS Server n-Tier Client/Server mod-php5 mod-ruby Response mod-cgi jsp redirect Database Server JSP Server Local Database

  6. Request for file Request Interaction with the File System Apache or IIS Server File or Error code Request for Error Page PHP File request for include or data file handle PHP Output File handle Response mod-php5

  7. Library function call (Java, VB) using sockets for communication Interaction with the Database Result Set, record count or errror code library function call Apache or IIS Server Request with form data Result Set, record count or errror code mod-php5 Response Client

More Related