[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Migration from Object Based Environment to Object Oriented Environment

I am a freelancer. I have developed Five Software Applications (windows based) with the help of VB.NET. I know that by default all the .vb files create there own Classes and .NET Environment itself create several classes on its own. But in any of my Projects I have not created a SINGLE Class of my own.
In this kind of scenario what I felt that I am using OBJECT BASED APPROACH rather than OBJECT ORIENTED APPROACH. I have developed projects like Student Management System, Accounts Management System for Trading Business etc. My next project is LIBRARY MANAGEMENT SYSTEM. I want to do my next project in Object Oriented approach.
I will be very much helpful if any body helps me in this regard. I just want to know the ways of Object Oriented Approach keeping in view of LIBRARY MANAGEMENT SYSTEM. What are the ways from where I shouls start ?????
0
akulavi
Asked:
akulavi
1 Solution
 
Praveen KumarArchitectCommented:
It's not hard.

Write down your problem, do "noun" analysis.  See http://www.objectmentor.com/publications/casestud.pdf [PDF link]  These nouns probably suggests classes / objects in the final system.

Identity relationships between the nouns.  For example, you have a rental which is either an issue / return, so this suggests to me that an issue is a rental, and a return is a rental, therefore I'd consider an inheritance relationship between the two.  A person has a number of rentals which sounds like another relationship to me.

Identity the salient data that needs to be recorded.  Group related data together.  Ensure data is not repeated.  See http://en.wikipedia.org/wiki/Database_normalization [Wikipedia].

Draw some UML, find out what a Use Case is, see http://en.wikipedia.org/wiki/Use_Case [Wikipedia].  Draw some class diagrams, see http://www.agilemodeling.com/artifacts/classDiagram.htm [Agile Modeling].

Once you have your diagrams, move to concretise them in VB.NET definitions.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now