web2py

2011-09-07 Thread Vineet Deodhar
>>>-- Hi, I have been doing python development since last year, I think I should learn the famous Django frame work. Can any one suggest what are the perquisite required to setup django on my local home machine. Please suggest something that does not requir

my suggestions for framework

2011-09-03 Thread Vineet Deodhar
> recomment a framework which has all the layers already integrated. Take > a look at http://www.web2py.com, I think it's quite powerful and has > good documentation. > If you want to get your hands dirty you can compose your own "framework" > cherrypy+sqlalchemy+cheetah might be a good combination

framework suggestions for Ben

2011-09-03 Thread Vineet Deodhar
>Folks, >I need some advice on a python web & database framework to use...? >I have handcrafted a sqllite3 python script, that is a basic web application, >interfacing with a >sqlite3 database... It depends on whether you want to develop desktop apps or browser-based apps. I will suggest 2 framew

json: python 2.5: error in browser

2011-09-03 Thread Vineet Deodhar
> Any idea on converting list to json in python 2.5? http://pypi.python.org/pypi/simplejson/ Cheers, Chris = Now I built json from simplejson. While trying to render the same in browser, nothing is displayed. Opera Dragonfly shows this error:--   Uncaught exception: SyntaxError: JSON.pa

json in python 2.5

2011-09-02 Thread Vineet Deodhar
> e.g., I have this list: > L = ['spam', 'ham', 'eggs', 12, (13.63)] > What is the correct way to convert L to javascript array format? > 1) jsonify the list and pass it to javascript > (whether json format & javascript array are similar?) JSON is in fact a subset of JavaScript, and modern browser

convert python List to javascript array

2011-09-02 Thread Vineet Deodhar
Hi ! Within a web framework, I want want to pass a python sequence (list or tuple) to client-side javascript function as an array (javascript compatible) e.g., I have this list: L = ['spam', 'ham', 'eggs', 12, (13.63)] What is the correct way to convert L to javascript array format? 1) jsonify t

Turbogears 2.1 with mako tmplates

2011-02-07 Thread Vineet Deodhar
Hi!, I am a python programmer. For web-based solutions, I have started learning TG 2.1 By and large, the documentation on TG 2.1 official site is a work-in-process. As regards to the templates, it tells how to go about Genshi. I wish to go with mako. Gone through the docs of mako (they are good). B