473,395 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Looking for a nitty-gritty Python Ajax middleware script to fire offa number of processors

Dear All,

I am looking for a nitty-gritty Python Ajax script to fire off a
number of processing programmes, periodically checking their
operations, sending messages back to an HTML div form by sending back
the links of generated data files, to be downloaded by end users. I am
using .NET IIS 6.0 and Windows Server.

Regards.

Shao
Nov 7 '08 #1
2 1966
Shao wrote:
Dear All,

I am looking for a nitty-gritty Python Ajax script to fire off a
number of processing programmes, periodically checking their
operations, sending messages back to an HTML div form by sending back
the links of generated data files, to be downloaded by end users. I am
using .NET IIS 6.0 and Windows Server.

Regards.

Shao
What you are asking requires so much more information than you have provided to
actually give you an answer I doubt you will get one. This is NOT a simple task
but rather quite complicated. Sounds like you need something written in Twisted
that dispatches background processes and handles the callbacks from those
processes. Twisted Web could then update the HTML pages that users are watching
by refreshing them periodically.

-Larry
Nov 9 '08 #2
On Nov 7, 10:38 am, Shao <shishaozh...@gmail.comwrote:
Dear All,

I am looking for a nitty-gritty Python Ajax script to fire off a
number of processing programmes, periodically checking their
operations, sending messages back to an HTML div form by sending back
the links of generated data files, to be downloaded by end users. I am
using .NET IIS 6.0 and Windows Server.
shao, hi,

ajax is javascript, python isn't ajax, so there's an implicit
dichotomy in what you're asking for _but_, there is this:

http://pyjs.org - pyjamas: a python-to-AJAX compiler and web
framework.

you can therefore write application front-ends in python that get
compiled into AJAX, to run on a web browser. the standard pyjamas
user-interface API is _very_ similar to pyqt4 and pygtk2.

documentation online is quite comprehensive, latest addition is:
http://pyjs.org/book/output/Bookreader.html

that takes care of the front-end, and a description of how to use
AJAX, including ways to use at least four different JSONRPC back-end
server frameworks is described here:
http://pyjs.org/book/output/Bookread...%20the%20World

the alternative is for you use a javascript-based AJAX library in
standard HTML, from any back-end server framework of your choice,
coding up the front-end using custom-written javascript.

the reason you need to write it yourself is that, although many of
the python frameworks come with a _bit_ of AJAX included, it's usually
as part of the "admin" interface: none of the back-end server
frameworks are sufficiently sophisticated to include the kind of
custom functionality you require.

except pyjamas, which is a full-on compiler, turning python code into
AJAX code, but that's for use in the front-end.

good luck,

l.

Nov 17 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Chris Lott | last post by:
I already use and am happy with a variety of text editors (vim, emacs, ultraedit, jedit, Homesite) depending on my needs, but I would like recommendations for a PHP specific IDE that will run on...
0
by: blockhead | last post by:
We are looking for someone to either complete a php forum program or create one for us. There isn't really anything that is available that suits our needs and we have specific wants. If you are...
0
by: Matan Holtzer | last post by:
Hello I'm looking for a replacement for the imgedit.ocx control. Up untill now, I was using this control in my application for displaying and annotating scanned tiff images (both single and...
14
by: Jason Daly | last post by:
I'm a freshman at college as a computer science major. I'm not sure it has what I want. Does anyone know if a major commonly exists in web design (focusing in server side languages)? I want to...
4
by: Frank Einstein | last post by:
Looking for a tool that can edit an XML file in a browser. The basic requirement is that the XML file is rendered as an HTML form with editable fields (including add/delete, preferably in...
2
by: Wayne Wengert | last post by:
I hope this is an appropriate group for this question? I work with a non-profit group that uses SQL Server 2000 for their data backend. They have a moderate size web site with many data driven...
51
by: Matt | last post by:
Hello, I'm a hiring C++ developer employer looking for existing, online C++ aptitude tests. I have not yet extensively researched this yet, but as an example, I thought this test looked...
1
by: Johann Blake | last post by:
I am looking for a good solution on how to implement data access in an application so that there is a clean separation between the data access layer, the business layer and the GUI layer. I am...
2
by: Matt | last post by:
Hi, I am looking for a control that will allow me to host other controls inside it but have a method of showing and hiding. I have seen plenty of horizontal controls for doing this but I am looking...
2
by: cowznofsky | last post by:
My needs are relatively simple. I'm putting together a web site prototype that has some very minimal e-commerce type stuff. I've been away from asp.net for a little while. It's not a store, so...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.