Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from AFP
Message
 
To
23/04/2003 11:42:59
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00780638
Message ID:
00780661
Views:
15
Hi Steve,


>I have several pages that I have written in AFP, from 3 years ago. How much of my code is transportable to activeVFP, or would I have to do a complete re-write? Would there be any advantages? Here is a sample page in AFP:

ActiveVFP and AFP use a different concept. Basically, the translation would involve to replace all the FOX calls with the appropriate ASP object calls. If you relied on the AFP Cookie concept, you have to replace that with ASPs/ActiveVFPs session handling. Also, all the HTML code has either to be replaced by corresponding calls that output HTML strings, or if possible, with the HTML mergetext feature. While this is possible, and a lot can be done with search and replace, its not an automated process.

Have you checked out AFP 3.0 (http://www.afpages.com)? It's much faster than AFP 2.4 and the interface is much closer to ASP and similar standards than it used to be in AFP 2.4. If you don't mind asking me, why do you consider switching from AFP to ActiveVFP?

--
Christof
(ProLib team)
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform