Forum OpenACS Development: Re: How OpenACS coding could get its groove back

Collapse
Posted by Dave Bauer on
Tilmann,

Excellent points.

Application coding should have different priorities than a service package which function is to provide an API.

We seem to be having this same discussion among the same folks :)

So I think we all agree that efficiency is of top priority as well as maintainability of code.

Right  now there is no easy way to resue queries except by encapsulating them in a Tcl procedure.

We are in agreement that often you just need the name of one value out of the database, and an additonal layer of abstraction gets in the way.

Does that sound right?

This might change if more packages used more central services to create and manipulate acs_objects. One example is the content repository. Getting a list of items is not the best in a tcl procedure, but for common manipulation of one object at a time it seems to work.