[Maypole] Last night's CPAN releases.

From: Marcus Ramberg (marcus at thefeed.no)
Date: Mon Jan 10 2005 - 10:09:30 GMT


Hey guys.

Last night I uploaded Maypole-View-Mason 0.3 and Maypole-HTTPD 0.1 to CPAN.

I've been procrastenating somewhat on the Mason view, because I felt
it's function was covered by MasonX::Maypole , however, after trying to
use that last night, I found some limitations I couldn't live with, and
some design choices I disagreed with. The limitations was mostly that it
can only run on Apache. I didn't like the fact that it needs to be a
base class for your maypole application, and that it overrides driver
methods such as parse_args and parse_location and I didn't like the
dhandler to dispatch the template names. So, Maypole::View::Mason is
somewhat different, and it has a right to live.
I've changed so that vars like $config $base and $request now are
available to all components as global variables. %ARGS now represent the
request arguments, like one is used to.
I've also changed the error mode to fatal, to act more similar to
Maypole::View::TT . Finally, the factory templates are updated to be
similar to the latest maypole factory templates.

Maypole-HTTPD was originally posted to this list by Simon Cozens, in a
form not releasable to CPAN. I've cleaned it up, and submitted patches
back to HTTP::Server::Simple, as well as uploaded
HTTP::Server::Simple::Static to CPAN. Now Maypole-HTTPD is updated to be
based on these modules, and works with Maypole-2.06. I find it a very
useful tool when developing my applications, as error messages are spit
directly to stdout, and it's much easier to restart your web-server. I'm
also planning on using it for allowing users to run mitiki on their own
computers once I release that. Note that it also works fine with
recently released versions of
Maypole-Plugin-Authentication-UsersSessionCookie, and Maypole-Plugin-Upload

Marcus

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT