Zbigniew Lukasiak wrote on 1/20/08 1:56 PM:
I know this has been discussed already - but I can't find it in the archives.

What I conjured is:

/class/search
/class/id/1111/view
/class/id/1111/update
/class/create

Update and create use really the same logic and templates - so I just
forward to a create_or_update action from them.

What are your opinions?


that's essentially the CatalystX::CRUD::Controller API:

http://search.cpan.org/~karman/CatalystX-CRUD-0.22/lib/CatalystX/CRUD/Controller.pm

That API is intentionally RESTish, though there's no checking of HTTP method at 
all.

--
Peter Karman  .  http://peknet.com/  .  [EMAIL PROTECTED]

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to