Any opinions about data access application block?

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

Guest

Our group is new to .net and needs to decide on a good methodology for dealing with data sources, data connections, etc..
I came across the data access application block but I'm wondering if it's overkill. Any opinions about it or suggestions on other ways? Thanks
 
Application blocks is your best bet.

Here is why -

a) It is written by smart people, who have dealt with inexperience and
inexperienced.
b) It is written in a standard manner, and will probably work when we are
all living underwater coz the world is being ruled by ape men from mars.
c) It is written using the best practices.
d) It helps you not to reinvent the wheel. Why write, when you can steal?
(Hehe).

Lots more reasons.

Either way, you do want to segregate your data access layer into a stateless
layer that encapsulates all database native stuff .. and spews out business
data instead of database native stuff like SQL. .Try and make this
class/classes

a) Stateless
b) Supportable in Enterprise Services/MTS, so when you finally scale, you
could make these Queued or Objectpooled.
c) Independent of communication protocol i.e. for example - remoting support
should not be a part of this layer.

Read my forthcoming book on ADO.NET (Due to be released by apress in
November) (LOL). When you design the "data layer" for a project, you should
have a thorough understanding of what ADO.NET gives you, and why it gives
certain things in a disconnected world that were unecessary earlier. Also
topics like concurrency etc. are extremely important.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/



jacobryce said:
Our group is new to .net and needs to decide on a good methodology for
dealing with data sources, data connections, etc...
I came across the data access application block but I'm wondering if it's
overkill. Any opinions about it or suggestions on other ways? Thanks!
 
The DAAB is a smart interface between your program and the .NET objects.

The FREE framework extensions libraries I have developed provide your
application with a smart interface TO THE DATABASE (which is what interests
you at the end of the day).

The System.Data.Extensions library allows you to communicate with an
in-memory database that will retrieve records for you JIT upon demand. You
don't need to worry about managing connections, data adapters, commands or
data readers. It will also handle the update of changes for you.

It can do much more than that, so I recommend that you take a look at it.

Fully documented. Requires .NET framework 1.1 or later.

You will be allowed to use the libraries in any application - private or
commercial, and distribute them as part of your application, royalty-free.

E-mail me for your free copy: (e-mail address removed)
Your acceptance of the license agreement will be required.

Ori


jacobryce said:
Our group is new to .net and needs to decide on a good methodology for
dealing with data sources, data connections, etc...
I came across the data access application block but I'm wondering if it's
overkill. Any opinions about it or suggestions on other ways? Thanks!
 
Back
Top