Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conversion from AFP
Message
 
À
23/04/2003 11:42:59
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00780638
Message ID:
00780661
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform