Index: [Article Count Order] [Thread]

Date:  Fri, 22 Feb 2002 18:15:56 +0900
From:  "NAKAMURA, Hiroshi" <nahi@keynauts.com>
Subject:  [webricken:28] Re: samplet
To:  <webricken@notwork.org>
Message-Id:  <000001c1bb81$892ce280$85222fc0@sarion.co.jp>
In-Reply-To:  <20020221.033708.63216571.gotoyuzo@kotetsu.does.notwork.org>
X-Mail-Count: 00028

Hi,

> From: GOTOU Yuuzou [mailto:gotoyuzo@notwork.org] 
> Sent: Thursday, February 21, 2002 3:37 AM

> I'd like to bundle the sample of various WEBrick
> servlets with the package.  And I hope users can
> perform them without troublesome setup.

Sure.

> Then, I wrote the sample for writing samples based on
> the program of [webricken:18].  The archive of
> snapshot is here:
> 
>
http://rrr.jin.gr.jp/cgi-bin/cvsweb.cgi/samplet/samplet.tar.gz?cvsroot=g
otoyuzo&tarball=1

I checked samplet.rb and sample servlets. -- BTW,
samplet.rb is an servlet container sample which uses
WEBrick, isn't it? If so, name 'samplet.rb' let users
confused I think... --  I found shutdown servlet much fun!

But, hmm. I can understand that you don't want to restrict
servlets, but I tend to dislike global function '_setup_hoge()'
style... Is it a bad idea that letting servlet developers
define their container class includes WEBrick::AbstractServlet?
Is this more restricted than defining global '_setup_hoge'?

However, it is good to define this kind of interface and
releasing it to public.  I'll try to re-write my servlets,
then let's discuss about interface for servlets.

Regards,
// NaHi