[Catalyst] Reaction Development?

John Napiorkowski jjn1056 at yahoo.com
Tue Feb 6 18:37:31 GMT 2007


--- Matt S Trout <dbix-class at trout.me.uk> wrote:

> 
> On 6 Feb 2007, at 16:15, John Napiorkowski wrote:
> > package manage::Model::Action;
> >
> > my $r = ActionReflector->new;
> >
> > $r->reflect_action_for(
> >
> >   'mylib::schemas::db::membership::members',
> >    __PACKAGE__.'membership::members::create',
> >   'Create',
> > );
> >
> > [one of the above for each action type]
> >
> > Would also have solved the problem, I guess?  I
> guess
> > this way give you more finely tuned control.
> 
> Yeah, and the intent is to build a  
> 'Reaction::InterfaceModel::ObjectClass'
> classexporter thing that  
> sugars up Reaction::Class with stuff to make this
> easier.

So should we consider "reflect_actions_for" to be
deprecated?  Because right now if your DBIC classes
are anywhere other than in a folder right underneath
the Schema the trunk version won't work.

--john

> 
> -- 
> Matt S Trout, Technical Director, Shadowcat Systems
> Ltd.
> Offering custom development, consultancy and support
> contracts for  
> Catalyst,
> DBIx::Class and BAST. Contact mst (at)
> shadowcatsystems.co.uk for  
> details.
> + Help us build a better perl ORM: http://dbix- 
> class.shadowcatsystems.co.uk/ +
> 
> 
> 
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
>
http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
> 



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121



More information about the Catalyst mailing list