On 2004-02-10, David Naughton <naughton-OJFnDUYgAso@xxxxxxxxxxxxxxxx> wrote:
>
> Further, with respect to "web-specific at the core",
> I like that C::A provides convenience methods like
> "query" for automatic access to common web
> objects/services/data/etc. My hope is that we can
> figure out a way to keep the convenience methods for
> things like query/request, session, template path,
> etc., while allowing the user to configure what object
> types, etc. those methods return. Another CPAN module,
> OpenPlugin, already does at least some of this, but
> seems way too complicated. I'd like to keep C::A's
> lightweight simplicity, too.
I like the convenience methods as well. They might use be moved out
a core. So to get something CGI::App-like, you might explicitly load a
sub-class. maybe:
App::Pipeline::CGI
or
CGI::Application::Pipeline...
I was also wondering if this would be a good time to make a design
decision like Module::Build did. A '::Compat' module could be provided
to support the current interface of CGI::Application. The main
version could wonder away from this. For example, I could see a basic
class that is has even simpler interface and documentation than
CGI::App. That is, it could dispense with providing the less used
cgiapp_init, prerun, and postrun methods.
So for new people learning it, it wouldn't look so complicated and
confusing. On the other end of the spectrum, there could also be a
power-user base class for web/db applications, that might already
support methods for the CGI object, session handling, form validation
and database access.
Granted, these kinds of things are still possible with CGI:App. And I'm
still not convinced enough I want to migrate to another system. However,
I'm intrigued enough to see what the differences might look like. :)
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
mark-WmyhgDpj2fCHT8/ATrE1yw@xxxxxxxxxxxxxxxx Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
---------------------------------------------------------------------
Web Archive:
http://www.mail-archive.com/cgiapp-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail:
cgiapp-unsubscribe-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
cgiapp-help-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
|