AjaxStub

AjaxStub package provides a Python API for writing Web pages that include JavaScript stubs for Python functions or methods.
Download

AjaxStub Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Eclipse Public License
  • Price:
  • FREE
  • Publisher Name:
  • Carl J. Nobile
  • Publisher web site:
  • http://www.tetrasys.homelinux.org/home/Linklist/index.html

AjaxStub Tags


AjaxStub Description

AjaxStub package provides a Python API for writing Web pages that include JavaScript stubs for Python functions or methods. AjaxStub package provides a Python API for writing Web pages that include JavaScript stubs for Python functions or methods.A few months ago (it is now February 2007) I decided to start looking into AJAX. My engineering experience has mostly been in writing servers, threaded application, etc. in Java, Python, and some in C. When I started to play with AJAX I had to add Javascript to my repertoire. I have always applied the rules of abstraction to my code and I wasn't going to change with Javascript, so I started searching the NET for what the best practices were in AJAX implementations.I found some interesting stuff on Web Services, REST (Representational State Transfer), RPC (Remote Procedure Call), SOAP (Simple Object Access Protocol), and the list goes on. I've done a lot of work with XMLRPC, so I thought I'd look for something in that vane. I found only one API for RPC written in Python that seemed to work, but when I looked at the code I realized that it was very immature, so I rolled my own. So, here is my contribution to the OpenSource community. It is only in its early stages, but is quite functional already.The idea behind AjaxStub is to provide an API that will let you write Python methods or functions that will be called by an identically named function in Javascript. The AJAX communication is completely abstracted from the developer. You write your Python API and a few Javascript functions and your done. Well it may not be that easy depending on what you are trying to achieve with your site, however, the concept is really very simple.What's New in This Release:· AjaxStub now will process multi-requests properly.· Custom content types can now be added, and the debug mode now is more verbose.· The home page now has additional example code and API documentation is now available.· All documentation is now included in the tarball or zip packages.


AjaxStub Related Software