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] change "?" into "/" in url

2005-07-23 Thread Jonathan Ellis
On Sun, 24 Jul 2005 09:32:20 +0430, "mohammad babaei" <[EMAIL PROTECTED]> said: > Hi, > how can i change "?" into "/" in urls ? It's quite platform-dependent... if Apache is an option, mod_rewrite is your friend. Well, okay, mod_rewrite isn't really friendly even on a good day, but it's a common

Re: [Web-SIG] JS libs: MochiKit

2005-07-28 Thread Jonathan Ellis
On Thu, 28 Jul 2005 10:22:09 -0700, "Brendan O'Connor" <[EMAIL PROTECTED]> said: > here's another: http://prototype.conio.net/ > > not as much documentation, not from a python-er, but I've heard it's > pretty useful. Heh. I don't think Bob would appreciate mochikit being mentioned in the same

Re: [Web-SIG] and now for something completely different!

2005-08-15 Thread Jonathan Ellis
On Mon, 15 Aug 2005 15:46:19 -0500, "Ian Bicking" <[EMAIL PROTECTED]> said: > > That is a design decision which not all frameworks (or other consumers > > of our session lib) might share. Apparently, given the current Python > > session modules out there, it's common to survive without caring? I kn

Re: [Web-SIG] and now for something completely different!

2005-08-15 Thread Jonathan Ellis
On Mon, 15 Aug 2005 15:57:55 -0500, "Ian Bicking" <[EMAIL PROTECTED]> said: > Jonathan Ellis wrote: > > On Mon, 15 Aug 2005 15:46:19 -0500, "Ian Bicking" <[EMAIL PROTECTED]> > >>In practice race conditions are very uncommon. Simultaneous reque

Re: [Web-SIG] and now for something completely different!

2005-08-16 Thread Jonathan Ellis
On Tue, 16 Aug 2005 11:48:36 -0400 (EDT), "mike bayer" <[EMAIL PROTECTED]> said: > - because a "read" operation also registers a "last accessed time" data > member, its not using multiple reader/single writer style locking, > everyone is a writer. However, since I am sensitive to iframes, ajax > c

Re: [Web-SIG] Session interface

2005-08-16 Thread Jonathan Ellis
On Tue, 16 Aug 2005 15:45:47 -0400, "Phillip J. Eby" <[EMAIL PROTECTED]> said: > >I'm not sure; I always try to make the cookie last longer than the session > >can. I suppose you could store information about when the cookie is > >supposed to expire in the session itself (since you can't read ex

Re: [Web-SIG] Session interface

2005-08-16 Thread Jonathan Ellis
On Tue, 16 Aug 2005 16:37:31 -0400, "Phillip J. Eby" <[EMAIL PROTECTED]> said: > At 01:14 PM 8/16/2005 -0700, Jonathan Ellis wrote: > >But there's a reason they're in such common use; it's a huge waste > >(particular for low-bandwidth clients) to store

Re: [Web-SIG] Session interface

2005-08-16 Thread Jonathan Ellis
On Tue, 16 Aug 2005 17:06:57 -0400 (EDT), "mike bayer" <[EMAIL PROTECTED]> said: > I also > think server-side sessions are an easy place to store user preferences > and > permissioning information originally loaded from the database, as a quick > and easy way to cut down on repeated database calls

Re: [Web-SIG] Bowing out (was Re: A trivial template API counter-proposal)

2006-02-07 Thread Jonathan Ellis
On Tue, 07 Feb 2006 11:12:04 -0600, "Ian Bicking" <[EMAIL PROTECTED]> said: > Maybe the reason those voices are missing -- I now realize -- is that > there aren't many "active page" frameworks left. Spyce was, but since > then I believe a more traditional controller-driven API has been added Ye

Re: [Web-SIG] httpy -- raise Response(409)

2006-02-27 Thread Jonathan Ellis
On Mon, 27 Feb 2006 12:07:52 -0500, "Chad Whitacre" <[EMAIL PROTECTED]> said: > From conversations this weekend (briefly with Jim; also with Guido) it > seems that the most controversial aspect of httpy's API is the use of > raise for flow control. I wonder if you all wouldn't mind helping me ge

Re: [Web-SIG] Time a for JSON parser in the standard library?

2008-03-10 Thread Jonathan Ellis
On Mon, 10 Mar 2008 09:37:35 -0400, "Mark Ramm" <[EMAIL PROTECTED]> said: > > Is it time there was a JSON codec included in the python standard library? > > I would definitely support the incusion of a JSON library in the > standard lib. And, I think that it should be simplejson which is > used