Re: [Maypole] Wish-list

From: Sebastian Riedel (sri at oook.de)
Date: Sun Sep 26 2004 - 23:12:25 BST


Simon Flack:
>
> I'd rather see the Maypole/Maypole::Model API extended. Something along these
> lines:
>
> sub Maypole::is_applicable {
> # ...
> return DECLINED unless $r->model_class->is_public($r->{action});
> }
>
> The current behaviour of using :Exported attribute could be moved to Maypole::
> Model::Base::is_public, and you could override that behaviour more easily in
> your app.

Done. :)

>
> Along similar lines, it'd be nice to be able to configure the mapping between
> the URI action and the model action. For example I'd like to be able to map,
> '/brewery/add' to &BeerDB::Brewery::Maypole_add rather than &BeerDB::Brewery::
> add.

That would be nice, but i'm not yet sure whats the right way to do it...

sebastian

_______________________________________________
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:56 GMT