Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confirmation on how I am progressing with my learning of
Message
De
15/06/2004 18:38:45
 
 
À
15/06/2004 14:41:24
Anthony Testi
Fabtrol Systems Inc.
Eugene, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00913994
Message ID:
00914082
Vues:
16
>Note I am using MM 7.0
If 7.1 is still available, it should be a free upgrade, 8.0 has a price tag attached.

>What I am doing now:
>The first ‘trick’ I want SA to do is to run a diagnosis on the health of MRP. Even more focused I want SA to check to make sure that MRP has certain files available. I have created a table of files that are needed and the start of a biz object that works with that table. ( Files_Needed_BizObj ) One piece of information that will need to be given to the Biz Object is the directory where the main MRP exe should exist. I believe that DIR location information should be stored via the System Settings Object, which I see how to do via goApp.SetSettings and goApp.GetSettings.
>
>So my very short-term development plan is to do the following:
>1) Figure out what form class to use to base a simple question to the user: Where is the main app?
>2) I assume that the CdirectoryPref class will be of some use.
>3) Add a call to the form from the menus
>
>Later I will attempt to create a ‘higher’ level ‘BizObj’ (Diagnosis) that does not have any data access that will interact with the Files_Needed_BizObj.
>
>Some questions:
>1) Is what I am doing a reasonable approach to learning MM?
>2) Is there some sort of MM Read only BizObj? I ask this because in this diagnosis case there is no saving of information just reading. Reports are also like that. Should a BizObj be skipped and the data be accessing via some other process?
>3) Is storing the Main MRP Dir in the system prefs table a good idea? ( BTW I am using the INI, not the register )
>4) What should I base the “Where is the main app?” question form?

Some answers, not necessarily in the correct order. ;)

Have you subclassed the Generic project to start your own project with? Doing this by following the quick start guide is probably the easiest way to get started. Stuff pretty much just works without you having to worry about it until you're ready to start worrying about it.

There's a (XX)bizobjform (prefaced with a project code) that is designed to work with MM business objects. Given the question about read only, you might not need most of that functionality though. There isn't a specific read only bizobj, and I don't know if one can be "turned off" directly; however, I'm using local views, and they can be non-updatable. Found that out the hard way...

Not sure I understand the "Where is the main app?" question. The generic project boots to a screen rather similar to Word, with menus, toolbars, and open white space waiting for you to do something. I'm pretty sure there's a property in the Application object for a form to start immediately after security login, and a recent message here from Julie Suichiki(hope I spelled it right!) about starting one without the security login.

As for how you're doing after 25 hours.. It's possible to spend that much just reading the manual. <g> I've been working with it for over a year. After a month, I was diving in and building the parts I needed for my app, only occassoinally going back to the manual or digging into the framework code when I'd forgotten/overlooked something, or needed something in the uncommon 10 percent.

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform