Web Report 1
Web Report 1
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
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