How to create VDF Web Applications: Difference between revisions

m
Line 12: Line 12:


== The overall idea about Active Server pages and vdf==
== The overall idea about Active Server pages and vdf==
asp pages are about creating HTML markup for serverside code in an easy way .
When you develop ASP pages using vdf then you develop COM compents that run on the serverside and are 'glued' together using a scripting language like
 
This means that '''asp is not a real programming language''' - it is about creating html to got together with serverside components you develop in Visual DataFlex (VDF). If you have problems you need to solve , then the best idea is to try solve them in Visual DataFlex (or another programming language for that matter) .
 
If you are coming from the visual dataflex world on windows, then you are probably used to writing code that can respond to events immediately.
 
Here in the web world you have to consider the fact that you are in a web browser that will have to talk to the server before getting an answer (or at least getting an answer that involves data and logic on the server).  This means that you cannot run vdf code on the client inside the browser (not yet). When you develop ASP pages using vdf then you develop COM compents that run on the serverside and are 'glued' together using a scripting language like


*[http://en.wikipedia.org/wiki/VBScript vbscript]
*[http://en.wikipedia.org/wiki/VBScript vbscript]
*[http://en.wikipedia.org/wiki/JScript jscript] (jscript is microsofts version of [[Javascript]] )
*[http://en.wikipedia.org/wiki/JScript jscript] (jscript is microsofts version of [[Javascript]] )


This means that '''asp is not a real programming language''' - it is about creating html to got together with serverside components you develop in Visual DataFlex (VDF). If you have problems you need to solve , then the best idea is to try solve them in Visual DataFlex first , then expose the developed functionality as a web object .


 
Markup related tings are supposed to be solved using asp , business related things are supposed to be solved using vdf.If you find yourself writing markup related code in Visual dataflex , then you are probably heading in the wrong direction.


= VDF on the serverside =
= VDF on the serverside =
1,134

edits