Question Why and How use OOP style in database programming...

farhan76.net

New member
Joined
Nov 17, 2009
Messages
2
Programming Experience
Beginner
Dear all friends.

I'm just new to this forum, I'm a VB6 programmer, not a very good programmer but can develop complete applications in VB6,SQL 2000 and Crystal Reports.

I'm confused in a concept since my start of career WHY WE USE OBJECT ORIENTED PROGRAMMING (CLASSES / OBJECTS) when doing Database Programming like a inventory, payroll etc. system. May be my question is wrong, but its teasing my mind.

Question came in my mind i.e. we can create a simple form from which we can View, Add, Edit and Delete records by simple recordsets, but WHY AND HOW TO DO DATABASE PROGRAMMING BY CLASSES AND OBJECTS.

If there is a valid reason, pz. specify example or good links.

Farhan
 
For small projects, I don't think it really matters that much.

Large projects often, if not always, require some abstraction, reusability, and encapsulation. I think this is where OOP plays a large and important part.

This, however, is just my opinion.
 

Latest posts

Back
Top