AOLserver and Tcl Crash Course
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
- Explain Minimalist Syntax
- 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
- Hello <Yourname> - Simple page, user submits form, displays name
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?