Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flash Codebook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00045633
Message ID:
00046023
Vues:
63
Roxanne,

>Thank you Kevin,
>My first shot at a VFP 5 app that I'm designing was based on this Busines Object means of setting things up... and personally I might add that MMF is making it an easy thing to learn hands-on. But after the earlier response about business objects not being as feasible as they sound, I actually sat back and took another look at my preliminary design. Glad to know I can keep plowing ahead and not rethink too much at this point!>

I'm glad to hear it! We have created many applications at Oak Leaf Enterprises using business objects and a true OOP design and they are highly stable and easy to maintain.

In addition, the Event Object included with the Mere Mortals framework is yet another abstraction that is used to encapsulate an application Event. Here is an example of an Event: The VFP application we created for the Pentagon manipulates PowerPoint slides. One of the things we do with the slides is upload them from a local VFP database to a remote Oracle database. We have an Event Object called "UploadToOracle" which acts as a supervisor of the Upload Event, handling communication and processing between three different business objects.

Again, you don't *have* to create Event objects...you could just place the code in custom methods of forms or controls, but with a true object-oriented language like VFP at our disposal it's good to make use of its capabilites.

It's also great for maintainance purposes to open up a project and know that all the major events in the application are encapsulated as objects and stored in the AEvents library and all the Business Objects are stored in the ABizness library.

As with other OOP principles the Event object may be a bit of a strange concept at first, but once you grasp the concept you'll be creating events left and right!

If you are at DevCon in September, you can stop by our booth and say hello. I will also be speaking about the Codebook for Mere Mortals framework in the Vendor track.

Regards,
Kevin McNeish
Oak Leaf Enterprises Solution Design, Inc.
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform