DLXS Object Class Hierarchy

From DLXS Documentation

Revision as of 21:29, 13 August 2007 by Cboulay (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Main Page > Programming Issues > DLXS Object Class Hierarchy

These are some of the main class hierarchies that play a large role in the running of the DLXS Middleware. Note: "class" here is used in the sense of object oriented programming, not in the sense of document classes.

  • DLXSApp: this is the top-level object of the Application Class hierarchy, of which TextApp, ImageApp, FindaidApp, BibApp, and PVApp are all subclasses.
  • DLXSClass: this is the top-level object of the Document Class hierarchy, of which FullTextClass, BibClass are all subclasses. TextClass and FindaidClass are subclasses of FullTextClass.
  • PIFiller: this is the top-level object of the PIFiller Class hierarchy, which is responsible for replacing Processing Instructions that have to do with application level logic. PerlPIFiller and XsltPIFiller are subclasses of this top-level object. There are further subclasses of these for each type of App.
  • BookBagItem: this is the top-level object of the BookBagItem Class hierarchy. There may be subclasses for each of the different "document" types, since each type has different type of bibliographic data stored for its items.


Contents

[edit] Subclasses of DLXSApp

Here is an outline view of the subclasses of DLXSApp. For a graphical view, see a diagram of the Application Class hierarchy

  • $DLXSROOT/lib/DLXSApp/FullTextApp.pm
    • $DLXSROOT/cgi/t/text/TextApp.pm
      • $DLXSROOT/cgi/t/text/TextApp/CollaApp.pm
      • $DLXSROOT/cgi/t/text/TextApp/CollbApp.pm
      • etc.
    • $DLXSROOT/cgi/f/findaid/FindaidApp.pm
  • $DLXSROOT/cgi/b/bib/BibApp.pm
  • $DLXSROOT/cgi/i/image/ImageApp.pm

[edit] Subclasses of DLXSClass

Major subclasses of this represent different types of "document" classes, e.g., Text, Findaid, Bib. Further subclases of this afford the overriding certain data and behavior. For example, some collections contain symbols needing filtering that most collections do not have or require XPAT searches to be done to differing depths of encoded levels.

Here is an outline view of the subclasses of DLXSClass. For a graphical view, see a diagram of the Document Class hierarchy

  • $DLXSROOT/lib/DLXSClass/FullTextClass.pm
    • $DLXSROOT/cgi/t/text/TextClass.pm
      • $DLXSROOT/cgi/t/text/TextClass/BosniaTC.pm
      • $DLXSROOT/cgi/t/text/TextClass/TesoTC.pm
      • etc.
    • $DLXSROOT/cgi/f/findaid/FindaidClass.pm
      • $DLXSROOT/cgi/f/findaid/FindaidClass/BhlFC.pm
      • etc.
    • $DLXSROOT/cgi/b/bib/BibClass.pm
      • $DLXSROOT/cgi/b/bib/BibClass/BasBC.pm
      • etc.
  • Note: Image Class does not use an object called ImageClass.

[edit] Subclasses of PIFiller

Here is an outline view of the subclasses of PIFiller. For a graphical view, see a diagram of the PIFiller class hierarchy

  • $DLXSROOT/lib/PerlPIFiller.pm
    • $DLXSROOT/cgi/t/text/TextAppPerlPIFiller.pm
    • $DLXSROOT/cgi/f/findaid/FindaidAppPerlPIFiller.pm
  • $DLXSROOT/lib/XsltPIFiller.pm
    • Not currently working; needs to be fleshed out: $DLXSROOT/cgi/t/text/TextAppXsltPIFiller.pm

[edit] Subclasses of BookBagItem

Here is an outline view of the subclasses of BookBagItem.

  • $DLXSROOT/lib/BookBagItem/BBItemTC.pm
  • $DLXSROOT/lib/BookBagItem/BBItemFC.pm
  • $DLXSROOT/lib/BookBagItem/BBItemBC.pm
  • Note: ImageClass uses a different mechanism for its version of Bookbag/Portfolio.





Top

Personal tools