Hi Ben, I totally feel you. I had this same issue with Pylon's FormEncode initially. I had a hard time customizing it for my needs and was unable to get it working properly with AJAX. In the end I just gave up and designed my form the old-fashion way, in my opinion, the best way.
You are right. Keep things simple. I don't like magic and often times they cause more grief than joy. These packages like Deform and Chameleon are good to have, but not necessary when it comes to building a web application. Stay hungry, Stay foolish -Mark Huang On Aug 31, 9:29 pm, Ben Sizer <[email protected]> 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. > > But nobody wants to talk about generating small bits of HTML, it > seems. :) > > -- > Ben Sizer -- 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.
