[Catalyst] Question on Catalyst::Example::InstantCRUD
Jonas
jonas.alves at gmail.com
Fri Jun 2 18:31:15 CEST 2006
Hi Zby,
Sorry for taking so long to answer.
One of the things that I was thinking about InstantCRUD was to make
changes to have scaffolding. Glad you are thinking in that too.
I agree with all your ideias and will be glad to help you.
I understand that error messages may change often, but i really like
to have the widget constraints in the column_info. I was thinking to
use I18N, so just the msgid goes there.
I saw that Matt gave some space to InstantCRUD at the Catalyst svn.
Very cool. :)
Attached is my patch against the trunk.
It is not finished yet, it's very alpha. I will be a little bit busy
the next week. But after that I will try to play with InstantCRUD
again.
--Jonas
> Hi Jonas,
>
> I am aware of the constraints of current InstantCRUD. Your list of
> changes looks pretty impressive and I would love to incorporate them.
> The only thing that I would like to negotiate with you is to make the
> changes compatible with the idea of scaffolding. The current state of
> InstantCRUD perhaps does not display it very well but my goal for this
> project is to make the autogenerated code maximally customizable but
> also upgradable. So that the user can use it both as an example, and
> learn from it and as a temporary part of his application that
> eventually may or may not be replaced by his own code and when he
> upgrades InstantCRUD to a newer version this should not break his
> application.
> The important question here is which changes we simplify and which
> not. I thought that changing the error messages is quite a common
> modification - that is why I put the column metadata into the
> generated controller and not just rely on the database column_info
> directly. I am also planning to use Tie::IxHash for the generated
> datastructures - so that the order of columns can be manipulated
> there. Of course it's all about trade-offs.
>
> --
> Zbyszek
> http://brudnopis.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: instantcrud.patch
Type: application/octet-stream
Size: 14969 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060602/450ac7b8/attachment-0001.obj
More information about the Catalyst
mailing list