Jon Griffin's Blog

It is my site and I will do what I want on it! © 1996, yeah it is old

Archive for the ‘Oracle’ tag

OpenACS, ArsDigita and my documents

leave a comment

By Jon Griffin
I have added my documents related to ArsDigita, OpenACS and ACS (ArsDigita Community System). They are relevant for anyone wanting to understand OpenACS, it’s history and why some design decisions were made. There are also some pearls of database programming (specifically Oracle) in these documents.

Originally ACS was only meant to run on Oracle and AOLserver (formerly naviserver). When ACS changed to it’s new version (4.0) back in 2000 (if I remember correctly), they added a hook for multiple database backends. Originally this was for the ACS/pg (later OpenACS) project.

Written by Jon Griffin

July 4th, 2007 at 4:28 pm

OpenACS – Using ad_table with paginator

leave a comment

By Jon Griffin

Sample

Sample -disabled for now and forever. This is DEPRECATED.

Actual Code

Thanks to Brad Duell who figured all this out and fixed many bugs.

Several procs were modified and added to paginator procs. You can download the patch file at OpenACS – Misc Patches

Written by Jon Griffin

October 16th, 2006 at 3:20 pm

OpenACS – Using tools::paginate

leave a comment

Reasons

  • Less Complexity
    The new tools::paginate is much simpler while keeping many of the backward compatible features of ad_table/paginate.
  • Real Sorting
    Unlike Paginate/ad_table, tools::paginate returns the selected rows after sorting.
  • Scalabity
    This proc is being used in production, and has scaled well to 1500 pages (15000 records). It doesn’t depend on caching and all the work is done in the db server. This means it is as fast as your query plus a little (very little) overhead to do the limit.

Place the following files in your acs-tcl/tcl dir (or somewhere they will get sourced).

Written by Jon Griffin

October 16th, 2006 at 2:12 pm

OpenACS Mail Notes

leave a comment

The Mail Problem with OpenACS

By Jon Griffin

What we have

acs-messaging

This was really created at the same time as bboard by the (now defunct) Pittsburgh office of AD. It really has no relation to mail per se, but did allow for mail type things.The purpose of this package was to store all content in a single repository and relys on content repository.

acs-mail

This is intended to be the new single package for mail.It uses ns_sendmail.

features
  • Sends messages via SMTP
  • Stores messages using non-mime mechanisms.

Written by Jon Griffin

October 16th, 2006 at 8:53 am

ACS Notifications Design

leave a comment

PLEASE NOTE – These are historical documents from my ARSDigita Days


Table Of Contents

Written by Jon Griffin

October 16th, 2006 at 8:49 am


 Powered by Max Banner Ads 

Featuring Recent Posts Wordpress Widget development by YD