Win32 ActiveX with COM support

Larry Bates larry.bates at websafe.com
Mon Mar 20 21:58:21 CET 2006


danbrwn at gmail.com wrote:
> I am creating a web application where I access a database on a SQL
> server machine from local networked PC's via Javascript and HTML.
> Unfortunately, Microsoft does not allow the ado intervace to fire
> events back using Javascript or VBScript. I am trying to figure out how
> to notifiy each client that is connected to the server whenever the
> database changes. What I think might work well is to have a client
> activeX component built with Python embedded in the html page that
> receives event notification from a server component embedded in an ASP
> page or maybe an HTML I don't know yet. At any rate, Can I create a COM
> server / client component set with Python?
> 
You can most certainly create COM server with Python.  This sounds like
a job for AJAX (asynchronous javascript and xml).  Use javascript xmlrpc
client code to asynchronously talk to a xmlrpc server application (you
can write in python+twisted).

If you choose to go this way, you might want to take a look here:

http://developer.yahoo.net/yui/


Hope information helps.

-Larry



More information about the Python-list mailing list