[Zope3-Users] programming concept help needed

Warner, Christopher Christopher.Warner at nymag.com
Mon Nov 24 16:13:24 EST 2008


The z3c.form stuff need not be complicated. It¹s more in-depth than say
normal forms or building out your content object but not overtly so. A quick
search pops up this http://www.carduner.net/docs/z3c-tutorial/forms.html
tutorial which is pretty good.

-- 
Christopher Warner
Manager, Content Management Systems
New York Media | 75 Varick St, 4th Fl
New York, NY 10013
phone: 212.508.0542
cell: 646.334.6780



On 11/14/08 5:32 PM, "Hermann Himmelbauer" <dusty at qwer.tk> wrote:

> Am Freitag 14 November 2008 22:55:33 schrieb Jim Pharis:
>> > Zope3'ers,
>> >
>> > I'm struggling with one particular concept in Zope3 and I'm hoping
>> > someone can provide me with some insight into this.
>> >
>> > Let me stage an example to explain the concept I'm struggling with. I
>> > have 2 content types, a car and an orange (completely different with
>> > no similarities besides that they are objects). I've written classes,
>> > declared interfaces, provided browser views and page templates for
>> > each type. I'm able to view, edit, and add these types. Now here is
>> > where I get confused. What if I need these 2 content types to be
>> > viewable and be modifiable on a single page? For example, say I have a
>> > use case where I need to change the oranges cost and the cars cost on
>> > a single edit page. Or what if I need to view attributes from the
>> > orange and the car on a single page. So far, in all the examples I
>> > have seen, they only ever deal with a single content type at a time.
>> > Making a content type to meld these types into single type wouldn't
>> > make sense. How would I accomplish this.
> 
> Issues like that led me to z3c.form, which implements subforms that can be
> used to do things like that and much more.
> 
> Although it's complicated - and I tell you - it's really complicated - it's
> absolutely worth it. If you are interested, I recommend to have a look at
> z3c.formdemo which points out several applications.
> 
> Best Regards,
> Hermann
> 
> --
> hermann at qwer.tk
> GPG key ID: 299893C7 (on keyservers)
> FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20081124/67272e42/attachment.html 


More information about the Zope3-users mailing list