0% found this document useful (0 votes)
37 views30 pages

Web Report 1

- Three-tier architecture organizes applications into presentation, application, and data tiers. The presentation tier handles user interface, the application tier processes data, and the data tier stores application data. - Client-server architecture consists of clients that request services from a centralized server. The server listens for client requests and provides relevant services. It is a widely used distributed computing model. - Web services are software systems that support interoperable machine-to-machine interactions over a network using standardized XML messaging. They allow applications to communicate and exchange data. - Software as a service (SaaS) delivers applications over the Internet as a service, freeing users from complex software and hardware management by accessing applications via the

Uploaded by

Saad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views30 pages

Web Report 1

- Three-tier architecture organizes applications into presentation, application, and data tiers. The presentation tier handles user interface, the application tier processes data, and the data tier stores application data. - Client-server architecture consists of clients that request services from a centralized server. The server listens for client requests and provides relevant services. It is a widely used distributed computing model. - Web services are software systems that support interoperable machine-to-machine interactions over a network using standardized XML messaging. They allow applications to communicate and exchange data. - Software as a service (SaaS) delivers applications over the Internet as a service, freeing users from complex software and hardware management by accessing applications via the

Uploaded by

Saad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Web Engineering

Asis Jamal
Three Tier Architecture
• Three-tier architecture is a well-
established software application
architecture that organizes applications
into three logical and physical computing
tiers: the presentation tier, or user
interface; the application tier, where data is
processed; and the data tier, where the
data associated with the application
Three Tier Architecture
Three Tier Architecture
• The Presentation tier - the part of the application which is
visible to the user; it enables the input of requirements and
the presentation of results.
• The Application tier (also functional) - the middle layer of
the model (middleware), it assures the calculations and
operations performed between input-output requirements
and data. Also known as the application server.
• The Data tier (also database) - the lowest layer of the
model, it ensures all operations with data, i.e. database
management system and basic data-base operations for
functional storage, selection, aggregation, processing,
integrity, and data audit.
Client-Server Architecture
• This pattern consists of two parties; a server and
multiple clients.
• The server component will provide services to
multiple client components.
• Clients request services from the server and the
server provides relevant services to those clients.
• The server continues to listen to client requests.
• It uses the concept of distributed computing
• It is most widely used distributed system
architecture
Client-Server Architecture
• A server is a machine which provide the services
to the clients
• Server is a machine that takes requests and
provide responses.
• There might more then one clients and server
machines in the network.
• Today most common example of server is web
servers that provide you web pages (works using
HPPT protocol).
• A server can also provide more then one services
at the same time
Client-Server Architecture
• Usage
– Online applications
– Email
– Document sharing
– Banking.
Client-Server Architecture

Figure 2.2: Client- Server Architecture


Web Service
• A web service is any piece of software that makes
itself available over the internet and uses a
standardized XML messaging system.
• A web service is a software system that supports
interoperable machine-to-machine interaction
over a network.
• Web services are open standard (XML, SOAP,
HTTP, etc.) based web applications that interact
with other web applications for the purpose of
exchanging data. Web services can convert your
existing applications into web applications.
XML Example

https://openweathermap.org/current#current_XML
Software As A Service
• Software as a service (or SaaS) is a way
of delivering applications over the
Internet—as a service.
• Instead of installing and maintaining
software, you simply access it via the
Internet, freeing yourself from complex
software and hardware management.
SaaS
• Instead of developing Software purchase
services from third party
• Like automate a university system, HR system
etc.
• Here we will move to a company that already
has solution to our problem
• It is normally paid and data is on cloud
• Common example Dropbox, gmail
Wamp / Xampp Server
• XAMPP is a completely free, easy to
install Apache distribution containing
MariaDB, PHP, and Perl.
• The XAMPP open source package has
been set up to be incredibly easy to install
and to use.
• Wamp Server is alternative to the Xampp
• Xampp Icon →
Place all of your files in the following
folder
After running Xampp
• Open Web and use the following URL:
• localhost/ filename
Access Database
• Write following URL to access PhP MyAdmin
for creation and deletion of database
• Use URL: http://localhost/phpmyadmin
• Screen the will show is available on the
next slide
PHP MyAdmin
Click on your database
Enter Table name and click on Create
Enter Table Column Names and Types

Click on Save Button at the bottom of the screen


After Table Creation
Insert in DB-Table

Click on Go at the bottom of this screen


Click on Browse
Go to Export Tab and Click on Export
Open exported file using notepad
Choose import tab and choose file
SQL Queries
• SELECT * FROM `first_table`;
• INSERT INTO `first_table`(`ID`,
`First Name`, `Last
Name`, `Address`) VALUES (2,'us
man','khan','Lahore');
SQL Queries
• SELECT * FROM `first_table` WHE
RE id='2’;
• DELETE FROM `first_table` WHERE
id='2';
Thank You!

You might also like