Web Oriented Object Framework
User Guide (Version 0.4)
Preface
Detailed Table of Contents
Detailed Table of Contents
Preface
System Requirements
Quick Start
First Steps
Generating Stubs
Implementing the Stubs
Keeping State
Displaying the Page
Enhancing the Application
Laying out a Page
The Story So Far
Writing Page Templates
Getting User Input
Using the Flash
Configuring the Default Page
Finishing Up
Installation
Woof! under Apache 2
Dedicated CGI on Apache
Shared CGI on Apache
SCGI on Apache
Running as an Apache module
Woof! under Microsoft IIS
SCGI on IIS
Woof! under Lighttpd
SCGI on Lighttpd
Running as an SCGI server
SCGI on Linux
SCGI on Windows
Verifying the Installation
Woof! Basics
The Model-View-Controller Architecture
The Woof! Interpreter Model
Loading Packages
File System Layout
Directory Structure
File Naming and Ownership
Configuration Settings
Development Aids
Request Handling
URL Mapping
Default URL Mapping
URL Routes
URL Construction
The
controller
Object
A Simple Controller Example
Implementing Controllers
Implementing Actions
The
request
Object
The
session
Object
The
icookies
Object
The
flash
Object
The
params
Object
The
env
Object
Response construction
The
response
Object
Returning a Normal Response
Redirecting a Request
Sending Error Responses
Adding HTTP Response Headers
Sending Files and Non-HTML Data
The
ocookies
Object
Page Generation
Page Layout
Default Page Layout
Extending the Default Layout
Custom Page Layout
Page Sections
Template Based Page Sections
Directly Generated Page Sections
Locating Templates
The
pagevar
Object
Using Static Resources
Locating Static Resources
Using Images
Using Stylesheets
Woof! Template Format
Common WTF errors
Localization
Client Language Preference
Using Message Catalogs
Language-Specific Page Templates
The Woof! Library
Error Handling
Error Pages
Generating Exceptions
The Logging Interface
The Yahoo User Interface library
Tools and Utilities
installer - Installation Utility
wag - Woof! Application Generator
Generating controller stubs
Verifying controller stubs
bowwow - a Lightweight Web Server
bowwow.exe standalone executable
bowwow.tcl script
console - Interactive Console
ruffian - Documentation Generator
scgi_winservice - Woof! Windows Service
Recommended Reading
Acknowledgements
Preface
Table of Contents
Detailed Table of Contents
Preface
System Requirements
Quick Start
Installation
Woof! Basics
Request Handling
Response construction
Page Generation
Localization
The Woof! Library
Tools and Utilities
Recommended Reading
Acknowledgements
Woof! Version:
0.4,
Server
: Apache,
Interface
: CGI,
Tcl
: 8.6b1.1