Re: Pyjamas : Python - JS

2008-12-06 Thread Wichert Akkerman
Previously Eric Ongerth wrote: I have heard that the more you try to make Javascript behave like Python, the more you end up hating Javascript -- but that says nothing about Javascript itself. Javascript is really a different language, with different strengths. Perhaps the best plan is to

Re: Pyjamas : Python - JS

2008-12-06 Thread Kless
On 6 dic, 03:22, Eric Ongerth [EMAIL PROTECTED] wrote: But if you don't like Javascript, you have plenty of company. Including myself somewhat recently before I studied it more thoroughly and started trying harder with it ;-) Well, I hope that any day Lua can be embedded in the browser. I'm

Re: Pyjamas : Python - JS

2008-12-06 Thread Wichert Akkerman
Previously Kless wrote: On 6 dic, 03:22, Eric Ongerth [EMAIL PROTECTED] wrote: But if you don't like Javascript, you have plenty of company. Including myself somewhat recently before I studied it more thoroughly and started trying harder with it ;-) Well, I hope that any day Lua can be

Beaker with database session...

2008-12-06 Thread Marin
I was trying to make beaker work with database sessions like it was described in the documentation. This is the beaker confg: beaker.session.type = database beaker.session.sa.url = postgres://user:[EMAIL PROTECTED]:5432/dbsession beaker.session.table_name = db_session I am not sure if i have to

Re: Pyjamas : Python - JS

2008-12-06 Thread Jorge Vargas
On Sat, Dec 6, 2008 at 3:39 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Eric Ongerth wrote: I have heard that the more you try to make Javascript behave like Python, the more you end up hating Javascript -- but that says nothing about Javascript itself. Javascript is really a

Re: Pyjamas : Python - JS

2008-12-06 Thread Lawrence Oluyede
On Sat, Dec 6, 2008 at 2:36 PM, Jorge Vargas [EMAIL PROTECTED] wrote: That said I really think a JS wrapper in JS is better than a JS wrapper in python or whatever language for that matter. Any DSL which is pretty much what all the libraries have become is way better than having a half baked

Re: Beaker with database session...

2008-12-06 Thread Matthew Zwier
Hi Marin, This one bit me myself. You're looking for beaker.cache.type = ext:database in the config file. If I remember correctly, Beaker creates the tables for you if they're missing. Hope that helps! Matt Z. On Sat, Dec 6, 2008 at 5:23 AM, Marin [EMAIL PROTECTED] wrote: I was trying to

Django or Pylons - comparison details

2008-12-06 Thread zunzun
Comparison before starting a project, used to decide which framework to use. Django: according to http://groups.google.com/group/django-users/about Members 12,016 Group Activity is High Pylons: according to http://groups.google.com/group/pylons-discuss/about Members: 1,748 Group Activity is

Re: Django or Pylons - comparison details

2008-12-06 Thread Mike Orr
On Sat, Dec 6, 2008 at 10:39 AM, Ben Bangert [EMAIL PROTECTED] wrote: On Dec 6, 2008, at 9:31 AM, zunzun wrote: Comparison before starting a project, used to decide which framework to use. Django: according to http://groups.google.com/group/django-users/about Members 12,016 Group Activity

books

2008-12-06 Thread jose
I'm thinking of pre-ordering the pylons book, and Amazon gives you the option to get the sqlalchemy book at the same time. Has anyone red the book? is it good? is is fairly recent or better yet how out of date is it? Thanks for any comments Jose

simplejson workaround for Pylons 0.9.7 on Windows, Python 2.6

2008-12-06 Thread Eric Ongerth
I know there are still a number of Pylonistas out there in Windows land who are stuck with a Python 2.5 installation because of the current problem with simplejson. Here is a workaround that ended up succeeding, without recourse to old versions or really anything too suboptimal (except it

Re: Pyjamas : Python - JS

2008-12-06 Thread Jens Hoffrichter
Hello all, 2008/12/6 Lawrence Oluyede [EMAIL PROTECTED]: On Sat, Dec 6, 2008 at 2:36 PM, Jorge Vargas [EMAIL PROTECTED] wrote: That said I really think a JS wrapper in JS is better than a JS wrapper in python or whatever language for that matter. Any DSL which is pretty much what all the