Soon (but the code is not finished) you'll be able to work with XML files instead of various python scripts. But you'll still have to change something like:

  Products/MyProduct/profiles/default/types/mytype.xml
  Products/MyProduct/profiles/default/schemas/myschema.xml
  Products/MyProduct/profiles/default/layouts/mylayout.xml

There will be no need for specialized install scripts anymore though.

We're still not there, in a few weeks...

Florent


On 17 Nov 2005, at 15:12, Joachim Schmitz wrote:

Hi,

for our current project we had to develop a lot of custom documenttypes and forms. I took the same approach as in CPSDocuments, that is putting
the Schemas in getMyProjectSchemas.py and the layouts in
getMyProjectLayouts.py and installing them in the install script.

However to find out what a single form is supposed to do, one has to
look in various sourcefiles, and the connection between the various
pieces is just by putting the right names at right places. That makes it very flexible but hard to understand and hard to maintain, especially if
your working in a team.

I am interested to hear if other developers share this view, and how
they address this.

--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to