[Catalyst] RFC: Catalyst::Controller::REST::DBIC
peter at peknet.com
Mon May 5 19:28:58 BST 2008
On 05/05/2008 12:16 PM, J. Shirley wrote:
> The discussions about a better CRUD base class with REST and RPC
> adapters is obviously the better (best?) solution, but I also think
> there will be significant disagreement between appropriate URI
> resource conventions (as my exchange with zby is an example of.)
As has been mentioned before, there is an existing REST + CRUD implementation already on CPAN:
It definitely has URI styles in place already, though overriding fetch() to chain to a
different root (like /id instead of /) seems trivial to me.
There is also work started on a DBIC adapter, and existing model stores in place already
for RDBO and filesystem (LDAP is on my TODO list). SVN is here:
I hope to push a new release of CX::CRUD soon that will support the 'x-tunneled-method'
syntax of drolsky's REST::ForBrowsers in addition to the '_http_method' syntax of prior
Please, consider building on existing code like CX::CRUD and/or suggesting changes to the
current implementation, rather than starting a new project. There are already too many
CRUD-style Catalyst modules on CPAN imho.
Peter Karman . peter at peknet.com . http://peknet.com/
More information about the Catalyst