Ajax and multithreaded pylons

2007-09-05 Thread Stefano Masini
Hi, I've been exploring Pylons and Prototype recently, so I'm definitely a newby, and I have a question about _pushing_ updates to a client using a suspended Ajax request. Please point me in the right direction if I just overlooked a solution that maybe already exists. Here's my thought: I saw

Re: Ajax and multithreaded pylons

2007-09-05 Thread Robert Leftwich
Stefano Masini [EMAIL PROTECTED] writes: Please point me in the right direction if I just overlooked a solution that maybe already exists. You might take a look at orbited - http://www.orbited.org/ - it even has a Pylons tutorial. HTH Robert

Re: i18n not work?

2007-09-05 Thread [EMAIL PROTECTED]
replace : outfile = open(mo_file, 'w') outfile = open(mo_file, 'wb') in frontend.py On 8月30日, 上午1時38分, Olli Wang [EMAIL PROTECTED] wrote: Hi, folk. I just follow pylons doc Internationalization and Localization(http://wiki.pylonshq.com/display/pylonsdocs/

Pylons and twisted?

2007-09-05 Thread Marcin Kasperski
Has anybody tried merging pylons techniques with twisted? In general it should be possible as twisted contains WSGI container... Purpose? Well, I have some twisted app (some works over the network) which would benefit from additional web interface. And would be nice if this could be colocated

Re: Pylons and twisted?

2007-09-05 Thread Yury Yurevich
On Wed, 05 Sep 2007 14:40:41 +0200, Marcin wrote: Has anybody tried merging pylons techniques with twisted? In general it should be possible as twisted contains WSGI container... http://twistedmatrix.com/trac/wiki/WebDevelopmentWithTwisted#IwantacontainerformyWSGIapplication .tac for

Pylons standalone script

2007-09-05 Thread neich
Hi, I am playing with the pylons framework and I have found something I don't know how to do it. I would like to write a python script that can access the models of my app, by I want to execute directly, not through a controller. For example, I would like to have a crontab process that perform

Re: Pylons standalone script

2007-09-05 Thread Ben Bangert
On Sep 5, 2007, at 2:45 PM, neich wrote: I am playing with the pylons framework and I have found something I don't know how to do it. I would like to write a python script that can access the models of my app, by I want to execute directly, not through a controller. For example, I would like

Re: Pylons and twisted?

2007-09-05 Thread Mike Orr
On 9/5/07, Marcin Kasperski [EMAIL PROTECTED] wrote: Has anybody tried merging pylons techniques with twisted? In general it should be possible as twisted contains WSGI container... Twisted has its own offerings (nevow), but I am not truly happy with them... It's certainly worth assessing

Re: turbogears style

2007-09-05 Thread Mark Ramm
Frankly speaking I'm afraid a little. It seems to me that turbogears guys are going to break everything in the next milestone and make a completely new framework. Though they will try to leave the same API as in 1.0 it will relatevely be broken and the code style will change. So it will be

Re: turbogears style

2007-09-05 Thread Mark Ramm
This means you can substitute a TG 2 controller or any other WSGI application instead of a Pylons controller. TG 2 does not have an action method; instead it parses the remaining URL to find an @expose'd method. TG's base controller then converts the return dict to a WSGI response, and

Re: turbogears style

2007-09-05 Thread Mark Ramm
On 9/3/07, skyogre [EMAIL PROTECTED] wrote: Hi. I liked the turbogears style of templates usage. Decorators are used to specify the template and function flash() or exceptions are used to display the result of the operation. Is there a way to get the similar usage in pylons-based code?