|
CGIKit is componented-oriented CGI application framework like Apple Computer's WebObjects. This framework services Model-View-Controller architecture programming by components based on a HTML file, a definition file and a Ruby source.
$LOAD_PATH/cgikit/elements: | For extention elements |
$LOAD_PATH/cgikit/components: | For extention components |
Use install.rb for installing.
% ruby install.rb config % ruby install.rb install
You can use CGIKit without install. Require 'cgikit' after copying cgikit.rb to the directory of voluntary.
This is a simple application showing "Hello World!". The application that uses only an element of CKString will let you understand the architecture.
Examples for dynamic elements, multiple submit buttons and multi-locale. I hope that you will be surprised for a little code.
An access counter with cookie.
Processes form data ( CGIKit generally processes it automatically ) and HTTP headers.
Shows error pages by the error occuring.
CGIKit is copyright (C) 2002- SPICE OF LIFE. It is a free software distributed under the GPL license.
SUZUKI Tetsuya <suzuki@spice-of-life.net>