jetforce
asked on
VB.NET and N-Tier, opinions and thoughts.
Hi all,
we are currently beginning on the path of .NET, previously we have built N-Tier applications using the method of mapping database tables each to a single object and a collection object. By using these objects we built the UI either in VB 6 or ASP.
All our objects are programmed in VB6 as ActiveX dll projects.
Our single object would provide functions to load, save, delete etc a single record from a table, it would also have properties that matched to fields in the table. Our collection objects would retreive a collection of single objects using functions.
We never used databinding on the front-ends, basically all the validation and manipulation of data was done through the objects, and it used recordsets, commands etc to do data updates etc.
I hope I have made myself clear.
Now here is the question, from looking at VB.NET, I am now wondering if this is the right way for developing new applications in .NET. I am sure we will not use a lot of the new power of ADO.NET and VB.NET, if we don't use databinding controls such as the datagrid.
See my previous experience in old VB was not to touch databinding, as you lost a lot of control especially when validating data.
What are people doing in the real working world with .NET, having objects return datasets and using them? Or building them in wrappers?
Any thoughts and opinions, would be appreciated.
Thanks
Jetforce
we are currently beginning on the path of .NET, previously we have built N-Tier applications using the method of mapping database tables each to a single object and a collection object. By using these objects we built the UI either in VB 6 or ASP.
All our objects are programmed in VB6 as ActiveX dll projects.
Our single object would provide functions to load, save, delete etc a single record from a table, it would also have properties that matched to fields in the table. Our collection objects would retreive a collection of single objects using functions.
We never used databinding on the front-ends, basically all the validation and manipulation of data was done through the objects, and it used recordsets, commands etc to do data updates etc.
I hope I have made myself clear.
Now here is the question, from looking at VB.NET, I am now wondering if this is the right way for developing new applications in .NET. I am sure we will not use a lot of the new power of ADO.NET and VB.NET, if we don't use databinding controls such as the datagrid.
See my previous experience in old VB was not to touch databinding, as you lost a lot of control especially when validating data.
What are people doing in the real working world with .NET, having objects return datasets and using them? Or building them in wrappers?
Any thoughts and opinions, would be appreciated.
Thanks
Jetforce
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for all the replies,
is there any good examples on the web, so I can see the pros & cons.
Thanks
is there any good examples on the web, so I can see the pros & cons.
Thanks
jetforce ,
Here's the sample application web using 3 tier design pattern
http://msdn.microsoft.com/architecture/default.aspx?pull=/library/en-us/dnbda/html/PetShop3x.asp
Here's the sample application web using 3 tier design pattern
http://msdn.microsoft.com/architecture/default.aspx?pull=/library/en-us/dnbda/html/PetShop3x.asp
Intersting approach Dabas...
I may look into that for quick and easy programs instead of messing around with Databinding.