Forum OpenACS Q&A: Response to Karl's Templating System

Collapse
Posted by G Fairbanks on
I've been working on this steadily since I posted the message,
and I've gotten the DPS to work, mostly.  When it's stable I will
post the code -- should be soon now.

I'm using AOLServer 3.0 + AD5 patches.  I extracted the DPS code from
the ACS 3.3.0 release.  There appear to be significant packaging
errors for DPS there, but it's the only source of the DPS 0.5 code
I know of.  Essentially I'm having to "unpackage" it to go back to
OpenACS's non-package style.  Of course it makes references to new
procs in 3.3.0... etc.

Right now I've got all of the templating working including forms and
master templates, but not CLOB's (lztext) or validation or oracle-
specific error messages.

One thing I do not understand is that even in this OpenACS 3.2.2 "final" release, there's tons of non-ported code.  When I grep for
".nextval" or "sysdate" across OpenACS 3.2.2 there are a large number of hits.  I've had to change some of these to get DPS working, and that's the
part I don't understand.  Perhaps the inclusion of DPS makes some of the modules take different paths through the code, thus revealing the cruft.  To be sure, this is not intended as a flame on those people who are slaving away to port this code -- I just don't understand how it's still there yet not causing problems sans DPS.

If we start discussing this last point then it should probably be in a new thread, eh?