Index: openacs-4/packages/assessment/www/doc/as_items.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/doc/as_items.html,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/doc/as_items.html 13 Jun 2004 23:20:44 -0000 1.1
+++ openacs-4/packages/assessment/www/doc/as_items.html 21 Jul 2004 09:20:38 -0000 1.2
@@ -9,247 +9,392 @@
-The Item and Section catalogues are central parts of the assessment
+The As_Item and Section catalogues are central parts of the
+assessment
system. These repositories support reuse of Assessment components by
-storing of the various Items (or questions if you like) and groups of
-Items (ie Sections) that can be used in an assessment. You are able to
-add/edit/delete an item of a certain type to a certain scope.
+storing of the various as_items (or questions if you like) and groups
+of as_items (ie Sections) that can be used in an assessment. You are
+able to
+add/edit/delete an as_item of a certain type to a certain scope.
Furthermore it allows you to search and browse for questions for
inclusion in your assesment as well as import and export multiple
questions using various formats.
In this description here we will only discuss the design
-implications for Items. Green colored tables have to be
+implications for as_items. Green colored tables have to be
internationlized.
Each Item consists of a specific Item Type like "Multiple Choice
-Question" or "Free Text". Each Item Type
-adds additional Attributes to the Item, thereby making it pretty
-flexible. Additionally each item has a related Each as_item consists of a specific as_item Type like "Multiple
+Choice
+Question" or "Free Text". Each as_item Type
+adds additional Attributes to the as_item, thereby making it pretty
+flexible. Additionally each as_item has a related display type
-storing information on how to display this item. This way we can create
-an adp-snippet which we can include to display a certain item (the
+storing information on how to display this as_item. This way we can
+create
+an adp-snippet which we can include to display a certain as_item (the
snippet is stored de-normalized in the as_items table and update on
-every change to the item or the item_type).
+every change to the as_item or the as_item_type). How is this achieved concretely? Each as_item Type has it's own
+table with attributes useful for this as_item type. All tables
+(as_items, as_item_type_*, as_item_display_*) are controlled by the
+content repository. Each as_item is linked using acs-relationships to
+the specific items of the as_item_type_* and as_item_display_*
+tables. Each as_item can only be linked to one as_item_type instance
+and one as_item_display instance. Categorization and internationalization will make it into
OpenACS 5.2, therefore we are not dealing with it in Assessment
seperately but use the (to be) built in functionality of OpenACS 5.2
-Additionally we have support functionality for an item. This includes
+Additionally we have support functionality for an as_item. This
+includes
the help functionality. To give Assessment authors flexibility in
-adapting Item defaults, help messages, etc for use in different
-Assessments, we abstract out a number of attributes from as_items into
+adapting as_item defaults, help messages, etc for use in different
+Assessments, we abstract out a number of attributes from as_as_items
+into
mapping tables where "override" values for these attributes can
optionally be set by authors. If they choose not to set overrides, then
-the values originally created in the Item supercede.
+the values originally created in the as_item supercede.
Seperately we will deal with Checks on Items. These will allow
+ Seperately we will deal with Checks on as_items. These will allow
us to make checks on the input (is the value given by the user actually
-a valid value??), branches (if we display this item, which responses
+a valid value??), branches (if we display this as_item, which responses
have to have been given) and post-input checks (how many points does
this answer give).
Here is the graphical schema for the Item-related subsystems,
-including the Item Display subsystem described Here is the graphical schema for the as_item-related subsystems,
+including the as_item Display subsystem described here.
-Here are the components of the Item model in Assessment:
-
- Permissions / Scope: Items need a clearly defined scope, in
+ Permissions / Scope: as_items need a clearly defined
+scope, in
which they can be reused. Instead of defining a special scope variable
we will use the acs permission system to grant access rights to an
-item.
- Overview
+
Specific Entities: Core Functions
-Core Function: as_items
+
-
-
-
-
Alternatively we could make the as_item_type object a child of -the -as_item and therefore prevent storing all the relations. In that case -we'd loose the ability described before, but it might be a considerable -performance gain. -
-Common attributes for *all* item_types: -
--A list of all item types and their attributes can be found in the
A functional +list of all as_item types and their attributes can be +found in the requirements -section - - -+
+
NB: In earlier versions (surveys/questionnaire), each Choice definition carried with it any range-checking or text-filtering -criteria; these are now abstracted to the Item-Checks and Inter-Item -Checks. -
- +criteria; these are now abstracted to the as_item-Checks and +Inter-as_item +Checks.Each item_display_type has a couple of attributes in common. +
+
+Depending on the presentation_types additonal
+attributes (presentation_type attributes)
+come into play (are added as attributes to the CR item type) (mark:
+this is not feature complete. It really is up to the coder to decide
+what attributes each widget should have, down here are only
+*suggestions*). Additionally we're not mentioning all HTML
+possibilities associated with each type (e.g. a textarea has width and
+heigth..) as these can be parsed in via the html_display_options.
+
Relationship attributes:
Messages (as_messages) abstracts out help messages (and other types of messages) for use in this package. Attributes include: