Sie sind hier:   » ZMS home » Download » Release Notes 2.3

Release Notes 2.3 - Die wichtigsten Neuerungen

Autor: Dr. Frank Hoffmann, 03.02.2005

Kurzvorstellung der neuen Merkmale; eine detaillierte Übersicht findet sich in der changes.txt, die der Distribution beiliegt.

ZMS 2.3: CSS-Tuning, WAI, SCORM2004

Oberflächlich betrachtet hat sich wenig geändert bei der neuen Version ZMS 2.3; intern sieht es jedoch anders aus: das Release 2.3 zeichnet sich durch eine strukturelle Überarbeitung aller Standard-Objekte aus. Die HTML-Ausgabe enthält keine Tabellenkonstrukte mehr und setzt auf div-Elemente bzw. CSS. Konsequenterweise wurde auch das Template-Konzept überarbeitet, um eine WAI/Accessibility-konforme Ausgabe zu erleichtern.
Im Detail sind folgende Aspekte in das System eingarbeitet worden:

Über das Meta-Attribut "PageExt" können für jedes Dokument frei wählbare Datei-Erweiterungen (*.html, *.php, *.asp etc.) definiert werden; diese erleichtern die Integration von ZMS-genrierten Dokumenten in andere Programmierumgebungen (z.B. beim statischen Export).

Die Template-Benamung hat sich nach folgendem Prinzip geändert:
Ein sog. "pageelement" ist funktionale Einheit, eine sog. "pageregion" ist eine Layoutzone. Das pageregion-Modell orientiert sich am prinzipiellen Layoutkonzept von XML-FO (Formatting Objekcts). Beispiel: Ein Template "pageelement_Menu" enthält den Code für die Generierung einer Menü-Liste während das Template pageregionTop z.B. das funktionale Template pageelement_Menu aufruft und damit im Seiten-Kopf platziert.

MASTERTEMPLATES
    standard_html_request: Init Request
    standard_html_header: before content
    standard_html_footer: after content

PAGEREGIONS / LAYOUT
    pageregionTop: page top
    pageregionLeft: Left Column [Macro-Nav]
    pageregionBefore: Before Content
    pageregionAfter: After Content
    pageregionRight: Right Column [Context]
    pageregionBottom: Page Bottom

HTMLHEAD
    headDoctype: DOCTYPE declaration
    headLinkrelations: LINK elements
    headCSS: Style elements
    headBodytag: HTML body tag

FUNCTIONAL PAGEELEMENTS
    pageelement_Logo: Logo
    pageelement_Menu: channel bar
    pageelement_Macronavigation: main navigation
    pageelement_Micronavigation: path navigation
    pageelement_Search: search
    pageelement_Searchresults: search
    pageelement_Languageselect: language selector
    pageelement_Styleselect: styling selector
    pageelement_Headline: document title
    pageelement_Description: document description
    pageelement_TOC: document overview
    pageelement_Index: table of content
    pageelement_Links: related documents and links
    pageelement_Teaser: teaser elements
    pageelement_Copyright: copyright information

Hinweis: Die alten Templates aus den Vorgängerversionen sind natürlich prinzipiell weiter einsetzbar; grundsätzlich ist bei Bedarf weiterhin auch das Arbeiten mit einer völlig anderen Template-Nomenklatur möglich.

Die neuen inline-Elemente für Textobjekte (abbreviation, acronym, language) helfen dabei WAI-konforme Inhalte auszuzeichnen; dies betrifft in erster Linie Zeichenketten, die für die Ausgabe über Screenreader detaillierter deklariert werden sollen.

Die Konfiguration von Multi-Sites (Master-Client-Konstrukte) wurde optimiert, indem die Vererbung von Objekten und Attributen überarbeitet wurde; dies bestrifft in erster Linie die Vererbung von Sprach-Dictionaries und eine Restriktion des Löschens von akquirierten Objektdefintionen.

Das ZMS-interne Interface zur Pflege von CSS-Definitionen kann mehrere CSS-Files verarbeiten; zu diesem Zweck kann man über eine Selectliste eine beliebige Zahl von CSS-Varianten initialisieren. Diese werden über einen fortlaufenden Index automatisch benamt.

Der Export-Mechanismus ist in der Lage, auch DTML-generierte Zusatz-Dateien auszugeben; dies ist insbesondere relevamt für die Generierung von SCORM-konpatiblen Content-Strömen. Der dahinterstehende Mechnismus rendert SpecObj-Elemente vom Typ DTML-Methode und platziert das Resultat in den entsprechend exportierten Folder, der das mit der Methode attributierte Content-Object umschliesst.

Das color-Objekt resultiert aus dem Parsing der CSS-Defintitionen, deren Elemente einen Substring "Color" enthalten (wie z.B. neutralColorStrong); ZMS erzeugt eine colormap, die aus den Elementnamen und den entsprechenden Werten besteht. Das color-Objekt kann als Datentyp in ein SpecialObjekt eingesetzt werden und liefert alle im Farbschema verfügbaren Farbwerte in einer entsprechend eingefärbten Liste zur Auswahl.

Für die Standard-Objekte (ZMSTextarea, ZMSTable, ZMSGraphic, ZMSTeaserelement) liefert ZMS default-CSS-Elemente; diese werden dem in der Konfiguration definerbaren CSS vorangestellt. Die verbestimmten Element-Defintionen können somit leicht überschrieben. Die Benamung der CSS-Element ist insofern mit dem neuen Template-Namen identisch, als dass jeder Template-Code mit einem entsprechend funktional benamten div-Element umschlossen ist. Bsp: das funktionale Template "pageelement_Menu" wird von <div id="Menu"> eingeleitet. Gemäß der Objekt-Hierachie lassen sich per CSS auf diese Weise die Sub-Elemente (ul, li, a) eindeutig identifizieren.
Wenn man die Seitenkonstruktion komplett ins CSS verlagert, wird dieses naturgemäß komplexer, während der Template-Code wesentlich schlanker wird.

Changes.txt ZMS 2.3.2#62


--------------------------------------------------
2004-08-07::zms-2.3.0-b01.tar.gz
-- WAI
* Applied changes for ZMSTextarea (according to concept revision 0.3 by fh)
--------------------------------------------------
2004-08-17::zms-2.3.0-b02.tar.gz
-- WAI
* Applied changes for ZMSTable (according to concept revision 0.6 by fh)
* Added new attribute type 'color'
--------------------------------------------------
2004-08-18::zms-2.3.0-b03.tar.gz
-- WAI
* Applied changes for ZMSTable (according to concept revision 0.6 by fh)
* Added support for parsing colormap from stylesheet
--------------------------------------------------
2004-08-24::zms-2.3.0-b04.tar.gz
-- WAI
* Applied changes for ZMSGraphic (according to concept revision 0.8 by fh)
--------------------------------------------------
2004-09-02::zms-2.3.0-b07.tar.gz
-- CONFIGURATION (for xm)
* Disable delete-button for objects with acquisitions in clients (special-objects, meta-attributes, actions)
-- MINOR CHANGES
* Fixed bug in direct-edit (utf-8)
* Fixed bug in initialization of special-objects (reported by T. Weber)
* Fixed bug in ZMI of embedded links (reported by Dr. F. Hoffmann)
* Fixed bug in initialization of new SQL-Datasource objects (reported by Dr. F. Hoffmann)
* Revised special-object newsletter (contributed by C. Meier)
* Revised display of choose-option in tabular grids
--------------------------------------------------
2004-09-08::zms-2.3.0-b08.tar.gz
-- PAGE-EXTENSION (for fox)
* Added support for custom page-extensions: declare meta-attribute PageExt (select) and provide a list of desired extensions (e.g. ['.html','.asp'])
-- MINOR CHANGES
* Fixed bug in dialog-attributes (e.g. thesaurus, reported by Dr. F. Hoffmann)
* Added support for default-values in special-object attributes.
* Replaced table-tags by divs for renderShort of Link-Elements and -Containers (requested by Dr. F. Hoffmann)
--------------------------------------------------
2004-09-12::zms-2.3.0-b09.tar.gz
--------------------------------------------------
2004-09-20::zms-2.3.0-b10.tar.gz
-- STATIC HTML-EXPORT (for Dr. T. Fox)
* Added support for declarative urls
-- MINOR CHANGES
* Revised embedding and recursive embedding (for Dr. F. Hoffmann)
* Fixed bug in export of multilingual dictionaries (reported on zms-developers group: t. rollar & c. meier)
--------------------------------------------------
2004-09-21::zms-2.3.0-b11.tar.gz
-- MINOR CHANGES
* Fixed bug in ftp-export (reported by Dr. T. Fox)
* Fixed umlaute-conversion in id_quote for unicode (reported by Dr. T. Fox)
* Fixed bug in multilingual declarative urls (reported on zms-developers group: a. dehnert)
* Fixed bug in xsl-processor: processFile() takes at most 4 arguments (5 given) (reported by Dr. F. Hoffmann)
* Fixed css-bugs in teaser-elements for WAI (reported by Dr. T. Fox)
--------------------------------------------------
2004-09-24::zms-2.3.0-b12.tar.gz
-- STATIC HTML-EXPORT
* Added support for export of meta-object's dtml-methods (designed to export 'imsmanifest.xml' of lcms-component of ZMS eLC)
-- WAI
* Added support for multiple style-sheets
-- MINOR CHANGES
* Fixed bug for hetero-lingual delete in action-menues of special objects (reported by Dr. F. Hoffmann)
--------------------------------------------------
2004-09-27::zms-2.3.0-b13.tar.gz
-- MINOR CHANGES
* Fixed bug in static html-export for sitemap- and printversion-urls (reported by Dr. T. Fox)
--------------------------------------------------
2004-10-01::zms-2.3.0-b14.tar.gz
-- WAI
* Added support for stylesheet-selector (contributed by Dr. F. Hoffmann)
* Revised pageelement_TOC
-- MINOR CHANGES
* Modified display_icon to use root-path /misc_/zms instead of misc_/zms (contributed by D. Datzert)
* Added support for char-formatting, inserting and deleting textareas in direct-edit (utf-8)
* Fixed bug in js:getElement()-function of LMS-component (reported by M. Grueterich)
* Fixed bug in search-encoding (utf-8)
--------------------------------------------------
2004-10-05::zms-2.3.0-b15.tar.gz
-- MINOR CHANGES
* Fixed bug in xml-import of special-objects with page-sub-objects containing page-elements (reported by C. Meier)
--------------------------------------------------
2004-10-11::zms-2.3.0-b16.tar.gz
-- ZMS ELEARNING COMPONENTS
* Upgrade to SCORM 2004
--------------------------------------------------
2004-10-15::zms-2.3.0-b17.tar.gz
-- WAI
* Replaced <> for images by css-class
-- MINOR CHANGES
* Fixed bug in search-encoding (utf-8)
--------------------------------------------------
2004-10-20::zms-2.3.0-b18.tar.gz
-- MINOR CHANGES
* Fixed display bug in russian management interface (reported by Dr. F. Hoffmann)
* Fixed bug in assignment of characters-formats in table-cell editor (reported by Dr. T. Fox)
* Added support for search in subordinate www-sites.
* Fixed bug for hires-images in static html-export (reported by xm)
--------------------------------------------------
2004-10-25::zms-2.3.0-b19.tar.gz
-- MINOR CHANGES
* Fixed bugs (reported by Dr. F. Hoffmann)
--------------------------------------------------
2004-10-28::zms-2.3.0-b20.tar.gz
-- DIRECT-EDITING 2.0
* Implemented prototype
-- ZMS ELEARNING COMPONENTS
* Fixed several bugs (reported by Dr. T. Fox)
--------------------------------------------------
2004-11-04::zms-2.3.0-b22.tar.gz
-- MINOR CHANGES
* Improved debug-trace (requested by Dr. F. Hoffmann)
* Removed width from textarea (requested by zms-developers group)
--------------------------------------------------
2004-11-09::zms-2.3.0-b23.tar.gz
-- MINOR CHANGES
* Fixed bug for capital german umlauts (reported by Dr. F. Hoffmann)
* Fixed bug for form-artefacts in non direct-editing mode (reported by Dr. F. Hoffmann)
* Buttons for character-format in mozilla (contributed by D. Datzert)
* Select-lists selecting the wrong entry (contributed by Karsten W. Rohrbach)
--------------------------------------------------
2004-11-22::zms-2.3.0-b28.tar.gz
-- SPECIAL OBJECTS
* Added support for custom dialogs in initialization of new special object (for DESY)
--------------------------------------------------
2004-11-23::zms-2.3.0-b29.tar.gz
-- MINOR CHANGES
* Allow static html-export from any level (required for LCMS-export of ZMS eLC)
--------------------------------------------------
2004-11-24::zms-2.3.1-b30.tar.gz
-- DEBUGGING
* Enhanced logging and debugging.
--------------------------------------------------
2004-11-25::zms-2.3.1-b31.tar.gz
-- MINOR CHANGES
* Fixed bug for internal links in direct-editing (reported by Dr. F. Hoffmann & D. Datzert)
* Display declarative-urls in search-result (requested by Uni-Cgn)
* Applied fix for explanations and custom score in ZMS eLC (requested by Dr. T. Fox)
* Applied fix for special-object resources in static html-export (requested by Dr. T. Fox)
--------------------------------------------------
2004-11-26::zms-2.3.1-b32.tar.gz
-- MINOR CHANGES
* Enhanced logging and debugging.
* Applied fix for special-object resources in static html-export (requested by Dr. T. Fox)
--------------------------------------------------
2004-11-28::zms-2.3.1-b33.tar.gz
-- IMPORTANT BUG-FIX
* Fixed bug for blob-fields in datatables: 1) xml-export 2) packing media-db (requested by Uni-Cgn)
-- MINOR CHANGES
* Applied fix for special-object resources in static html-export (requested by Dr. T. Fox)
--------------------------------------------------
2004-11-29::zms-2.3.1-b34.tar.gz
-- PERFORMANCE BUG-FIX
* Applied improved support for handling of broken-links.
-- MINOR CHANGES
* Applied improved error-handling to PIL python-scripts (contributed by D. Datzert)
--------------------------------------------------
2004-12-01::zms-2.3.1-b35.tar.gz
-- BUG-FIX
* Applied fix for link-containers (requested by Dr. F. Hoffmann)
--------------------------------------------------
2004-12-04::zms-2.3.2-b36.tar.gz
-- BLOB-FIELDS
* Revised references and calls to blob-fields, removed blob_html
--------------------------------------------------
2004-12-06::zms-2.3.2-b37.tar.gz
-- BUG-FIX
* Applied fix for broken links when leaving context with dtml-with (requested by FH-CGN)
-- MINOR CHANGES
* Applied minor changes to teaser-elements without text/title ( requested by Uni-CGN)
--------------------------------------------------
2004-12-10::zms-2.3.2-b38.tar.gz
-- SPECIAL OBJECTS
* Extended configuration of special-objects to customize access rights for inserting and editing (requested on zms-developers group)
-- MINOR CHANGES
* Applied fix for highlighting of zms-buttons in Mozilla
--------------------------------------------------
2004-12-13::zms-2.3.2-b39.tar.gz
-- MINOR CHANGES
* Applied fix for width and enabled drag & drop for direct-edit window
* Applied fix for size of zms-buttons
--------------------------------------------------
2004-12-14::zms-2.3.2-b40.tar.gz
-- MINOR CHANGES
* Applied fix for copying recursive inclusions (reported by FH-CGN)
--------------------------------------------------
2004-12-15::zms-2.3.2-b41.tar.gz
-- MINOR CHANGES
* Removed default and system styles from css in non-direct-edit mode (requested by Dr. F. Hoffmann)
--------------------------------------------------
2004-12-17::zms-2.3.2-b42.tar.gz
-- MINOR CHANGES
* Applid fixes for direct-edit (contributed by Dr. F. Hoffmann)
--------------------------------------------------
2004-12-19::zms-2.3.2-b43.tar.gz
-- MINOR CHANGES
* Applied fix in access-manager
* Applied fix for TypeError: id() takes exactly one argument (0 given)
--------------------------------------------------
2004-12-19::zms-2.3.2-b44.tar.gz
-- MINOR CHANGES
* Applied fix for utf-8 conversion from cp1252.
--------------------------------------------------
2004-12-21::zms-2.3.2-b45.tar.gz
-- MINOR CHANGES
* Applied several fixes.
--------------------------------------------------
2005-01-06::zms-2.3.2-b46.tar.gz
-- SPECIAL OBJECTS
* Export special-objects in XML-Schema format (1st prototype)
* Moved zope-objects (DTML Methods/Documents) from document-element to zms-home (for pasc)
--------------------------------------------------
2005-01-12::zms-2.3.2-b47.tar.gz
-- MINOR CHANGES
* Applied fix for incorrect display of centered graphics in Mozialla (contributed by Dr. T. Fox)
* Applied fix for default-style of teaser id="teaser" (reported by Dr. T. Fox)
-- ZMS ELEARNING COMPONENTS
* SCORM 2004 Upgrade (fixed internal issues 1.1, 1.2, 2.1, 2.2, 2.3 by Dr. T. Fox)
--------------------------------------------------
2005-01-24::zms-2.3.2-b48.tar.gz
-- ZMS ELEARNING COMPONENTS
* SCORM 2004 Upgrade (fixed internal issues 2005-01-21: 2.1, 2.3 by Dr. T. Fox)
--------------------------------------------------
2005-01-26::zms-2.3.2-b49.tar.gz
-- BUG FIX
* Applied fix for teaser-elements (TypeError: len() of unsized object) (reported by jk)
--------------------------------------------------
2005-01-26::zms-2.3.2-b50.tar.gz
-- BUG FIX
* Applied fix for utf-8 conversion of actions (reported by fh-cgn)
--------------------------------------------------
2005-01-30::zms-2.3.2-b51.tar.gz
-- MINOR CHANGES
* Replace img-alt by img-title
--------------------------------------------------
2005-02-14::zms-2.3.2-b53.tar.gz
-- INCLUSIONS
* Added support for client-exceeding inclusions (requested by fh-cgn)
--------------------------------------------------
2005-02-14::zms-2.3.2-b53.tar.gz
-- ZMS ELEARNING COMPONENTS
* Added "Score to pass"-attribute to imsmanifest.xml
--------------------------------------------------
2005-02-15::zms-2.3.2-b53a2.tar.gz
-- MINOR CHANGES
* Removed zcat_data_$lang from indexing if TextIndexNG is not installed (reported on zms-developers group)
* Applied fix for alternate stylesheet syntax (contributed by C. Meier)
* Added support for declarative urls in client-exceeding inclusions (reported by fh)
--------------------------------------------------
2005-02-16::zms-2.3.2-b53a3.tar.gz
-- MINOR CHANGES
* Removed support for bodyContent_PagePrePDF and bodyContent_PagePostPDF (artefacts of DOC PDF export)
* Added support for sitemap with selectors (requested by J. Klein)
--------------------------------------------------
2005-02-25::zms-2.3.2-b53a5.tar.gz
-- MINOR CHANGES
* Added support for custom xthml-export (requested by J. Klein)
* Fixed findings: MSIE.patch, line breaks after images, included JavaScripts in headScript (requested on zms-developers group)
--------------------------------------------------
2005-02-28::zms-2.3.2-b53a7.tar.gz
-- MINOR CHANGES
* Fixed bug in mulitlingual declarative urls (reported by Dr. F. Hoffmann and J.Klein).
--------------------------------------------------
2005-03-08::zms-2.3.2-b54.tar.gz
-- MINOR CHANGES
* Applied fix for alternate stylesheet syntax.
* Applied fix for parsing internal urls in textareas of configuration menus.
--------------------------------------------------
2005-03-13::zms-2.3.2-b55.tar.gz
-- MINOR CHANGES
* Applied fixes for client-exceeding inclusions (reported by fh-cgn [1, 2a, 3, 4])
* Added support for custom header and footer in xthml-export (requested by J. Klein)
--------------------------------------------------
2005-03-24::zms-2.3.2-b56.tar.gz
-- MINOR CHANGES
* Applied fix for relative path of blob-fiels in xml-export (requested by J. Schoenfeldt)
* Applied fix sql-datasource.
--------------------------------------------------
2005-04-06::zms-2.3.2-b57.tar.gz
-- MINOR CHANGES
* Applied fix for precondition evaluation in SCORM sequencing rules (requested by Dr. T. Fox)
--------------------------------------------------
2005-05-19::zms-2.3.2-b58.tar.gz
-- INCLUSIONS
* Added support for client-exceeding inclusions of special-objects (requested by desy)
--------------------------------------------------
2005-05-20::zms-2.3.2-b59.tar.gz
-- MINOR CHANGES
* Applied fix for bodyContent_Search (requested by J. Schoenfeldt)
--------------------------------------------------
2005-06-15::zms-2.3.2-b60.tar.gz
-- MINOR CHANGES
* Revised ZMS eLC for easy integration of external UserDB (requested by Dr. T. Fox)
* Applied fix for resources in Spec. Objs. with MediaDB (requested by Dr. T. Fox)
* Applied fixes for Zope-2.8 (contributed by D. Datzert)
* Applied fix for Web-DAV compliance in get_size() (contributed by D. Datzert)
* Applied fix for title in manage_system (contributed by D. Datzert)
--------------------------------------------------
2005-06-27::zms-2.3.2-b61.tar.gz
-- MINOR CHANGES
* Applied fixes for Zope-2.8 (global name 'transaction' is not defined)
* Applied fixes for html-conformance in manage_main of ZMSContainerObjects (form and tr/td)
* Applied fixes for Web-DAV compliance in (contributed by D. Datzert)
--------------------------------------------------
2005-07-04::zms-2.3.2-b62.tar.gz
-- MINOR CHANGES
* Applied fix for radio-buttons in js::disallowBlank()
* Applied fix for mandatory-fields in language configuration-tab.
* Applied fix for ZMSeLC (Profile-Registration, UTF-8).
* Applied new type 'Library' for special-objects.
--------------------------------------------------