Div
You can write web application like GUI programming.
Download
Install
install div
% ruby install.rb
- ???
Demo
- <URL:http://seki.homeip.net:2000/hako/> - Hakoiri-Musume
- <URL:http://seki.homeip.net:2000/saifu/> - sample for DBI/Pg
How does it work?
Div abstracts Web Application like GUI programming.
Dispatch Request
Div consists of two components. They are Tofu and Div::Div.
Build Response
Session Manager -- Tofu
Tofu is a session manager using cookie. Tofu can be used with WEBrick. (Of course, it can use also with CGI.)
Brick and Tofu
FYI. Tofu is the Japanese food made from soybean. The form of tofu is usually a rectangular parallelepiped like brick. Tofu is very weak. bean-curd. It is not related to Java Bean.
HTML Object like Widget -- Div::Div
The main functions of Div::Div are drawing of HTML.
Div::Div has states. Div::Div updates states according to a user's action. This is another important function.
babel
<URL:http://www.excite.co.jp/world/text/>
History
- 2003-02-07
- div-1.2.0
- add rwiki div (sample/rwiki)
- WEBrick-1.2.3 aware
- 2002-11-11
- using ERB2
- 2002-04-25
- add @div_seq
- 2002-04-19
- add sample/saifu
- 2002-03-16
- fix Div#action
- add Context#done
- add sample/rwiki
- 2002-03-13
- rename Methods (do_request, a, h, u)
- 2002-03-11
- change div_id, session_id
- 2002-03-05
- add sample/first
- 2002-02-25
- fix escape RWiki page name bug (sample/app)
- CGI parameter was hidden using Location (sample/app)
- 2002-02-24
- rescue RWiki server error (sample/app)
- add divd.rb (sample/app)
- 2002-02-23
- div-1.0.0