Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can Ww classes be set to run as VFP only?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00797347
Message ID:
00798126
Vues:
24
>My company is looking at WW Web Connection to build browser pages. We're a VFP shop and want to leverage our expertise. Can the Web Connection visual classes be set to _not_ generate HTML, allowing us to use the same code base to drive distributed apps as well as web browsers?

I'm not sure what you mean exactly here. AS Paul said, there are no real visual classes in Web Connection. You generate HTML either by writing code or by using templates in general.

The general rule for reuse is this: If you have apps that work both in desktop and Web then you should design a solid business layer and reuse that business layer in your UI. IOW, the user interface between Web and desktop is just too different in most cases that you can't have a single codebase. The next best thing is to have both UI layers use exactly the same business layer.

I do this for practically all of my apps and this reduces the amount of code written drastically as both desktop and Web 'front ends' deal only with the UI specific issues, while the commone business object layer deals with all the application logic.

Trying to build a common UI layer IMHO, is a waste of time as you will never make this truly sync due to the differences of behaviors in Web and Windows forms.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform