...

View Full Version : Python (PySQLite) and AJAX



mpacaon
07-11-2008, 09:11 AM
Is it possible to use Python (specifically PySQLite) with AJAX? Can AJAX access the database from PySQLite?

Kakao
07-12-2008, 12:28 PM
Ajax is a client technology. You can use whatever you want in the server to receive and process the Ajax requests.

If you are new (or not) to Javascript you had better use a Javascript framework to generate the Ajax code. Some of the most known Javascript frameworks are Prototype and Jquery.

lkcl
10-11-2008, 08:53 PM
random reply, here. if you're used to python, take a look at http://pyjs.org - it will allow you to write your front-end in python, it then gets converted to javascript, and you get a full AJAX framework and widget set to play with.
your best bet is to use something like JSONRPCService to talk to a back-end server, which can be in anything, of course, as kakao says, and i'd recommend either django, or pylons. take a look at http://code.google.com/p/pyjamas/wiki/DjangoWithPyjamas if you'd like to use django, or if you prefer to do your own stand-alone JSONRPCService, any of the suggested JSON RPC services mentioned in that page should be easily adatible as stand-alone and/or WSGI and/or as python CGI.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum