Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Location
    Manila, PH
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Python (PySQLite) and AJAX

    Is it possible to use Python (specifically PySQLite) with AJAX? Can AJAX access the database from PySQLite?

  • #2
    Regular Coder
    Join Date
    Mar 2006
    Location
    Brasília, Brazil
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •