On Tue, 2 Jan 2007 14:49:00 -0500, "Karl Seguin"
<karlremove@dotnet.itags.org.removeopenmymindremovemetoo.andmenet> wrote:
As where a bigger project would be better approached how?
I'm fairly new to aspnet (and websites in general), so please be as
specific as possible as I'm sucking up all knowledge I stumble upon.
>Your data access layer and presentation layers are glued..which is fine for
>a small project.At the very least, it's generally a good idea to have your dataaccess layer
sit in it's own class which your codebehind files can leverage.
something like:
Button_Click()
dim dal as new DataAccess()
dal.AddUser(User.Text, Password.Text)
end sub
or something..
For larger projects, you typically want a full domain layer...so you do
something like:
dim user as User = User.CreateNewUser();
user.FirstName = FirstName.Text;
user.LastName = LastName.Text;
user.Save();
I left out the validation you'd normally have..
Karl
http://www.openmymind.net/
http://www.fuelindustries.com/
"Morten Snedker" <fido@.alotofsites.com> wrote in message
news:nfllp25mq6r3d354qev9tr5c06p868gd12@.
4ax.com...
> On Tue, 2 Jan 2007 14:49:00 -0500, "Karl Seguin"
> <karlremove@.removeopenmymindremovemetoo.andmenet> wrote:
> As where a bigger project would be better approached how?
> I'm fairly new to aspnet (and websites in general), so please be as
> specific as possible as I'm sucking up all knowledge I stumble upon.
>
>
Saturday, March 31, 2012
Setting link dynamically
Labels:
andmenetgt,
asp,
bigger,
dynamically,
jan,
karl,
link,
ltkarlremoveremoveopenmymindremovemetoo,
net,
project,
seguin,
setting,
tue,
wroteas
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment