Developing Content Types for Plone 3.X

4 Messages Forum Options Options
Permalink
yude@cip.cu
Developing Content Types for Plone 3.X
Reply Threaded More
Print post
Permalink
Hello

Im new developing contents for Plone 3.X, I was reading The Professional
Plone Development book, chapter 10, and Im in doubt cause I was
generating new contents Arquetypes based, using Argouml and ArchGenXml
for previos versions(2.5.X) and now I read is all by hand, although its
based in Arquetypes, or maybe I missed something, there is no way to
generate a product automatically? could someone explain me this?
I will appreciate that,

thanks,
Yude

pd: sorry my english, I speak spanish.

_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers
Derek Broughton-2
Re: Developing Content Types for Plone 3.X
Reply Threaded More
Print post
Permalink
yudeisy wrote:

> Hello
>
> Im new developing contents for Plone 3.X, I was reading The Professional
> Plone Development book, chapter 10, and Im in doubt cause I was
> generating new contents Arquetypes based, using Argouml and ArchGenXml
> for previos versions(2.5.X) and now I read is all by hand, although its
> based in Arquetypes, or maybe I missed something, there is no way to
> generate a product automatically? could someone explain me this?

Sure, you can continue to use ArchGenXML (I do - make sure you update to
version 2).  Martin prefers not to, and that's just a matter of preference.
It _does_ help to use paster to create your initial product skeleton (it
would be nice if this was integrated into ArchGenXML), but after that you
can work with ArchGenXML as did before.
 
> pd: sorry my english, I speak spanish.

I've read worse from native English-speakers :-)
--
derek


_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers
Martin Aspeli
Re: Developing Content Types for Plone 3.X
Reply Threaded More
Print post
Permalink

yude@cip.cu wrote:
Hello

Im new developing contents for Plone 3.X, I was reading The Professional
Plone Development book, chapter 10, and Im in doubt cause I was
generating new contents Arquetypes based, using Argouml and ArchGenXml
for previos versions(2.5.X) and now I read is all by hand, although its
based in Arquetypes, or maybe I missed something, there is no way to
generate a product automatically? could someone explain me this?
I will appreciate that,
You can definitely keep using ArchGenXML (version 2).

You can also use the 'local command' support in recent versions of ZopeSkel to generate skeletal code for new types. You need to start with the archetype template:

 paster create -t archetype my.product

Then, you create new types by going to the my.product folder and doing:

 paster addcontent contenttype

Martin
jjmojojjmojo
Re: Developing Content Types for Plone 3.X
Reply Threaded More
Print post
Permalink
yudeisy wrote:

> Hello
>
> Im new developing contents for Plone 3.X, I was reading The Professional
> Plone Development book, chapter 10, and Im in doubt cause I was
> generating new contents Arquetypes based, using Argouml and ArchGenXml
> for previos versions(2.5.X) and now I read is all by hand, although its
> based in Arquetypes, or maybe I missed something, there is no way to
> generate a product automatically? could someone explain me this?
> I will appreciate that,
>
> thanks,
> Yude
>
> pd: sorry my english, I speak spanish.

It's not as automatic as ArchGenXML, but you can try ZopeSkel. It works
well with Professional Plone Development (I heard that the archetypes
stuff in ZopeSkel was based on that book, so it makes sense).

I  have a somewhat general tutorial that uses it (still under
construction but useful) available at http://www.unc.edu/~jj/plone .

JJ


_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers