Setting up a new tier in a 3-tier system?

S

Steve Kershaw

I've never done this before. I need to set up a business layer tier in
a 3-tier system. How is this done? Is there any resources I can access
to help me?

Thanks so much for your help.

Steve
 
S

sloan

http://www.codeproject.com/gen/design/DudeWheresMyBusinessLogic.asp

That will help you understand the issue.

He may go a little overboard with the "it has to be simple Select Insert
Update and Delete statements", but the article is good.


Presentation
Biz
DataLayer

A couple of rules (imho)

The DataLayer returns
DataSets,
IDataReaders,
Scalars (values like the count of employees in the database or number of
affected rows)
void (nothing, the code just ran ok)

The biz layer talks to the datalayer.
The presentation layer talks to the biz layer.
The presentation layer DOES NOT TALK to the datalayer.

You put business rules in the biz layer. Sounds simple, but alot of people
miss it.

If an emp needs to have a date of birth before some date, it goes in teh biz
layer.
Don't put it in the presentation layer.

...

well tiered development isn't something you learn overnight, but you'll
never get it if you don't try.

Good luck.!
 
S

Steve Kershaw

Thanks that helps a lot!

Is the tier actually a .DLL? or is it a another solution, a project
perhaps?
I guess I also need to know how to start.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top