Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Do we need to have a database class for a website that always access to db ?

Reply
Thread Tools

Do we need to have a database class for a website that always access to db ?

 
 
Tee
Guest
Posts: n/a
 
      06-07-2004
Hi,

I am currently creating a website that will access to db a lot, currently I
am using MS Access as the database.
will there be any benefits to use a database class ? if yes, where can I
find a database class sample that suit to use with MS Access ?

thanks,
Tee


 
Reply With Quote
 
 
 
 
Natty Gur
Guest
Posts: n/a
 
      06-08-2004
Hi,

It will be good to separate between application layers. If your
application will be build from pages, Business logic classes and Data
Access Layer classes it will be much easier to maintain it over time.
Imagine that you change DB and need to go through all paged to look for
selects and change them. Wouldn't it be easier if all DB code dealing
with certain entity exist in one class and data return as Value Objects?
This way you just need to fix one place, without influencing other
system components ...

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
Trying to create a CSS box that is always is always the width of an image placed inside it (and no wider) Deryck HTML 4 06-22-2004 08:25 PM
I have created a website "lookup" i dont think its gonna get bigger and fancyer than it already is but have a look Rahmi Acar C++ 0 04-20-2004 10:18 PM



Advertisments