Serving database driven pages using Clarify ClearExpress
In order for this to work, somehow the users needed to have access to the pages that ClearExpress would serve. We thought about something utilizing ftp or remote file system mounts. But we were concerned with security and also we were trying to enforce a standard page template on the users while also using a familar interface. Finally i came up with a way to serve web pages from the database. In addition we built a few forms for the users to
create and maintain the pages. This accomplished our goals of keeping the network within our existing security scheme, while also allowing the users to edit the web pages via custom Clarify forms. Those forms could also be customized to enforce page template patterns. All in all, it worked out very well. Here's a screen shot of the main form for building the web pages.
The url that would be used to call these pages is:
http://localhost/cgi-bin/clearexp_cgi/webform.htm?form_id=2000Notice that in this case the url is not secured as is typical with ClearExpress implementations. Also notice the single parameter "form_id", this is the key to pulling the desired page from the database.
ceDbPages.zip
Posted at 06:54PM Mar 13, 2007 by Robert Eister in Software | Comments[1]
Posted by Betty on March 15, 2007 at 04:19 PM PDT #