Application Architecture
the way in which the functions of the application layer software are spread among the clients and servers in the network.
What are the five general functions of an application program?
Data storage, data access logic, application logic, presentation logic, and services logic.
Host-based architecture
An application architecture in which the server (or host computer) performs most of the work.
Client-based architecture
An application architecture in which the work is shared between teh servers and clients.
Cloud-based architecture
An application architecture in which the cloud provides services (software, platform, and/or infrastructure) to the client.
Thin-client architecture
Places little or no application logic on the client
Thick-client architecture
Places all or almost all of the application logic on the client.
Server farm
A cluster of computers linked together so that they act as one computer.
Software as a Service (SaaS)
A cloud computing model in which an organization outsources the entire application to the cloud provider and uses it as any other application that is available via the browser (thin client).
Multitenancy
rather than having many copies of the same application, there is only one application that everybody shares, yet everybody can customize it for his or her specific needs.
Platform as a Service (PaaS)
The organization manages the application and its own data but uses the database software (data access logic) and operating system provided by the cloud provider.
Peer-to-Peer (P2P) Architectures
All computers act as both a client and a server. Therefore, all computers perform all four functions: presentation logic, application logic, data access logic, and data storage
Infrastructure as a Service (IaaS)
The cloud provider manages the hardware, including servers, storage, and networking components. The organization is responsible for all the software, including operating system (and virtualization software), database software, and its applications and data.
Why are almost all new applications today client-server?
They provide the best scalability, or the ability to increase/decrease server capacity; they are the most reliably; they are the cheeapest.
What is the standard protocol for communication between a Web browser and a Web server?
Hypertext Transfer Protocol (HTTP)
What are the three parts of an HTTP request from a Web browser to a Web server?
1) The request line, which stards with a command, provides the Web page, and ends with the HTTP version number that the browser understands.
2) The request header, which contains a variety of optional information
3) The request body, which contains information sent to the server
What are teh three parts of an HTTP resposne from the server to the browser?
1) The response status, which contains the HTTP version number the server has used, a status code, and a reason phrase
2) The response header, which contains a variety of optional information, such as the Web server being used, the date, and the exacft URL of the page in the response
3) The response body, which is the Web page itself.
What is the most commonly used emails tandard?
Simple Mail Transfer Protocol (SMTP)
What are the two parts of an SMTP packet?
1) The header, which lists source and destination email addresses as well as the address itself, date, subject, etc.
2) The body, which is the word DATA, followed by the message itself.