Solved

Migration from Object Based Environment to Object Oriented Environment

Posted on 2007-11-28
1
153 Views
Last Modified: 2013-11-26
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
Comment
Question by:akulavi
1 Comment
 
LVL 12

Accepted Solution

by:
Mamtha1982 earned 500 total points
ID: 20364889
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now