Based on the way, that you are implementing the presentation logic, business logic and database logic in your application, there are 4 development architectures.
Note:- Here, the database logic also can be written in the Business Layer only, even though it‘s not a good manner.
- One-Tier Architecture / Monolithic Architecture
- Two-Tier Architecture
- Three-Tier Architecture
- Multi-Tier Architecture / Distributed Architecture
1. One-Tier Architecture:-
- All types of logics (presentation logic, business logic and database logic) will be implemented directly within the form.
- That means there is no separation of presentation logic, business logic and database logic.
- This type of applications are not in the professional style.
- There is no re-usability of business code and database code.
2. Two-Tier Architecture:-
- The Presentation Logic and Business Logics are maintained separately.
- The presentation logic is written in Presentation Layer and the business logic is written in Business Layer / Business Access Layer.
Note:- Here, the database logic also can be written in the Business Layer only, even though it‘s not a good manner.
3. Three-Tier Architecture:-
- The Presentation Logic, Business Logic and Database Logics are maintained separately.
- This is recommended for the professional projects in the software companies.
4. N-Tier Architecture / Distributed Architecture:-
- In the 3-tier architecture, the UI and presentation layer will be located in the client system; and business access layer and data access layer will be maintained in the server system.
- Here, there is the requirement of a technology that allows us to connect Business Layer with Presentation Layer. That technology is called as Distributed Technology.
- The following are the well-known and important distributed technologies:
- DCOM (Distributed Component Object Model)
- .NET Remoting
- Web Services
- WCF (Windows Communication Foundation)
No comments:
Post a Comment