[Web-SIG] CSS selector parsing

2005-06-02 Thread Sanghyeon Seo
Hello, I am new here. Web SIG charter says: "HTML and XML parsing are pretty solid, but a critical lack on the client side is the lack of a CSS parser." Is there any progress on a CSS parser? Any prior art? I wrote a quick one using SimpleParse. You can read it here: http://deadbeefbabe.org/past

[Web-SIG] HTMLTemplate

2005-06-02 Thread Shannon -jj Behrens
Anyone have any comments on HTMLTemplate? Thanks, -jj -- I have decided to switch to Gmail, but messages to my Yahoo account will still get through. ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: h

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Ian Bicking
Shannon -jj Behrens wrote: > Anyone have any comments on HTMLTemplate? Which one? I think there's a few. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sig

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread mike bayer
referring to this one: http://freespace.virgin.net/hamish.sanderson/htmltemplate.html it looks very cool and elegant, and clearly produces templates that are super-clean. however, I would wonder how convenient it really is to create 100% of all the programmatically generated content in your "co

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Jonathan Ellis
On Thu, 2 Jun 2005 18:42:47 -0400 (EDT), "mike bayer" <[EMAIL PROTECTED]> said: > > referring to this one: > > http://freespace.virgin.net/hamish.sanderson/htmltemplate.html > > it looks very cool and elegant, and clearly produces templates that are > super-clean. however, I would wonder how co

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Ian Bicking
mike bayer wrote: > referring to this one: > > http://freespace.virgin.net/hamish.sanderson/htmltemplate.html > > it looks very cool and elegant, and clearly produces templates that are > super-clean. however, I would wonder how convenient it really is to > create 100% of all the programmaticall

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Ian Bicking
Jonathan Ellis wrote: > The callback organization is interesting but seems more cumbersome than > the more-traditional approach you see in Cheetah et al. I guess if you > are absolutely allergic to any sort of code whatsoever in your > presentation layer, though, HTMLTemplate might be the way to g

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Ksenia Marasanova
Op 3-jun-2005, om 0:10 heeft Shannon -jj Behrens het volgende geschreven: > Anyone have any comments on HTMLTemplate? I used it quite a lot, and while it is fast, bugs free and simple to use, total separation of markup and code is IMHO contraproductive - every simple change mostly requires

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Shannon -jj Behrens
Everyone, thanks for your comments! Ksenia, that's exactly the kind of experience-backed opinion I was looking for ;) Ian, I also especially liked your comment, "If there's no code then it's not a presentation layer. It's an HTML layer, nothing more, just dumb data. Presentation requires logic.

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Shannon -jj Behrens
I blogged on the subject: http://jjinux.blogspot.com/ Thanks, -jj On 6/2/05, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > Everyone, thanks for your comments! Ksenia, that's exactly the kind > of experience-backed opinion I was looking for ;) Ian, I also > especially liked your comment, "If

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Tim Gilbert
[Oops, just realized I sent this directly to Shannon instead of the list. Sorry if you see it twice, Shannon.] HTMLTemplate is an interesting approach, although the API (or maybe the API documentation) seems a little convoluted. Another template system which takes a similar tack is PyMeld (http

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Sridhar Ratna
On 6/3/05, mike bayer <[EMAIL PROTECTED]> wrote: > > referring to this one: > > http://freespace.virgin.net/hamish.sanderson/htmltemplate.html > > it looks very cool and elegant, and clearly produces templates that are > super-clean. however, I would wonder how convenient it really is to I see

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Phillip J. Eby
At 08:13 AM 6/3/2005 +0530, Sridhar Ratna wrote: >On 6/3/05, mike bayer <[EMAIL PROTECTED]> wrote: > > > > referring to this one: > > > > http://freespace.virgin.net/hamish.sanderson/htmltemplate.html > > > > it looks very cool and elegant, and clearly produces templates that are > > super-clean.

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread aurora
On 6/2/05, Ian Bicking <[EMAIL PROTECTED]> wrote: > If there's no code then it's not a presentation layer. It's an HTML > layer, nothing more, just dumb data. Presentation requires logic. > > From that perspective, I think doing proper model/presentation > separation using something like HTMLTe

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread Donovan Preston
On Jun 2, 2005, at 8:58 PM, Phillip J. Eby wrote: > At 08:13 AM 6/3/2005 +0530, Sridhar Ratna wrote: > >> On 6/3/05, mike bayer <[EMAIL PROTECTED]> wrote: >> >>> >>> referring to this one: >>> >>> http://freespace.virgin.net/hamish.sanderson/htmltemplate.html >>> >>> it looks very cool and elegan

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread aurora
On 6/2/05, Ksenia Marasanova <[EMAIL PROTECTED]> wrote: > I used it quite a lot, and while it is fast, bugs free and simple to > use, total separation of markup and code is IMHO contraproductive - > every simple change mostly requires changing two files. > > --Ksenia Is changing two files too m

Re: [Web-SIG] HTMLTemplate

2005-06-02 Thread aurora
On 6/2/05, Donovan Preston <[EMAIL PROTECTED]> wrote: > So. That's what Nevow templates are about. > > Donovan I hope a few of us would at least agree on one thing: DOM based template rocks! Wai Yip ___ Web-SIG mailing list Web-SIG@python.org Web SIG:

[Web-SIG] DOM-based templating

2005-06-02 Thread Ian Bicking
While we're on the topic of DOM-based templating... FormEncode has a module htmlfill (http://formencode.org/docs/htmlfill.html), which is basically like DOM-based templating that just knows about HTML forms. But currently it doesn't use a DOM, it uses an HTMLParser subclass. This makes it muc