The architecture of a web application

The architecture of a web application basically describes communication. i.e. How the client and server communicate with each other.

The basic difference between a website and a web application is website is a combination of static pages. But web applications generate dynamic pages.

A website becomes a web application when it contains both static and dynamic pages.

Simply we can say for a web application, A user interacts with the website then it interacts with the server, and all logic will be handled with the server. Depending upon the architecture server may be DNS(Domain name Server), database server, chat server, video server, etc.

A web application architecture has to deal with reliability, scalability, security, and robustness.

A web application architecture uses HTTP orĀ  HTTPS protocol. Here S is a secure server.

So, the steps will be.

  1. Enter the Domain name or IP address on the browser
  2. The web server will process the request. For process response, we can use several server-side languages like PHP, JSP, Python, .NET, C#, Ruby on Rail, etc.
  3. Bowser will display the response. Browser response will be always in HML format.

On the basis of the above discussion, we can draw a diagram of a web architecture like this.

So, the different layers of web architecture will be:-

The architecture of a web application

Presentation Layer:- it will be the client side which will be displayed through the browser. This layer will use HTML, CSS, JavaScript, etc.

Business Layer:- All business logic will define this layer. This layer will use anyone server-side language like PHP, JSP, C#, etc.

Persistence Layer:- All database-related servers will use this layer. We can use MySQL, NoSQL, etc. in this layer.

So, we can say web application uses three tire architecture.

Some other parts also web applications uses like API(third-party integration), and CDN(Cross-cutting code).

Read also:-

How to code a PHP application

you may learn more about the PHP web Architecture Manual

Share with:

Leave a Reply

Connect with:

Verified by ExactMetrics