Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > Python

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-11-2008, 09:11 AM   PM User | #1
mpacaon
New Coder

 
Join Date: Jul 2008
Location: Manila, PH
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
mpacaon is an unknown quantity at this point
Question Python (PySQLite) and AJAX

Is it possible to use Python (specifically PySQLite) with AJAX? Can AJAX access the database from PySQLite?
mpacaon is offline   Reply With Quote
Old 07-12-2008, 12:28 PM   PM User | #2
Kakao
Regular Coder

 
Join Date: Mar 2006
Location: Brasília, Brazil
Posts: 153
Thanks: 0
Thanked 0 Times in 0 Posts
Kakao is on a distinguished road
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.
Kakao is offline   Reply With Quote
Old 10-11-2008, 08:53 PM   PM User | #3
lkcl
New to the CF scene

 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lkcl is an unknown quantity at this point
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.
lkcl is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:57 AM.


Advertisement
Log in to turn off these ads.