PC Review


Reply
Thread Tools Rate Thread

DataBase Centric Applications - Best Approach

 
 
Mr Newbie
Guest
Posts: n/a
 
      19th Nov 2005
I've just spent some considerable time putting together an application which
works pretty much OK. The issue I have around design is mainly concerned
with the Data Access layer.

Yes, we can pull data modify it etc, but the code required to do so is not
inconsequential, and the many functions one finds onself writing do mount
up.

All this is OK until you find you need to change a type or add or remove a
field, everything has to change and its a nightmare to have to retrofit your
code to remedy that.

So Im sitting here thinking that there must be a scalable flexible way to
approach the design to minimise this rework. Does anyone have any ideas,
URLS's etc that may be of help, or even a few words of advice.


Thanks Mr N


 
Reply With Quote
 
 
 
 
David Browne
Guest
Posts: n/a
 
      19th Nov 2005

"Mr Newbie" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I've just spent some considerable time putting together an application
> which works pretty much OK. The issue I have around design is mainly
> concerned with the Data Access layer.
>
> Yes, we can pull data modify it etc, but the code required to do so is not
> inconsequential, and the many functions one finds onself writing do mount
> up.
>
> All this is OK until you find you need to change a type or add or remove a
> field, everything has to change and its a nightmare to have to retrofit
> your code to remedy that.
>
> So Im sitting here thinking that there must be a scalable flexible way to
> approach the design to minimise this rework. Does anyone have any ideas,
> URLS's etc that may be of help, or even a few words of advice.
>
>


Here are a few good options:

DataSets and the Visual Studio Designers, especially in VS2005, where
TableAdapters manage your CRUD commands as well as your Typed Datasets.

Custom DAL, with Command Wrappers and Entity Types, using codegen (eg
http://www.codesmithtools.com/) to generate allthe boilerplate code for you.
This is essentially what you're doing, just with the addition of a codegen
tool to automate it.

ORM solutions (http://search.msn.com/results.aspx?q=.net+orm&FORM=QBHP,
http://www.nhibernate.org). These move the action into the client tier and
handle the database plumbing behind the scenes.




David


 
Reply With Quote
 
Mr Newbie
Guest
Posts: n/a
 
      19th Nov 2005
I'll take a look at these options and see how they might be of help.

Thanks for your help.

--
Best Regards

The Inimitable Mr Newbie º¿º



"David Browne" <davidbaxterbrowne no potted (E-Mail Removed)> wrote in
message news:%23o9mS%(E-Mail Removed)...
>
> "Mr Newbie" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I've just spent some considerable time putting together an application
>> which works pretty much OK. The issue I have around design is mainly
>> concerned with the Data Access layer.
>>
>> Yes, we can pull data modify it etc, but the code required to do so is
>> not inconsequential, and the many functions one finds onself writing do
>> mount up.
>>
>> All this is OK until you find you need to change a type or add or remove
>> a field, everything has to change and its a nightmare to have to retrofit
>> your code to remedy that.
>>
>> So Im sitting here thinking that there must be a scalable flexible way to
>> approach the design to minimise this rework. Does anyone have any ideas,
>> URLS's etc that may be of help, or even a few words of advice.
>>
>>

>
> Here are a few good options:
>
> DataSets and the Visual Studio Designers, especially in VS2005, where
> TableAdapters manage your CRUD commands as well as your Typed Datasets.
>
> Custom DAL, with Command Wrappers and Entity Types, using codegen (eg
> http://www.codesmithtools.com/) to generate allthe boilerplate code for
> you. This is essentially what you're doing, just with the addition of a
> codegen tool to automate it.
>
> ORM solutions (http://search.msn.com/results.aspx?q=.net+orm&FORM=QBHP,
> http://www.nhibernate.org). These move the action into the client tier
> and handle the database plumbing behind the scenes.
>
>
>
>
> David
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Centric Applications - Best Approach Mr Newbie Microsoft VB .NET 2 19th Nov 2005 11:48 PM
Network-centric applications Tom Microsoft Windows 2000 0 18th Dec 2004 06:39 PM
Network-centric applications Tom Microsoft Windows 2000 Applications 2 18th Dec 2004 06:39 PM
How do I import an Approach dbf database into Access? =?Utf-8?B?Sk1UMjAz?= Microsoft Access Getting Started 2 25th Nov 2004 10:35 PM
Storing company-centric data rather than person-centric Peter L Microsoft Outlook Contacts 2 17th Oct 2003 10:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:33 AM.