Client Server Architecture: Model Client server architecture is classified into three types, as follows.
1. Single Tier Architecture
2. Two Tier Architecture
3. N/Multi/Three tire architecture
1. Single Tier Architecture: This architecture is used for the server, accessed by client. The client application runs inside the server machine itself. This acts as a single layer interaction as shown in Figure.

2. Two Tier Architecture: This architecture is used for the server, accessed by client as two layer interactions. Such as Client layer in tire one and server layer in tire Two.

3. Multi/Three Tier Architecture: This architecture is used for the server, accessed by client through more than one layer interaction. The programmer could decide the count of business logic layers according to the software requirement that is the reason this model is also known as Multi Three Tire Architecture.

Most of the server side scripting languages are working on any one the client server architecture model. Webserver is software which is running in server hardware. It takes the responsibilities for compilation and execution of server side scripting languages.