UFCEUS-20-2 Web Programming

Slides:



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

UFCE8V-20-3 Information Systems Development 3 (SHAPE HK)
1 Database Driven Web Application Clients Application Servers including web servers Database Server Traditional client-server (2-tier architecture): client:
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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Multiple Tiers in Action
Lecture 4: Introduction to PHP 3 PHP & MySQL
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.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
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.
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.
DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.
Chapter 7 Problem & Cases
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
Introduction to Internet Programming (Web Based Application)
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Case Study Dynamic Website - Three Tier Architecture
By Bearzx Dive Into Web Introduction To WEB
Web Architecture Introduction
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.
PHP Introduction PHP is a server-side scripting language.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
Presented by: K.AMARNATH Ht.no:10841f0045 Guided by: T.Suneetha.
Software Testing Training Online. Software testing is ruling the software business in current scenario. It provides an objective, independent view of.
2nd year Computer Science & Engineer
3-Tier Architectures (or 3-Tier Applications)
Introduction to Oracle Forms Developer and Oracle Forms Services
Web-based Software Development - An introduction
Business System Development
Top 8 Best Programming Languages To Learn
Physics validation database
Web Application Components
N-Tier Architecture.
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
The Client/Server Database Environment
Introduction to Oracle Forms Developer and Oracle Forms Services
Relational database and SQL MySQL LAMP SQL queries
Introduction to Oracle Forms Developer and Oracle Forms Services
Platform as a Service.
MVC and other n-tier Architectures
The Client/Server Database Environment
The Client/Server Database Environment
Chapter 9: The Client/Server Database Environment
Multitier Architecture, MySQL & PHP
Introduction to J2EE Architecture
PHP / MySQL Introduction
#01 Client/Server Computing
Prepared and Compiled By: Nhurendra Shakya
Web Browser server client 3-Tier Architecture Apache web server PHP
Oracle Architecture Overview
Lecture 1: Multi-tier Architecture Overview
Architecture.
Database Software.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Architecture.
IntroductionToPHP Static vs. Dynamic websites
Web Servers (IIS and Apache)
Web Application Development Using PHP
#01 Client/Server Computing
Presentation transcript:

UFCEUS-20-2 Web Programming Multitier Architecture, MySQL & PHP

Multitier architecture : In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client–server architecture in which presentation, application processing, and data management functions are logically separated. For example, an application that uses middleware to service data requests between a user and a database employs multi-tier architecture. The most widespread use of multi-tier architecture is the three-tier architecture. N-tier application architecture provides a model by which developers can create flexible and reusable applications. By segregating an application into tiers, developers acquire the option of modifying or adding a specific layer, instead of reworking the entire application. Three-tier architectures typically comprise a presentation tier, a business or data access [logic] tier, and a data tier. (Wikipedia : Multitier Architecture)

3-tier architecture (application view)

Advantages of the 3-tier architecture approach : the ability to separate logical components of an application ensures that applications are easy to manage and understand. i.e. experts can be employed that specialise in one of the layers e.g. user interface design because communication can be controlled between each logical tier of an application, changes in one tier, for example, the database access tier, do not have to affect the client component i.e. a change from one DBMS to another would only require a change to the component in the data access layer with little or no effect on the business/logic (middle) or UI layer. specific tools and technologies suited to each layer can be deployed (and may evolve at a different pace) .

Typical web-oriented 3-tier architecture

Web-oriented 3-tier architecture: tools & technologies Presentation tier – Browser / custom client, Client Side Scripting (JavaScript, ActionScript, VBScript etc.), Applets. Logical Tier – Web Server (Apache, IIS, Websphere etc.); Scripting Languages (PHP, Perl etc.), Programming Languages (Java, C, C# etc), Application Frameworks (Ruby on Rails etc.) Data Tier – Database Management System (DBMS) (Oracle, MySQL, SQL Server, DB2 etc.), XMLDB

MySQL in the persistence / data tier : Open Source (relational) database server - Runs on many platforms (Unix & Windows) Networked server – no fancy GUI like MS Access. - You can find clients (such as phpMyAdmin) that provide a GUI. Great for small, medium to large-sized applications (ebay, amazon, facebook etc. all make use of it)

MySQL in the persistence /data tier : MySQL Strengths High performance benchmarks very well against commercial dbs Low-cost no cost under open source licence Easy to configure and learn easy to set up, SQL compliant Portable Linux, Unix and Windows versions Open Source source code is available for modification

A MySQL client written in PHP Via a browser you can : Manage Databases Manage MySQL users Create tables, add/edit/delete data, browse data Submit queries (SQL) Import and Export tables A great way to learn SQL!