But what exactly is N-Tier architecture? The N-Tier architecture relays to the architecture of a certain application that has at least 3 layers or sections that are separate. Each section interacts with solely the section directly below, and has a very definitive function or role that it's responsible for.
But why should you use N-Tier architecture? Each separate section can be found on physically different servers with merely minor coding differences, meaning they can scale out and handle more load on a server. And, each individual section is completely hidden to other sections internally, making it capable to update a single section without modifying or recompiling another section.
This is an extremely powerful feature that is available with N-Tier architecture, as additional changes or features to a section can be accomplished without re-uploading the entire application. An example would be, by separating access code data from the business logic code. When the server's database changes, you simply need to change the code of the data access, because the logic code of the business stays put and doesn't change.
The N-Tier application typically contains three sections, named the data section, business section, and the presentation section. And you're probably wondering what each section really does, so lets go into that.
The presentation section has the duty of showing the user interface and "pushing" that interface using some business section objects and classes.
The business section has the duty of getting into the data section to get, edit, and delete data to and from the data section and transfer those results to the presentation section. This section also gets the duty of computing the data received and relayed to the presentation section.
The data section gets the duty of being the database for all the actual data. You'll often see that when in .net, it will be an access database or an SQL server, but it's not bound to just those.
Physical and Logical sections are often the ones that give people some trouble. First off, a logical section defines that the sections are different in terms of sets of classes or assemblies, but are still being hosted on the same exact server. Physical section defines that those sets of classes or assemblies are hosted on separate servers with some extra coding that handles the networking between the section. An example could be remoting and web services.
In determining to differ the sections physicall, or not doing so at all, is extra important. It honestly lies on the total load of your applications.
Hello,
ReplyDeleteNice blog i like it
Cloud Hosting India has innumerable benefits to offer with safety and innovation being on top of the list.
Cloud hosting india
This comment has been removed by the author.
ReplyDeleteSMTP Server Price
Deletelink building service
ReplyDeleteBest Drawing App for iPad MyBrushes is the revolutionary digital illustration iPad drawing App that allows painting artists to paint for iPad and iPhone with Infinite canvas and PLAYBACK every drawing stroke.
ReplyDeleteDownload Daily Water Alert Application
ReplyDeleteHow to debate How to debate, topics for debate, good debate topics, topics to debate & controversial debate topics. Debate offers the world a tool that could not be timelier or more necessary.
ReplyDeleteSEO Poole services
ReplyDeletebuy back links-Buy back links or buy quality backlinks @ sayaltechnologies.com. Our SEO services including On Page SEO, Off Page SEO & Link Building Service with affordable prices
ReplyDeletebest android mobile apps
ReplyDelete