Difference between revisions of "AOLserver and Tcl Crash Course"

From AOLserver Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
* ADP Pages
 
* ADP Pages
** Hello World
+
** Hello <Yourname> - Simple page, user submits form, displays name
 +
*** DOSSY: Create this example with very simple Tcl.
 
** Tcl Basics
 
** Tcl Basics
*** Minimalist Syntax
+
*** Explain Minimalist Syntax
*** Commands, Subcommands (Evaluated and Non-Evaluated)
+
**** Commands, Subcommands (Evaluated and Non-Evaluated)
*** Variables, Arrays
+
**** Working with variables set, expr
 
*** Control Structures
 
*** Control Structures
 +
**** if, while, etc.
 +
**** procedures
 
** Fetching GET and POST
 
** Fetching GET and POST
 
** Including / Referring to other pages
 
** Including / Referring to other pages
 
** Controlling Output
 
** Controlling Output
** Talking to MySQL
+
** Databases
 +
*** Defining the connection from as a pool in the config.tcl
 +
*** Selecting from the pool
 +
*** Executing Queries, Retrieving Values
  
 
== Questions ==
 
== Questions ==

Revision as of 15:02, 12 June 2007

Draft Outline

  • ADP Pages
    • Hello <Yourname> - Simple page, user submits form, displays name
      • DOSSY: Create this example with very simple Tcl.
    • Tcl Basics
      • Explain Minimalist Syntax
        • Commands, Subcommands (Evaluated and Non-Evaluated)
        • Working with variables set, expr
      • Control Structures
        • if, while, etc.
        • procedures
    • Fetching GET and POST
    • Including / Referring to other pages
    • Controlling Output
    • Databases
      • Defining the connection from as a pool in the config.tcl
      • Selecting from the pool
      • Executing Queries, Retrieving Values

Questions

  • Where does ADP excel?
  • What practices should PHP, ASP, JSP developers stop doing?
  • How can one use Tcl to write very concise and readable code?
  • How does one efficiently separate pages into MVC components if the wanted?