Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SIMPLE way to migrate to n-tier w/out long learning curv
Message
From
27/04/2002 07:49:50
 
 
To
25/04/2002 17:30:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00649294
Message ID:
00649960
Views:
19
David(s),

FWIW,

>Next, I would say DO NOT try to build framework pieces into an existing app. I did it, and it was a nightmare from start-to-finish. I finally just sucked it up for a couple of weeks and converted all my stuff. If you insist on doing it, buy lots of Xanax and use the framework as your foundation, and import your forms into the framework. If you go the other way and try to bring framework pieces into your existing app, you are asking for trouble. Lots of trouble. Don't do it. I would think this is true with any framework.

I did build framework pieces into an existing application and have had great success. I'm throwing this out there not as a recommended approach, but simply as a testament to the beauty of properly designed objects.

I have a home grown framework that I've been using/developing for about 7 years. I wanted to start spending less time developing my framework and more time developing business solutions. I wanted something ntier and something I could integrate a piece at a time into a huge corporate application. Converting the entire application was not an option, it would take over a year.

I decided to try this with the Mere Mortals Framework. I wasn't sure when I started what kind of mess I was gonna end up with, but in just a week, I had a beautiful solution. The hardest part was simply getting my head into the frameworks code, and as I did, I gained a huge amount of respect for the way it was put together. I took the MM Frameworks business object, data environment object, business rules object and connection manager objects and place them in my own framework under MY own application object! This was about a year ago and it's been working great.

I spent probably 85% of my time studing the problem, trying to figure out exactly which files of the MM framework I would need and just tracing through code to understand what was happening. 10% of my time testing, and only 5% of my time actually making changes. Most of which were to my own code to simply make the features of the new objects available. My changes to the MM framework were minute.

Anthony
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform