How to create VDF Web Applications: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m (overall idea)
Line 8: Line 8:
[[ASP]] is about creating applications that work on the internet in a web browser. To create applications that work in a web browser, then you will need to generate [[HTML]] and use a web server (to use Visual DataFlex you will need [http://en.wikipedia.org/wiki/Internet_Information_Services IIS] )
[[ASP]] is about creating applications that work on the internet in a web browser. To create applications that work in a web browser, then you will need to generate [[HTML]] and use a web server (to use Visual DataFlex you will need [http://en.wikipedia.org/wiki/Internet_Information_Services IIS] )


When you have decided to use [[[ASP]] , then you should try to resist the urge to generate all the [[HTML]] from Visual DataFlex. The overall idea of ASP is to integrate your code into HTML in the most efficient manner (E.g. if you have a class called oHTMLWriter then something went wrong!)
When you have decided to use [[ASP]] , then you should try to resist the urge to generate all the [[HTML]] from Visual DataFlex. The overall idea of ASP is to integrate your code into HTML in the most efficient manner (E.g. if you have a class called oHTMLWriter then something went wrong!)


The trick is to let your VDF code handle the data and business logic and let [[ASP]] handle the [[HTML]] presentation.  
The trick is to let your VDF code handle the data and business logic and let [[ASP]] handle the [[HTML]] presentation.  




 
= Getting started =
 
== Getting started ==


To be able to develop ASP pages , then you need [http://en.wikipedia.org/wiki/Internet_Information_Services Internet Information Server]. The most easy way to get that these days is to grab Microsofts Web Platform installer here :
To be able to develop ASP pages , then you need [http://en.wikipedia.org/wiki/Internet_Information_Services Internet Information Server]. The most easy way to get that these days is to grab Microsofts Web Platform installer here :
Line 24: Line 22:


You will also need to install [[Webapp server]] from the [[Portal:Visual DataFlex]] installer. Note that you will need version 14.1 to support the windows 2008 server.
You will also need to install [[Webapp server]] from the [[Portal:Visual DataFlex]] installer. Note that you will need version 14.1 to support the windows 2008 server.


== Putting on your [http://www.professorsolomon.com/thinkingcap.html Thinking cap]==
== Putting on your [http://www.professorsolomon.com/thinkingcap.html Thinking cap]==
Line 33: Line 30:
*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)


= In the trenches =
== Styling using css ==
== Styling using css ==