[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Re: Idea for Super class of CGI::Application


> Michael Peters
>
> I think that this is a very interesting idea and is very much like
something
> that we are doing here. We've written a 'head' C::A script that
creates
> instances of other C::As and runs them and then places their output
into a
> 'master' template. Each of the 'leaf' apps have their own namespace of
the CGI
> parameters so that they don't pollute anyone else's workspace. (This
is done
> simply with a prefix.) The 'head' script even datadumps each of the
instance
> objects created and displays each of those dumps when the 'head'
script is in
> debugg mode. This simplifies almost everything. All of our
applications are
> written as this 'head' script with differen 'leaf' scripts and
different
> templates. Everything global such as Db connections, cgi objects, etc
are
> handled by the 'head' script.

So show us some of the code.  How is it different or the same?  Can they
be combined?  Is what you use a good tool for converting existing
CGI::Apps to use this new design? ... Show us some code. :)

Jay Flowers


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.