Re: [Catalyst] CatalystX::CRUD

2007-09-24 Thread Peter Karman
On 09/23/2007 11:24 AM, Matt S Trout wrote: On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote: CXCM subclasses would need to implement at least the following methods: * new_object - returns CatalystX::CRUD::Object-new() * fetch - returns

Re: [Catalyst] CatalystX::CRUD

2007-09-24 Thread Christopher H. Laco
Peter Karman wrote: On 09/23/2007 11:24 AM, Matt S Trout wrote: On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote: CXCM subclasses would need to implement at least the following methods: * new_object - returns CatalystX::CRUD::Object-new() * fetch - returns

Re: [Catalyst] CatalystX::CRUD

2007-09-24 Thread Matt S Trout
On Mon, Sep 24, 2007 at 10:23:11AM -0500, Peter Karman wrote: On 09/23/2007 11:24 AM, Matt S Trout wrote: On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote: CXCM subclasses would need to implement at least the following methods: * new_object - returns

Re: [Catalyst] CatalystX::CRUD

2007-09-23 Thread Matt S Trout
On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote: I've been thinking the last couple days about ways to expand Catalyst::Controller::Rose to play more nicely with other models besides C::M::RDBO. This is per mst's request to open up the RHTMLO goodness to non-RDBO users, and

Re: [Catalyst] CatalystX::CRUD

2007-09-23 Thread Perrin Harkins
On 9/23/07, Matt S Trout [EMAIL PROTECTED] wrote: Do you have any thoughts on how to paper over DBIC's ability to chain searches vs. the lack of that feature in RDBO? Isn't it primarily a way to build up your search criteria with multiple small method calls instead of one big one? It doesn't

Re: [Catalyst] CatalystX::CRUD

2007-09-23 Thread Matt S Trout
On Sun, Sep 23, 2007 at 01:42:00PM -0400, Perrin Harkins wrote: On 9/23/07, Matt S Trout [EMAIL PROTECTED] wrote: Do you have any thoughts on how to paper over DBIC's ability to chain searches vs. the lack of that feature in RDBO? Isn't it primarily a way to build up your search

Re: [Catalyst] CatalystX::CRUD

2007-09-23 Thread Perrin Harkins
On 9/23/07, Matt S Trout [EMAIL PROTECTED] wrote: You've never implemented a saved search function that allows you to 'search within' a saved search? That's usually not a difficult problem, since you already have a way to turn criteria from a web form into a search, and you're just adding one

Re: [Catalyst] CatalystX::CRUD

2007-09-23 Thread Matt S Trout
On Sun, Sep 23, 2007 at 09:31:35PM -0400, Perrin Harkins wrote: On 9/23/07, Matt S Trout [EMAIL PROTECTED] wrote: You've never done a view all posts owned by the selected set of users link? This sort of thing in DBIC just becomes $posts_rs = $users_rs-search_related('posts');

[Catalyst] CatalystX::CRUD

2007-09-21 Thread Peter Karman
I've been thinking the last couple days about ways to expand Catalyst::Controller::Rose to play more nicely with other models besides C::M::RDBO. This is per mst's request to open up the RHTMLO goodness to non-RDBO users, and because I now find myself wanting the same thing. I have a model that