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

2006-02-06 Thread Rene Dudfield
I have no idea what any of these template specifications are about yet. I do value your approach to being inclusive, and allowing as many as possible styles to play. As you have said yourself, I think many people can not understand what everyone is talking about. So until people have something w

Re: [Web-SIG] Standardized template API

2006-02-01 Thread Rene Dudfield
On 2/2/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > C'mon guys, where's the shooting down of my ideas that y'all promised? ;) > Bang. ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.

Re: [Web-SIG] WSGI thread affinity/interleaving

2005-12-19 Thread Rene Dudfield
Large files should just return a file. So that the file descriptor is available for the most efficient sending. So you could use sendfile(2), or another helper process send the file. On 12/20/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 11:59 AM 12/19/2005 -0800, Robert Brewer wrote: > >

Re: [Web-SIG] Webapplication and Javascript

2005-09-21 Thread Rene Dudfield
really working very well across implementations/languages. Cheers, Rene Dudfield. Melbourne websites, creative and technical services http://www.madecollective.com/ On 9/22/05, Stephan Diehl <[EMAIL PROTECTED]> wrote: > Hi, > > I'm in the process of developing a kind of web

Re: [Web-SIG] cusom config files. was (PasteDeploy 0.1)

2005-08-23 Thread Rene Dudfield
On 8/24/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > I'm not sure what you mean by SQL DB, but if you mean putting the > configuration in a database, I don't see why that would be useful or > good. Similarly, I don't know what you mean by "file system". > By sql db I meant storing configur

[Web-SIG] cusom config files. was (PasteDeploy 0.1)

2005-08-23 Thread Rene Dudfield
Hey, are custom config files with custom parsers needed or wanted for configuration? Would not a .ini, python, xml, sql db, file system, or even apache style config file be better? If a common format is used then: 1) less code to maintain. 2) less to learn/document. Cheers, ___

Re: [Web-SIG] PasteDeploy 0.1 (was: Re: More on app configuration...)

2005-08-21 Thread Rene Dudfield
Hey, a what is it good for/why use it section would be good on the web page. Cheers, On 8/22/05, Ian Bicking <[EMAIL PROTECTED]> wrote: > I did a bunch more work on this today. It's still in an early state, > but I decided I should release versions more often. So it's out there: > >http:

Re: [Web-SIG] Session interface, v2

2005-08-20 Thread Rene Dudfield
Looks quite good. It should be able to handle all the uses I have for sessions. I am sure it will change a little once it is started to be implemented. > > * Scenario 2: Same, but the apps are in separate processes. The > > dispatcher remains. (forking servers) > > If the two apps share the s

[Web-SIG] WSGI app in a zope directory?

2005-08-18 Thread Rene Dudfield
Hey, does anyone know of a way to get a wsgi app inside of zope? Cheers. ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

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

2005-08-17 Thread Rene Dudfield
Some more requirements for sessions can be found at the php page on sessions. Hash function declaring: Chosing eg md5/sha. Also by using a distributed hash function you can easily route the request to a specific web server. So with one rewrite rule you can have your scalable sessions/session

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

2005-08-12 Thread Rene Dudfield
Ok, here's my super list of wanted session features. Multiple reader, single writer locking. Or MVCC would be nice :) Otherwise if you use it for multiple requests at once(as in with ajax apps) everything slows way down. Having in the api a way to say 'I am just opening this for reading' would

Re: [Web-SIG] WSGI deployment: an experiment

2005-07-28 Thread Rene Dudfield
Hey, There is a lot of terminology here that would not be understood by some random sys admin coming to have a look at the config file. Below I pasted it here without the comments. Sometimes it is good to have a look at things without comments to see how readable they are. Is this config file r

[Web-SIG] file system configuration.

2005-07-25 Thread Rene Dudfield
What about apache style configuration, that uses the file system. It works quite well, and can be understood by all those people using apache already. You can have the main configuration done where-ever, but allowing people to add in specific configuration at any part in the url by simply adding

Re: [Web-SIG] Rails pushing FastCGI into megahost

2005-06-16 Thread Rene Dudfield
Nice one :) Hopefully this will help things... I think the key is python keeping a low memory foot print for it to be available on lots of shared hosts. Where it uses up 0 memory if there are no requests for the site, and maybe 5-10MB per site when there are requests. With 50-200 sites per machi

[Web-SIG] lighttpd supports

2005-06-16 Thread Rene Dudfield
friends use. Cheers, Rene Dudfield. www.madecollective.com www.pretendpaper.com ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail

Re: [Web-SIG] Daemon server management

2005-06-10 Thread Rene Dudfield
This is a great idea! It gets around the problem of broken modules too. If a module is updated on the live site, and it doesn't work for whatever reason, then the old server is still around to serve requests. Keeping the old server around until it has finished its requests would be good. It wou

Re: [Web-SIG] PEP222 and python on the server?

2005-06-09 Thread Rene Dudfield
Is not possible to use something like sendfile(2) with wsgi? Where you need a socket file descriptor to use it. If not, then you can't send files very efficiently. On 6/10/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 03:34 PM 6/9/2005 -0700, [EMAIL PROTECTED] wrote: > >The only limitation

Re: [Web-SIG] JavaScript libraries

2005-05-02 Thread Rene Dudfield
m is still working around the bugs, and different implementations behaviours. Cheers, Rene Dudfield e: "@".join( reversed(['madecollective.com', 'rene']) ) w: http://www.madecollective.com/ w: http://www.pretendpaper.com/ For cr

Re: [Web-SIG] Re: Preferred set of WSGI servers

2005-04-29 Thread Rene Dudfield
ts of M will continue raising exceptions (but if, for example, the source code for M is edited between import attempts, then perhaps later attempts will succeed, or raise a different exception). This can break existing code, but in such cases the code was probably working before by accident. In th

Re: [Web-SIG] Preferred set of WSGI servers

2005-04-29 Thread Rene Dudfield
Supporting fastcgi is useful for two reasons. Supporting fastcgi so that you can be called by another httpd, eg apache, or lighttpd. Some people allready use fastcgi to call php, python or ruby on rails apps. Supporting it to call php, or ruby on rails apps. This way, twisted could run .php fil

Re: [Web-SIG] Preferred set of WSGI servers

2005-04-28 Thread Rene Dudfield
s separate processes. Each process also uses a different database user, to add in another layer of security. So basic members database user does not have access to select/delete/update tables, the process serving their requests should not be able to access them either. On linux(and other unixes

Re: [Web-SIG] JavaScript escape function

2005-04-25 Thread Rene Dudfield
repr works quite well, and I've used it with lots of different javascript... However I'm not completely confident in it as it fails for unicode. eg. >>> a = u'a=\'asdfd\';\n\r\n' >>> a u"a='asdfd';\n\r\n" >>> print repr(a) u"a='asdfd';\n\r\n" This is an invalid js string. eek. So first we need

Re: [Web-SIG] WSGIKit and frameworks

2005-04-18 Thread Rene Dudfield
Hi Ian, I'm interested in using any WSGI middleware, and servers you have in there. Do you have any documentation or examples on how to use those bits? WSGI middleware and servers should be quite reusable for other people wanting to pick bits from various frameworks/libraries. I really like Ala