Re: Data Access Layer
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 07:41:52 -0500
Jono Jones wrote:
> Hi there,
>
> Could you point me to a good resource for creating my data access
> layer? I have my database, I have me front end, but I want a nice
> layer between them so I can just call functions in my code behind
"code behind"? This makes me suspect that you are asking about asp.net, so
here is my canned reply:
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.
<snip>
> It may be because I'm very tired but it's not clicking (just started
> coding asp.net a few months ago, just getting on to layered coding -
> previously hard coded everything in the presentation layer).
> Previously I wrote in jsp whre I would create a class and I could
> just save that into the database, thorugh underlying mappings that I
> didn't set up.
>
> Any pointers to resources much appreciated.
>
Basically, you do the same thing in asp.net: create a class that exposes the
methods and properties you need to communicate with the database. What
database allows you to save a jsp class in it?
Microsoft has a collection of what they call Application Blocks, one of
which is a Data Access Application Block. You can use it as-is, or just get
ideas from it. Here is a link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/daab.asp
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Prev by Date: Re: ASP interacting with Oracle server problem
- Next by Date: Re: ASP interacting with Oracle server problem
- Previous by thread: Re: ASP interacting with Oracle server problem
- Next by thread: Suddenly ODBC driver does not work
- Index(es):
Relevant Pages
|
Loading