How to create VDF Web Applications: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Line 28: Line 28:


= Web development primer  =
= Web development primer  =
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!
== The basics ==  
== The basics ==  
You should always make sure that any html/javascript/css you do validates to the current standards. It will save you time in the long run.
You should always make sure that any html/javascript/css you do validates to the current standards. It will save you time in the long run.
'''Toolset for writing valid clientside code:
'''
*[[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/ )
*[[Javascript]] ( validate here: http://www.jslint.com/ )
*[[Javascript]] ( validate here: http://www.jslint.com/ )


== Advanced ==
'''Advanced techniques'''
Before doing more advanced stuff on the clientside of things, you should take the time to familiarize yourself with the material on quirksmode.org. It provides a great overview on how things operate on the different browsers out there.
*[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]






[[category: Web Programming]] [[Category:Stub]] [[Category:Cookbook]]
[[category: Web Programming]] [[Category:Stub]] [[Category:Cookbook]]

Revision as of 13:45, 5 October 2008

How to create VDF Web Applications page under construction


Introduction

Getting started

To be able to develop ASP pages , then you need Internet Information Server. The most easy way to get that these days is to grab Microsofts Web Platform installer here :

http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx (note that it is in beta right now)

This tool will provide you with a full stack for developing asp related things. It will also keep track of certain things you need to enable on Windows Vista and Windows Server 2008.

The overall idea about Active Server pages and vdf

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 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

  • 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

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!

The basics

You should always make sure that any html/javascript/css you do validates to the current standards. It will save you time in the long run.


Toolset for writing valid clientside code:

Advanced techniques