It depend on scale of your project/ web site. If it is just some forms site, better would be to add just seprate classes for Exceptions, quries and BL. For a small site I don't see it is useful to have layers.
If your project is medium size may be more then 20 forms (or it has reasonable coading) better would be to have layered architecture. A simple introduction of layer architecture is
here.
First try to judge how much work you will do + future extensions, then you will able to plan architecture.
moshik.salem
Member
34 Points
124 Posts
Architecture - Beginner Question
Apr 30, 2012 11:47 PM|LINK
hi,
i am developing now an asp.net web site.
i created exceptions classes in the server and some BL code, int the BL code i needed to do some DB querying,
and it al mixed up in one class(the BL code, exception code and classes, and DB code).
my question is what Architecture should i use to make some order on my app? i wiil be glad if someone will also post some references links.
thank you.
Yawer Iqbal
Participant
1199 Points
248 Posts
Re: Architecture - Beginner Question
May 01, 2012 02:47 AM|LINK
It depend on scale of your project/ web site. If it is just some forms site, better would be to add just seprate classes for Exceptions, quries and BL. For a small site I don't see it is useful to have layers.
If your project is medium size may be more then 20 forms (or it has reasonable coading) better would be to have layered architecture. A simple introduction of layer architecture is here.
First try to judge how much work you will do + future extensions, then you will able to plan architecture.