Well, OK it's not Java and it's not (yet) distributed, but I have been
working on an extension to Tcl that will work within the AOLserver 3.x
providing an object oriented api that hides the persistence layer.
The api is called RCO and is designed to be compatible with all
versions of Tcl based ACS. Currently it has been successfully
installed on ACS 3.2, ACS 3.4 and OpenACS 3.2.5. There are only a few
low level changes that would need to be made to make it also run on
ACS 4.x distributions. The main connection between RCO and ACS is the
use of the ACS user management systems. In this way RCO can be seen as
an ACS module that can be used along side all other modules. In
particular I have written a CMS application on top of RCO that is
therefore immediately available as a module for all ACS 3.x
distributions.
I am posting this here because I have just put together the first
distribution of RCO that has been successfully installed on an OpenACS
server (previously I have always been using it with Oracle backed ACS
3.x servers), and so I am curious to see if RCO is at all interesting
to people in the OpenACS community. Here I will just explain a little
more about RCO and then give a link to the distribution download.
As well as providing an OO extension to Tcl, RCO expresses a
development philosophy that encourages the use of an explicit
application layer separated from the persistence layer. RCO currently
has two persistence devices implemented - an SQL storage device and a
filesystem XML storage device. The idea is that code written above the
RCO api need not know which of these storage devices are being used on
the given installation. The SQL storage device has been successfully
used with both Oracle and Postgres. It is therefore possible to use
RCO to set up a User object that interacts with the ACS users table.
Other storage devices could be developed (such as remote storage via
SOAP) and each class can define which storage device it uses for which
data it holds.
RCO also encourages an event driven style of web programming. All HTML
design templates are objects, and all web pages are created by viewing
a data object `through' a template object. All web forms are created
by templating characteristics of the data object being viewed,
including the submit buttons which are seen as possible `events' or
actions that a user can perform on the data object. In this way there
is rarely the need to think about CGI parameters as a programmer
within the RCO environment. You simply have to define which actions
people can perform on each class of objects, and then template the
display page. RCO also has a web based development environment that
allows people with the correct ACS permissions to create new classes
and debug existing classes whilst the server is running.
On top of RCO I have written a set of objects that together form an
Object Management System (OMS). The OMS provides a web based interface
for managing personal and group folders of objects. For example, you
can create new objects, edit them and move them around from folder to
folder. The basic objects provided by the OMS include workspaces,
folders and HTML template objects. All OMS objects inherit from the
OMS_Basic class which gives them the properties necessary to be
managed.
On top of the OMS I have written the basics of a content management
system (CMS), all of which is written as objects that inherit from
OMS_Basic. This CMS system includes objects that let you build up a
web site and manage the content of the web site along with the
templates for the web site using the OMS interface. Permissions are
handled by the ACS users and user groups permissions system.
The web site later.runtime-collective.org is currently running on
this CMS and it is possible to download a distribution of RCO for
OpenACS from this web site at:
http://later.runtime-collective.org/oms-site/later/home/rco-doc/instal
l
I am slowly developing some on-line documentation for RCO which is
available at:
http://later.runtime-collective.org/oms-site/later/home/rco-doc
As I've said, I am very curious to have any feedback from the OpenACS
community to know if RCO could be at all useful to OpenACS.
PS I wish it was in Cambridge UK that you were having your social
tomorrow as then I would definitely come along :-(