Case Study Dynamic Website - Three Tier Architecture

Slides:



Advertisements
Similar presentations
Vinotemp Online Store Presented by: Ken Hoang. Motivation To help the company selling its products online A part of my works.
Advertisements

Design of Web-based Systems IS Development: lecture 10.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
Complaint Desk Team 8. Introduction A web based system that records grievances. A web based system that records grievances. Users can report their grievances.
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.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
PHP Web Development, PHP Programming
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
Content Management Systems Week 14 LBSC 671 Creating Information Infrastructures.
Working with scripts. HTTP Was too limited Not dynamic.
Web Interfaces, Forms & Databases Databases Snyder p HTML Basics Snyder p JavaScript Snyder Chapter 18.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
A Genealogy System for the Web Matthew A. Page November 20, 2002.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
Web Architecture Introduction
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
PHP Introduction PHP is a server-side scripting language.
The basics of knowing the difference CLIENT VS. SERVER.
Invitation to Computer Science 6 th Edition Chapter 10 The Tower of Babel.
How Web Database Architectures Work CPS181s April 8, 2003.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Display Page (HTML/CSS)
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Online Voting System by Sanghun Chi ECE345. Introduction Traditional voting system inefficient. Takes time and human resources. Does not give an instant.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
Basics Components of Web Design & Development Basics, Components, Design and Development.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
Web Programming Building Dynamic Web Pages Adrian Shaw (ais) – 80% Jonathan Roscoe (jjr6) - 20%
The internet Zurich Water Game
Group 18: Chris Hood Brett Poche
Web Technologies Computing Science Thompson Rivers University
Introduction to Dynamic Web Programming
Web Application.
CSC 301 Web Programming Charles Frank.
Introduction to web development concepts
Web Design and Development
Content Management Systems
PHP / MySQL Introduction
Web App vs Mobile App.
Forms Processing and Server-Side Scripts
Database Driven Websites
Login & administration page
Web Browser server client 3-Tier Architecture Apache web server PHP
Web Systems Development (CSC-215)
PHP and Forms.
IntroductionToPHP Static vs. Dynamic websites
Architecture of the web
Web Technologies Computing Science Thompson Rivers University
UFCEUS-20-2 Web Programming
Client-Server Model: Requesting a Web Page
Web Servers (IIS and Apache)
Web Application Development Using PHP
Presentation transcript:

Case Study 2011 - Dynamic Website - Three Tier Architecture

Client Side v Server Side Client side e.g. JavaScript Tasks localized to users interface. E.g. image rollover or page transition effect. Server side script used to access server resources e.g. database or external files. Perform more sophisticated tasks e.g. store users shopping cart in a database. Available again the next time the user logs on, irrespective as to which computer. Majority of server sided scripts are related to either getting information from the user and saving it somewhere or retrieving information from somewhere and presenting it. The somewhere is a database.

Three Tier Architecture Software Dynamic Website Three Tier Architecture Software Client Side Software HTML Browser HTML + JavaScript PHP Server Side Software Unix Operating System or Linux OS Apache Web server PHP processor/interpreter Module Database Software MySQL Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server has been ported to Windows and other network operating systems (NOS). The Apache Web server provides a full range of Web server features, including CGI, SSL, and virtual domains. Apache also supports plug-in modules for extensibility. Apache is reliable, free, and relatively easy to configure. Databases Many dynamic websites have a database 'back end' that stores data that can be retrieved by the scripting language and written into the content of a page.  For example, a site that sells products probably has all of the details about products (product name, description, price, etc.) stored in a database.  When the ID for that product is passed in, as in the above example, the scripting language will look up all the details for that particular product in the database and place that information in the product details template before serving the file. PHP For this purpose, PHP code is embedded into the HTML source document and interpreted and executed by a web server with a PHP processor module, which generates the web page document. The PHP code is executed on the server, independently of the browser. It is open source, easy to use, powerful and allows for quick development. It also interfaces very well with MySQL which is also opensource. MySQL High performance, multiuser relational database management system. Widely used, think Google, Yahoo, Cisco, NASA & HP. Fast, reliable

What Happens MySQL Apache PHP SQL Query Web Browser Client Server Result Set Windows/Mac Unix/Linux 1. PC user opens web browser and enters URL for website. After establishing the domain the browser sends a HTTP request to the corresponding server IP address. 2. Apache web server handling HTTP requests for the domain notes the URL ends in a .php suffix. Server is programmed to automatically redirect all such requests to the php layer. The php interpreter receives the named file. 3. Interpreter parses the file and executes the code which is in php tags. If this code includes database queries the php interpreter opens the client connection to the MYSQL database and executes the code. 4. The results returned by the interpreter are transmitted to the web browser by the Apache Web-Server. Cut short, with respect to the given syntax or language (XML in this case), parsing is the action by which one can properly recognize/decipher/acquire the significant data (and commands) from a sequence, and then act on the particular data.

Three Tier Architecture Software Dynamic Website Three Tier Architecture Software Client Side Software HTML Browser HTML + JavaScript PHP Server Side Software Unix Operating System or Linux OS Apache Web server PHP processor/interpreter Module Extras Shopping Cart e.g. Zencart + Payment Merchant facility e.g. Nochex, Eway, Paypal. Database Software MySQL