Powered by
SmartDoc
CGIKit User Guide
>>
CGIKit User Guide
ڎ
Install
System Requirements
Installing CGIKit
Loading Libraries
Architecture
Basic Concept
Component
Composition
Template (.html)
Comment
Binding (.ckd)
Literals
Code (.rb)
Process of Binding
Accessor Method
Form Data
Elements
Attribute
List of Elements
Process of CGIKit
Startup
Creates a CKApplication object
Sets parameters of the CKApplication object
Calls CKApplication#run
HelloWorld.cgi
After startup
Dynamic Elements
Optional HTML attributes and gotherh attribute
Validating input
Example: validating mail addresses
Format for rules
Converting data types
Operators
General elements
CKString
CKHyperlink
CKImage
Flow control
CKConditional
CKRepetition
Form
CKForm
CKTextField
CKText
CKCheckbox
checked attribute
value and selection attributes
CKRadioButton
CKPopUpButton
CKBrowser
CKSubmitButton
CKResetButton
CKFileUpload
Reusable Components
CKFrame
CKComponent
CKPartsMaker
CKContent
CKGenericElement
Cookie
Class CKCookie
Controlling cookie objects
Creating cookies
Getting cookies from a request object
Setting cookies to a response object
Removing cookies from browser
Removing cookies from a response object
Session Management
Automatic session management
Basic control
Getting sessions
Getting and setting session data
Saving sessions
Closing or clearing sessions
Saving session IDs
Authorization
Session expiration time
Browsers and IP addresses
Handling session errors
Database manager
Other notes
Permission error
Deleting session files
Deploying Applications
Installing applications
URLs for the applications
Managing resources
Resources and web server resources
Accessing to resources
An example: displaying an image file
Debugging
Running on command-line
Checking attributes of elements
Logging
Options
Performance tuning applications
mod_ruby
Saving name space of components
Changing an adapter to CKAdapter::ModRuby
WEBrick
CGIKit User Guide
>>