[Catalyst] Catalyst::Example::InstantCRUD RFC

Dobrica Pavlinusic dpavlin at rot13.org
Sun Jan 15 18:59:51 CET 2006


On Sun, Jan 15, 2006 at 01:58:52PM +0100, Zbigniew Lukasiak wrote:
> Thank you for the patch.  I don't know how your error could happen,
> the file for "Catalyst::Helper::Model::DBICform" is present in the tar
> package I attached to my first email.  Are you sure you added the path
> to the library to your PERLLIB, or installed the package to your local
> perl libs?

This was my mistake. I tried to run it without installing it first.
sorry about that.

> Anyway I completely restructured the directories and file names and
> added the correct load tests - so now theoretically 'make test' should
> make sure that all the needed perl files are present.  Now I'll try to
> refactor a bit the code - as in many places it uses quite ancient
> Catalyst conventions.
> 
> If you still have problems I can help you via #catalyst IRC channel.

I might seem like old-timer, but I never felt cozy around IRC channels
:-) So, here is (last I hope :-) patch to fix dependencies.

I must say that it works quite well. I was expecting to get some kind of
default browse page (and maybe same content on header.tt or footer.tt
included at every page), but other than that it's cool.

Is there a public subversion (or some other SCM) so I can send patches
based from that?

I would like to add resolving of referential integrity (like drop-downs if
data is from other table). I have been playing with Rose::DB::Object for
now, but doing something like that doesn't seem to be a problem with
DBIx::Class. I almost think that using Rose::DB::Object::Loader would
give me same functionality without creating a model (or optionally
creating it). Is it sensible to extend this to other RDBMS-OO mappers?

-- 
Dobrica Pavlinusic               2share!2flame            dpavlin at rot13.org
Unix addict. Internet consultant.             http://www.rot13.org/~dpavlin




More information about the Catalyst mailing list