On Wed, 2011-08-31 at 06:29 -0700, Ben Sizer wrote: > On Aug 30, 2:09 pm, Ben Sizer <[email protected]> wrote: > > I'm putting together a form, and looking for ways to do it, and > > although I'm used to just writing the HTML by hand, I'll happily use > > something to generate it also. The webhelpers.html.tag stuff looks > > like it would work: but are there any examples of people using this > > with Pyramid? > > Although I'm grateful for the suggestions I've had so far, and have > had some luck with deform, I've still not got a direct answer to this > question; am I asking in the right place? > > Having started making forms with deform (and finding that it doesn't > seem to play nicely with anything other than Chameleon - why? > Shouldn't HTML be the lingua franca here, not some template engine?) > and then found out that Chameleon doesn't do template inheritance > without some sort of bizarre macro language (is this not an incredibly > common use case, for menus and the like?), I'm finding myself wanting > to keep things simple and avoid using these big packages that attempt > to solve a problem magically but actually make every edge case 10x > more complicated, and instead just generating the HTML I need, where I > need it.
For the record: https://github.com/mfeif/deform_mako (replaces the Chameleon templates). Deform is extensible this way, as it mentions in its docs. But really the minute someone starts bumping up against styling/templating problems in Deform that seem to foreshadow a drip-drip-drip of complaints and recriminations, I usually just tell them to find something else. ;-) Life's too short. - C -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
