How to create VDF Web Applications: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{underconst}}
{{underconst}}


asp pages are about creating HTML markup to interface serverside code .  This means that asp is not a real programming language - it is about creating html.
asp pages are about creating HTML markup for serverside code in an easy way .  


to write asp "code" then you need to use 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 a microsofts version of [[Javascript]] )
*[http://en.wikipedia.org/wiki/JScript jscript] (jscript is a microsofts version of [[Javascript]] )


typical use of ASP includes usage of serverside components. You can write these using Visual dataflex.
 
The scripting languages can run both on the server and the client side.
 


= serverside =
= serverside =
Line 16: Line 22:




= clientside =
= Web development primer  =


NOTE: currently there are no direct support for editing these things in the Visual DataFlex Studio
== The basics ==
*[[HTML]] ( validate here: [http://validator.w3.org/]  )
*[[HTML]] ( validate here: [http://validator.w3.org/]  )
*[[CSS|Cascading Style Sheets]] ( validate here: http://jigsaw.w3.org/css-validator/ )
*[[CSS|Cascading Style Sheets]] ( validate here: http://jigsaw.w3.org/css-validator/ )
Line 27: Line 33:
*[http://www.quirksmode.org/js/contents.html quirksmode javacript]
*[http://www.quirksmode.org/js/contents.html quirksmode javacript]
*[http://www.quirksmode.org/css/contents.html quirksmode css]
*[http://www.quirksmode.org/css/contents.html quirksmode css]
= Text Editors =
*[[Notepad++]] (Programmer's text editor)
*[[TextPad]]
*[[TopStyle]] (Tool for creating standards-compliant sites)





Revision as of 10:58, 4 October 2008

How to create VDF Web Applications page under construction

asp pages are about creating HTML markup for serverside code in an easy way .

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


The scripting languages can run both on the server and the client side.


serverside

  • Web Business Process (these things gets registered and you can access them in asp)
  • Global.asa (this is where your code is stackup up. check the list of WBP's there)


Web development primer

The basics

quirksmode

Quirksmode.org offers valuable resources for web development: