Reg Google Web Toolkit and Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shadab Sayani

    #1

    Reg Google Web Toolkit and Python

    Hi ,
    We have a project where I need to read files store
    them in database in the backend.We have done this in
    python.Now we decided to use Ajax technique for user
    interface.For that we found that GWT is one of the
    best toolkits.Now I got a doubt can I interface GWT
    with python.
    Thanks ,
    Shadab.

    Send instant messages to your online friends http://uk.messenger.yahoo.com
  • Adonis Vargas

    #2
    Re: Reg Google Web Toolkit and Python

    Shadab Sayani wrote:
    Hi ,
    We have a project where I need to read files store
    them in database in the backend.We have done this in
    python.Now we decided to use Ajax technique for user
    interface.For that we found that GWT is one of the
    best toolkits.Now I got a doubt can I interface GWT
    with python.
    Thanks ,
    Shadab.
    >
    Send instant messages to your online friends http://uk.messenger.yahoo.com
    I have not gone into much detail with GWT (you can look into the Python
    rendition of GWT called PyJamas), but it should be talking to a web
    server with the use of XMLHTTPRequest. So this should the case, then you
    can simply access your resources dynamically.

    e.g.

    web server: http://example.com/
    resource: http://example.com/someJSONFormattedData

    An AJAX application with its XMLHTTPRequest it will perform an HTTP GET
    on /someJSONFormatt edData, which depending on your web application
    server could either be static or dynamic data. Then upon reception of
    the data, simply parse it and update a section or sections of your AJAX
    application (unless GWT has mechanisms to handle such things for you).

    Hope this helps.

    Adonis

    Comment

    • Daniel Nogradi

      #3
      Re: Reg Google Web Toolkit and Python

      Hi ,
      We have a project where I need to read files store
      them in database in the backend.We have done this in
      python.Now we decided to use Ajax technique for user
      interface.For that we found that GWT is one of the
      best toolkits.Now I got a doubt can I interface GWT
      with python.
      Thanks ,
      Shadab.
      You might also want to look at the javascript backend of pypy. It
      translates python code into javascript and has all kinds of cool
      mechanisms for "AJAX".

      pypy main page: http://codespeak.net/pypy/dist/pypy/doc/news.html

      javascript backend info:

      Comment

      Working...