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