[Zope3-dev] An small idea for the future: Strategy pattern for the formulator fields.

Johan Carlsson [Torped] johanc@torped.se
Tue, 16 Apr 2002 17:39:20 +0200


At 16:20 2002-04-16 +0200, Lennart Regebro wrote:
>I pretty often discover that I have created a field of the wrong type, and
>then need to recreate it, with the correct type. Of course I then need to
>move it over to the correct group, set up all the parameters and errors and
>stuff again.
>
>I find this highly annoying. Would it be possible to adapt a strategy
>pattern for future formulator fields, maybe the one that gets merged into
>Zope3, so that the type of the field is a setting instead of an object?
>Especially if properties is going to be made with "Zope 3 core formulator"
>(which I understand is the idea).


Another thing that would speed up form management would be a
formulator definition perhaps format in XML.
It would able to parse a form definition file and change/modify fields,
groups and other settings accordingly.

The format would also be exportable.

Best regards,
Johan Carlsson



-- 
Torped Strategi och Kommunikation AB
Johan Carlsson -- johanc@torped.se

Birkagatan 9   -- SE-113 36  Stockholm   -- Sweden
Phone +46-(0)8-32 31 23   -- Fax +46-(0)8-32 31 83   -- Mobil +46-(0)70-558 
25 24

http://www.torped.se -- http://easypublisher.torped.se