W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1995

Re: OLE/COM - Microsoft's Strategy For Once Again Dominating The Software Industry

From: Paul Everitt <paul@digicool.com>
Date: Sat, 09 Dec 1995 11:38:18 -0500
Message-Id: <30C9BB7A.1694@digicool.com>
To: "\"\"Adam T. McClure\"\"" <mcclurea@waimea.colorado.edu>
Cc: www-talk@w3.org
""Adam T. McClure"" wrote:

> It also seems that the main reason CORBA hasn't caught on yet with
> the development and web communities is that there is no source-level,
> free implementation available.  If I had the time, and some cash I
> would love to put it together myself, but I lack the latter and
> therefore the former.

Basically, that is what we felt, and were lucky to find ILU.  It doesn't 
really give you an out-of-the-box solution, just the tools to make one. 
Which is what we did, and connected it to httpd APIs to eliminate CGI.

The following is a sample published object, implemented in Python.  As 
you can see, most of the lines are HTML formatting:

import wwworb, ilu

ilu.CreateServer('wwworbsimple')

form='''<FORM METHOD="POST" ACTION="simple">
Input #1<INPUT TYPE="TEXT" NAME="Input_1"><br>
Input #2<INPUT NAME="Input_2" TYPE="RADIO" VALUE="Value_1" CHECKED>Value 
1
<INPUT NAME="Input_2" TYPE="RADIO" VALUE="Value_2">Value 2<br>
<INPUT TYPE="SUBMIT" NAME="SubmitMethod" VALUE="Post Me!!">
<INPUT TYPE="RESET" VALUE="Reset Form"></FORM>'''

class SimpleNode(wwworb.Node):
  ReturnString = '''<head><title>Parameter Display</title></head><body>
Here were the parameters to %s<br>
<dl>
<dt>data<dd>%s
<dt>http-info<dd>%s
%s
</dl>''' + form + '</body>'

  def __init__(self,handle):
    self.IluInstHandle = handle
    self.IluPublish()
    print 'Published %s' % self.IluSBH()

  def Get(self,req): return wwworb.Response(self.ReturnString % 
('GET',req.getData(),req.getHTTPInfo(),''))
  def Post(self,req): return wwworb.Response(self.ReturnString % 
('POST',req.getData(),req.getHTTPInfo(),req.getDataAsForm()))

SimpleNode('simple')
ilu.RunMainLoop()


-- 
Paul Everitt       Digital Creations
paul@digicool.com  703.371.6909
"."
Received on Saturday, 9 December 1995 11:36:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:18 GMT