>I guess this might be a more general VFP question than a CBMM, but I'm wondering how long it usually takes (for an average VFP programmer) to get up to speed on Class/OOP programming? The reason I ask it that it seems like it's taking me a LOT longer to do the same job using class/framework programming than just writing my app(s) the "old" way using normal forms and VFP data-environments.
>
> I >KNOW< there will be a payoff once I understand all of this, but right now it's kind of frustrating. My old sequence for writing/testing apps was (assuming the tables/views existed). Create/layout for, like data source, run form and see if it works. Now it's more like: create layout (after looking in the manual to see which form I should base things on). Create my data environment, and views in ADATAENV, CD into my app dir, run STARTCB, DO MAIN, suspend, do a DOFORM("formname"). Get an error. Find out I mistyped one of my view names in ADATAENV, try to close my object/app, VFP crashes, exit VFP, restart VFP and try again. Different error, etc...
>
>I'm willing to work through all this, since I really like all the benefits of OOP/Classes/using the framework, but I'm wondering how much aspirin I need to buy before I can really take advantage of these benefits.
One problem that you may be having is that your are trying to learn too much at one time. You are learning about OOP in general and how it applies to VFP specifically and a framework on top of that. Any one of these tasks is a fairly steep learning curve. Just hang in there, though! It is well worth it!