Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Model Hangup
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009734
Message ID:
00009746
Vues:
31
>This is all good advise, but very vague repsonse. I guess what I am looking for is someone who has designed an object model based on a set of classes that resemble customers, inventory, products, etc. , whatever.
>I need to know what it takes to build an object model. I have the methodologies, quite a few I can choose from. But I need to learn a solid foundation of the BARE essentials that go into,...say..just for instance.... a customer class. If you make properties of the customer class such as name, address, city, state, zip, and so on. How to you get the class to work? Does the data go right into the class, and then into the table? VFP is supposed to be an OOP tool, how do we get to that point. I never before worried about creating a customer class. I would just create forms and put text boxes on the form, nav buttons, and so on. This is not the Object Oriented way. In an OOP system, there are classes that resemble real life entities, or is there?


I think you need a mentor. Someone you can work with. What your asking cannot be simply explained here. I have been doing this for well over a year & I am still learning every day.

My objects are Bound to a data source (with buffering) by setting that in the data Tab of the objects property list (ie: Textbox). The data source can be a table, a view, etc. There are other ways of doing it too. Like I said before, whatever works for you. I say that mainly because I do not have the time to go into details.

Why not try breaking your problem into smaller parts & then asking simpler question. I think you can lead to a good solution that way. Right now you have a very big chunk of theory your asking questions about & it is very difficult to answer them -- at least for me. I like the 'one little problem at a time' approach. Solve a number of lttle ones & before you know it you have the bigger problem solved.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform