On Jan 25, 2008 8:24 AM, Andrew Smart <[EMAIL PROTECTED]> wrote: > > > > -----Ursprüngliche Nachricht----- > > Von: pylons-devel@googlegroups.com > > [mailto:[EMAIL PROTECTED] Im Auftrag von Mike Orr > > Gesendet: Freitag, 25. Januar 2008 17:06 > > An: pylons-devel@googlegroups.com > > Betreff: Re: Routes and WebHelpers status, and lxml > > > > That may be doable. I haven't looked at the code closely > > enough yet to determine whether WebHelpers would benefit from > > lxml's unique features. > > Besides beeing helpful in areas of HTML and CSS Pylons would come > with "easy-to-use XML batteries included" if we include/enable lxml > (at least as one supported option). > > Thats not unique for lxml - some of the other packages in dicussion will > provide this as well. I just want to point out that we shouldn't > restrict our focus on "what package would help most in the HTML/CSS > area"... What I want to say is: we should take a package which is also > helpful in the general XML arena as well.
Pylons will not be "batteries included". It will be "batteries supported in the documentation". Routes and Beaker will remain as dependencies because they're best-of-breed, and Pylons wouldn't be Pylons without Routes. But WebHelpers will go from dependency to add-on, because it's not essential or best-of-breed but merely an alternative to ToscaWidgets, FormAlchemy, DBSprockets, or whatever else comes along. (WebHelpers has some other features, but these are all optional too.) If we don't know which HTML generator is best, I think we know even less which XML generator is best. WebHelpers will come with limited XML output (RSS and Atom feeds I think), so it will need something that supports that. I think we'll find ElementTree is adequate for our limited purposes, given an etree-to-HTML converter which I believe exists, and has the advantage of being in the stdlib. (Except for Python 2.4 users -- is it easy to install for them? Does easy_install know to install it on 2.4 but not on 2.5?) Someday if lxml is put in the stdlib or becomes a standard for most of our users, we can switch to it. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---