Re: [Maypole] (no subject)

From: Simon Flack (sf at flacks.net)
Date: Mon Nov 22 2004 - 17:29:29 GMT


On Mon, 22 Nov 2004 16:59:23 +0000 (GMT), Aaron Trevena wrote
> On Fri, 19 Nov 2004, Simon Flack wrote:
> > That's pretty much what I had in mind. I just don't know how big an impact it
> > is. How many apps inherit from Apache::MVC compared to Maypole::Application
> > for example.
>
> Um.. I have a couple, but then I am still using Maypole 1.5
>
> is Maypole 2.x going to be backward compatible, can I still use
> simon's perl.com and developerworks articles as reference or a
> starting point or do they need updating or reworking?

I'm shooting for backwards compatibility, but I'm afraid the current version
of Maypole isn't backwardly compatible. I think the most incompatible change
was in 2.04, involving the model base class. I've previously been working on
this assumption:

    sub my_action :Exported {
        my ($r, $object, @args) = @_;
        ...
    }

But in 2.04, my code needs to change to:

    sub my_action :Exported {
        my ($r, $object, $id, @args) = @_;
        ...
    }

I'm not sure whether to revert that change.

See the following for differences between releases:
    http://search.cpan.org/src/SRI/Maypole-2.04/Changes

--simonflk

_______________________________________________
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