Application server

2009-03-01 Thread Kless

After of reading about  Tokyo Cabinet [1] and MongoDB [2] --schema-
free document databases--, I found that the company [3] which has
built MongoDB also has developed Babble [4], a cloud runtime
environment and application server.

You must know how hard/heavy is deploy a server for a web application,
so this technology could be the next big step.

They are working to run an implementation of the Django framework over
its platform. And I think that Pylons could make anything great if
could be used/implemented too over this platform.


[1] http://tokyocabinet.sourceforge.net/index.html
[2] http://www.mongodb.org/display/DOCS/Home
[3] http://www.10gen.com/
[4] http://www.babbleapp.org/pub.DevOverview
[5] http://www.babbleapp.org/DevTutorial2

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Application server

2009-03-01 Thread Kless

If pylons work under Jython, then should get it to go under babble.
And looks that is mostly working on Jython:

http://wiki.python.org/jython/PylonsOnJython

On 1 mar, 11:20, Kless jonas@googlemail.com wrote:
 After of reading about  Tokyo Cabinet [1] and MongoDB [2] --schema-
 free document databases--, I found that the company [3] which has
 built MongoDB also has developed Babble [4], a cloud runtime
 environment and application server.

 You must know how hard/heavy is deploy a server for a web application,
 so this technology could be the next big step.

 They are working to run an implementation of the Django framework over
 its platform. And I think that Pylons could make anything great if
 could be used/implemented too over this platform.

 [1]http://tokyocabinet.sourceforge.net/index.html
 [2]http://www.mongodb.org/display/DOCS/Home
 [3]http://www.10gen.com/
 [4]http://www.babbleapp.org/pub.DevOverview
 [5]http://www.babbleapp.org/DevTutorial2
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



error handler

2009-03-01 Thread przemek.ch

Hi,

I was wondering if its possible to handle errors returned from
http://wiki.pylonshq.com/display/pylonscookbook/A+Better+Way+To+Limit+File+Upload+Size

class LimitUploadSize(object):

def __init__(self, app, size):
self.app = app
self.size = size

def __call__(self, environ, start_response):
req = Request(environ)
if req.method=='POST'
len = req.headers.get('Content-length')
if not len:
return HTTPBadRequest(No content-length header
specified)(environ, start_response)
elif int(len)  self.size:
return HTTPBadRequest(POST body exceeds maximum
limits)(environ, start_response)
resp = req.get_response(self.app)
return resp(environ, start_response)

using StatusCodeRedirect method?

Regards
P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



test please ignore

2009-03-01 Thread Jose Galvez
sending a test message please ignore

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Application server

2009-03-01 Thread MilesTogoe

Jose Galvez wrote:
 Interesting according to their docs they've reimplemented Django in 
 javascript.  I know its a jvm appserver but I'm wondering if they'll 
 be able to add support for wsgi standard apps (which pylons really is 
 anyway) rather then having to use jython.  The issue I have with 
 jython is not that it would not be possible to run pylons within it 
 (have not tried it, have not read the wiki either so I don't know all 
 the issues) but that third party modules would not be available under 
 jython.

 Jose

 Kless wrote:
  If pylons work under Jython, then
 should get it to go under babble.

  And looks that is mostly working on Jython:

 

  http://wiki.python.org/jython/PylonsOnJython

 

  On 1 mar, 11:20, Kless jonas@googlemail.com wrote:

 

  After of reading about  Tokyo Cabinet [1] and MongoDB [2]
 --schema-

   free document databases--, I found that the company [3] which
 has

  built MongoDB also has developed Babble [4], a cloud runtime

  environment and application server.

 

  You must know how hard/heavy is deploy a server for a web

  application, so this technology could be the next big step.

 

  They are working to run an implementation of the Django
 framework

  over its platform. And I think that Pylons could make anything

  great if could be used/implemented too over this platform.

 

  [1]http://tokyocabinet.sourceforge.net/index.html

  [2]http://www.mongodb.org/display/DOCS/Home

  [3]http://www.10gen.com/

  [4]http://www.babbleapp.org/pub.DevOverview

  [5]http://www.babbleapp.org/DevTutorial2

 

  

 

 


 
I guess I'm wondering what the comparison is between TokyoCabinet, 
MongoDB, with CouchDB.  I've played with CouchDB and like it. 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Application server

2009-03-01 Thread Philip Jenvey


On Mar 1, 2009, at 6:26 AM, Kless wrote:


 If pylons work under Jython, then should get it to go under babble.
 And looks that is mostly working on Jython:

 http://wiki.python.org/jython/PylonsOnJython


That wiki page was a little stale, I've now updated it. Pylons 0.9.7  
now supports Jython.

I'm not sure what it would take to integrate it with Babble as it  
seems to be its own big app server thing. Looks like integrating it  
with Django isn't too straightforward.

Having a Pylons app in Jython that works with some Java libs (like a  
database) in the same process is now a definite possibility, though.

--
Philip Jenvey


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: 0.9.7 sessions not timing out

2009-03-01 Thread Ben Bangert

On Feb 25, 2009, at 11:32 AM, snorkel wrote:


just upgraded to 0.9.7 and sessions don't appear to be timing out
anymore.

relevent INI setting.

beaker.session.type = ext:database
beaker.session.sa.url = postgres://user:p...@127.0.0.1:5432/ 
securetrans

beaker.session.table_name = sessions
beaker.session.key = somekey
beaker.session.secret = somesecret
beaker.session.cookie_expires = True
beaker.session.timeout = 120


120 seconds go by and the session data is still there.

Am I doing something wrong?


Nope, this is a known bug, a new Beaker is being issued shortly that  
addresses it, you'll be able to update just beaker then with:

easy_install -U Beaker

Version 1.2.3 will address the bug (should be out later today or  
tomorrow)


Cheers,
Ben

smime.p7s
Description: S/MIME cryptographic signature