How to create VDF Web Applications: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
How to create VDF Web Applications (view source)
Revision as of 12:58, 22 November 2008
, 22 November 2008no edit summary
mNo edit summary |
|||
Line 14: | Line 14: | ||
You will also need to install Webapp server from the [[Visual DataFlex]] installer. Follow the onscreen instructions if you are on windows vista or windows server 2008. | You will also need to install Webapp server from the [[Visual DataFlex]] installer. Follow the onscreen instructions if you are on windows vista or windows server 2008. | ||
= The overall idea = | |||
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 | 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 | ||
Line 22: | Line 22: | ||
This means that '''asp itself should not be used as a programming language''' - it is a fast way of writing the html to go together with serverside components you develop in Visual DataFlex (VDF). The trick is that you can write lots of HTML in asp - outside your code. If you have problems you need to solve as a programmer, then the best idea is to try solve them in Visual DataFlex first , then expose the developed functionality as a web object embedded in your asp page. | This means that '''asp itself should not be used as a programming language''' - it is a fast way of writing the html to go together with serverside components you develop in Visual DataFlex (VDF). The trick is that you can write lots of HTML in asp - outside your code. If you have problems you need to solve as a programmer, then the best idea is to try solve them in Visual DataFlex first , then expose the developed functionality as a web object embedded in your asp page. | ||
= VDF on the serverside = | == VDF on the serverside == | ||
* | *WBO | ||
*Global.asa (this is where your code is stackup up. check the list of WBP's there) | *Global.asa (this is where your code is stackup up. check the list of WBP's there) | ||
= Javascript and HTML on the clientside = | == Javascript and HTML on the clientside == | ||
Now - after having being told that you really shouldn't be doing any clientside code when you are a vdf programmer, then here are some instructions for doing exactly that! (Note that you can accomplish a lot just by using the wizards in the AJAX library ) | Now - after having being told that you really shouldn't be doing any clientside code when you are a vdf programmer, then here are some instructions for doing exactly that! (Note that you can accomplish a lot just by using the wizards in the AJAX library ) |