ACS 3.4 includes a significant set of improvements in the core architecture and basic APIs, including the Database Access API and the Publishing API. These improvements include:
ad_page_contract
call, which provides type checking, input filtering (HTML, integer, etc.), and Javadoc-style documentation.
Every Tcl library file now uses the new Javadoc-style ad_library
. Both of these functions are
described in the new API Publication spec.
ns_write
in favor of
returning all content with a single call to the command:
doc_return 200 text/html $result
/doc/sql/upgrade-3.3.1-3.4.sql
if you are upgrading from ACS 3.3.1.
Other improvements to this version of the ACS include:
Note that the new Database Access API requires each statement to have a logical name; this requirement simplifies the ultimate goal of SQL abstraction. However, any code written using the original Database Access API will not work with this upgrade.
Please report bugs or feature requests using the Software Development Manager (contributed by the OpenACS Project). To facilitate this, any page throwing an exception will offer the option of submitting a bug report to http://arsdigita.com/sdm/. Please take advantage of this feature!