XOTcl Core
What is xotcl-core
xotcl-core is an OpenACS package, which provides base functionality for OpenACS applications using XOTcl. The xotcl-core package is used by several other OpenACS packages such as the XOTcl request monitor, XoWiki, XoWiki Content Flow, S5 or the Learning Content Tool.
Install xotcl-core
First, get xotcl-core from the OpenACS repository:
cvs -d:pserver:anonymous@cvs.openacs.org:/cvsroot co openacs-4/packages/xotcl-core
Move xotcl-core to the directory, where your OpenACS packages are stored. We assume, this directory is /usr/local/openacs-4/packages
Next, go to acs-admin/apm (http://YOURSERVER/acs-admin/apm/), choose "install-packages" and install XOTcl Core. Finally, restart the server.
Now you can browse http://YOURSERVER/xotcl
Functionality of xotcl-core
xotcl-core defines several classes for
- library dependencies
- package management
- debugging
- security and policy management
- HTTP client and server functionality
- Object Relational Database Interface
- ical formatting
- cluster management
- chat handlers
and several utilities.
Tutorial xotcl-core
See slides
Code metrics and Package Description
Package Specification Summary for Package: xotcl-core
Summary: | XOTcl library functionality (e.g. thread handling, online documentation, Generic Form and List Classes) |
Description: | <pre> This component contains some core functionality for OpenACS applications using XOTcl. It includes XOTcl thread handling for OpenACS (supporting persistent and volatile threads) and a definitions for documenting XOTcl object, classes and methods integrated with the API-browser of OpenACS. Documented procs and instproc an be created using the methods ad_proc and ad_instproc. This component provides as well an XOTcl Object and Class browser, as well as means to control the recreation of objects and classes when components are reloaded. Features: - oo-abstraction with caching (acs-objects and cr-items/revisions) - single and multi instantiations (turn all tuples into objects) - object life-time support (automatic cleanup when needed after request) - proxy objects for stored procedures/functions (PostgreSQL and Oracle) - db-abstraction for PostgreSQL and Oracle (e.g. query composition) - context-management: context objects for (connections and db-queries) - security policies - GUI and DOM support (via tdom) - support for XOTcl and NX </pre> |
Maturity: | Mature |
This package depends on: | acs-kernel acs-bootstrap-installer acs-templating acs-api-browser acs-content-repository acs-tcl acs-admin |
Packages that depend on xotcl-core: | richtext-ckeditor5 rrd-tool xooauth xotcl-request-monitor xowf xowiki |
Package parameters: |
|
Bug Tracker Summary for Package: xotcl-core
Open Bugs: | 6 |
All Tracked Issues: | 19 |
Latest Bug Opened: | 2019-09-12 Get all children using with_descendants in CrClass->instance_select_query |
Latest Bug Fixed: | 2024-10-12 ::xo::db::Class->drop_type fails. |
Top Bug Submitters: | Michael Aram (16) Avni Khatri (1) Claudio Pasolini (1) Vlad V (1) |
Top Bug Fixers: | Gustaf Neumann (14) |
Code Metrics Summary for Package: xotcl-core
# Tcl Procs | 29 |
# Tcl Lines | 16264 |
# Tcl Blank Lines | 1447 |
# Tcl Comment Lines | 3755 |
# Automated Tests | 14 |
# Stored Procedures | PG: 0 ORA: 0 |
# SQL Lines | PG: 0 (blank 1 comments 0) ORA: 0 (blank 1 comments 0) |
# ADP pages | 4 |
# ADP lines | 90 |
# Include pages (xotcl-core/lib/) | 1 |
# Documentation pages | 0 |
# Documentation lines | 0 |
Browse Source | API-browser |
Github Repository: | https://github.com/openacs/xotcl-core/tree/oacs-5-10 |
The OpenACS package xotcl-core requires in versions of OpenACS before 5.3 the following patches for the documentation procs and the bootstrap installer:
wget http://media.wu-wien.ac.at/download/acs-api-documentation-procs.patch
wget http://media.wu-wien.ac.at/download/acs-bootstrap-installer.patch
To apply these patches, go to the directory, where the OpenACS packages are stored. We assume, this directory is /usr/local/openacs-4/packages.
patch -p 0 < /tmp/acs-api-documentation-procs.patch
patch -p 0 < /tmp/acs-bootstrap-installer.patch
Both patches do not harm in case XOTcl is not installed. Now reload these packages or restart the server.