In single tier architecture, a single executable file handles all functions related to user,business and data services.like the case of PASCAL,COBOL.
Single-tier architecture is the notion of having the user interface of a web application, the middle ware and the data access all contained in one whole architecture. Usually in Software Engineer you break your application to make them more maintainable and sustainable. If you know that your software will not grow over time, you may want to do a single tier architecture.
Client-Server model is a form of 2 Tier architecture in PHP. With use of database it becomes a 3 Tier architecture
In 3 tier architecture, client directly interacts with intermediate server and intermediate server will directly interact with database server.
In 3 tier architecture, client directly interacts with intermediate server and intermediate server will directly interact with database server.
At first glance, the three tiers may seem similar to the model-view-controller (MVC) concept; however, topologically they are different. A fundamental rule in a three tier architecture is the client tier never communicates directly with the data tier; in a three-tier model all communication must pass through the middle tier. Conceptually the three-tier architecture is linear. However, the MVC architecture is triangular: the view sends updates to the controller, the controller updates the model, and the view gets updated directly from the model.
PHP is a scripting language and does not follow a 3-tier architecture. However, there are several popular frameworks which follow the MVC architecture:Zend FrameworkCakeSymfonyCodeIgniter
Traditional architecture was monolithic: one big program, running on a mainframe. Then, two tier (two layers) architecture came, with PCs talking to servers, both having some intelligence (applications versus data). Then three tier architecture arrived, powered by internet technology, Java and .Net. Data, applications and presentation are separated in this architecture. Presentation is almost always in a browser, the application and the data run on servers, usually in the corporate data center or somewhere 'on the internet'.
Client, Middleware, Server
3-tier architecture
N-tier software architecture refers to a method of designing a system. In this system, the presentation, application processing, and data management are logically done separately from each other.
real-time 3-tier architecture .
xzvcnb, maznvl xl nlnlnl nlnl,nlsvd asfda asdfnalsaqf fasfn fadfgag