Forum OpenACS Development: New Portal Ideas

Collapse
Posted by Malte Sussdorff on
As we are about to launch AIESEC on dotLRN, the creepy feeling that we might run into a showstopper with the current design of the portal system for dotLRN increases.

I'd therefore like to start this thread to collect design ideas, how we should go about a rewritten portal system that does not have such an impact on performance. I know a lot has been thought about it already by Don for Sloan and most likely some other people did some heavy thinking there as well.

Collecting it in one place would give us (or whoever wants to do this) the chance to have a good headstart to decrease the time for the development.

Collapse
2: Re: New Portal Ideas (response to 1)
Posted by Don Baccus on
We do NOT want to embark on a third (or fourth or fifth depending on how you count them) portal implementation!

The current implementation isn't bad, the rewrite's a decent reorganization of the Tcl API (logical use of namespaces) and simplification of the datamodel (making things not objects that don't need to be objects)

Other than that it's very much the .LRN new-portals system.

The current "portal" source in HEAD installs (or did when I last had time to work on it) for both PG and Oracle.

I've very recently added some Tcl API in .LRN new-portal that lets you define your datasources in your Tcl APM callback rather than in SQL, meaning you don't need to write both Oracle and PG definitions.  Simplifies things somewhat.  I'll move that to "portal" soon.

The only thing that really needs to be done to boost performance significantly is to add caching ... and I don't see any indication that the portal system performs poorly.

Certain *portals* in .LRN are expensive but that's not the fault of the portal system itself.

Collapse
3: Re: New Portal Ideas (response to 2)
Posted by Malte Sussdorff on
Thanks a lot for the clarification. We're most certainly not interested in writing yet another portal system. One additional question though. Is it possible to use portal from HEAD with dotLRN 1.0.1 (instead of new-portals)?

Furthermore, will portal be the official portal-system, that .LRN 2.0 is going to use as well?

Collapse
4: Re: New Portal Ideas (response to 1)
Posted by Don Baccus on
I would like to move to the cleaned-up portal version but don't know quite when that will happen.  No, it won't work with HEAD right now and it needs to be internationalized, too.  If you guys want to work on it we can coordinate as I've been through the code and as I said above, with Michael Hinds help have gotten the datamodel to install at least.