Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object Orientated Programming Real World Scenario

Status
Not open for further replies.

jrig

Technical User
Sep 5, 2006
36
US
I've only been programming in .net for a few months now. I've managed to successfully create a few apps, mainly just UI's for a database. These have all been pretty straight forward procedure based apps: Retrieve data - display the dataset - update the db.

For some time now I've been hearing that .net's biggest new feature is OO capability, so I've been searching over the internet about it, and have acquainted myself with the 'buzzwords'. However, I still see no real-world samples of how to implement it.

Where can I find some sample code/examples specifically as OO relates to DB transactions. I can see the benefits of OO, and believe it's going to be a big part of the future of vb, hence a valuable skill to have. Thanks in advance-

jr

ps: originally posted here:
but wanted to repost here due to lack of interest over at msdn
 
OO is nothing new and VB.Net has been around fo ra couple of years now. So nothing new there either.


if you understand everything said in the previous link then you got the basics right. After that you look at design patterns and in you case looking up the DAO pattern from sun will be needed. It is for Java but it is just as good in VB.NET. So if you can read the UML then you don't need to look at the code.

Then I would recommend looking for an ORM like nHibernate wich will persist you Bussiness Object into the database.

Once you got all that learned you got the world on your feet.

Rockford lothka has written a nice framework and book for you to use. Not that I agree on everything he does but that's another story.



Christiaan Baes
Belgium

"My old site" - Me
 
You could even do OO (of a sort) with VB6. So yes, it's nothing new.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top