From: Brian Candler Date: 2002-11-10T22:39:49+09:00 Subject: Re: Random idea: Procedural CGI?? On Sat, Nov 09, 2002 at 11:56:36AM +0900, Hal E. Fulton wrote: > I've been musing about something today, > and I've decided that one thing making > CGI tedious is the fact that it's rather > non-procedural (and not in an OO way). ... > That is, I'd like it if I could write > something like: > > # Display a form and get the data back > results = myform.display() > if results.name == "" > results = myform.display("Name required") > else > # Process... > end See discussion "CGI sessions as threads?" from 6th October, in particular http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/52624 I am looking forward to seeing Avi's code :-) Regards, Brian.