3-tiers of vb.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,
i have a question about 3-tiers of vb.net,
the presentation tiers is form
the database tiers is databas
and how about the business tier
if i write some dot net component , is it a business tie
or if i write some com+ is it a business tie
or web service is ??
 
You're confusing the tiers with the technologies used to build them. A business logic layer can be built with any technology you see fit, such .NET, COM, web services... you name it.
 
As an example of tiers in an app.


VendorForm - displays the vendor information to the user and allows the user
to input data.

VendorBE (Business Entity) is a class that represents the vendor.
(name,address, id etc.)

VendorDALC (Data Access Layer Component) accesses the data in the relational
database

UIController - class that sits between the presentation layer and the
business layer.


User clicks on Save button on form
The VendorForm passes the save message along with the data on the form to
the UIController.
The UIController passes the data as a VendorBE to the VendorDALC class by
calling Update method passing it the VendorBE.

Take a look at the Patterns and Practices white papers and books on the MSDN
site.
 
Back
Top