mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER

Software Execution Path

General HTTP Request

The following path is taken during each HTTP request:

  1. URL is rewritten by SobekCM_URL_Rewriter
  2. New SobekCM_Page_Globals object constructed
  3. Application state is built or validated
  4. Request is analyzed and SobekCM_Navigation_Object is created
  5. User check performed or robot filtering performed
  6. SobekCM_Assistant used to retrieve any data needed for the current mode/submode
  7. SobekCM_Page_Global creates the appropriate writer for the request
    • dataset_writer
    • html_echo_writer (for echoing static pages for robots)
    • html_writer
    • json_writer
    • oai_writer
    • xml_writer
  8. If this is a html request, the html writer generates the appropriate subwriter
    • collection_html_subwriter
    • contact_html_subwriter (for echoing static pages for robots)
    • error_html_subwriter
    • internal_html_subwriter
    • item_html_subwriter
    • legacy_url_html_subwriter
    • my_sobek_html_subwriter
    • preferences_html_subwriter
    • print_item_html_subwriter
    • public_folder_html_subwriter
    • result_dataset_html_subwriter (also employed by some other subwriters)
    • simple_text_html_subwriter
    • statistics_html_subwriter

Additional Viwer Objects

In addition to this process, several of the subwriters employ additional viewer objects for rendering specific submodes.

  • The collection_html_subwriter employs collection viewers
    • Admin_CollectionViewer
    • Advanced_Search_CollectionViewer
    • Basic_Serach_CollectionViewer
    • DataSet_Browse_Info_CollectionViewer
    • dLOC_Search_CollectionViewer
    • Full_Text_Search_CollectionViewer
    • Map_Browse_CollectionViewer
    • Map_Search_CollectionViewer
    • Metadata_Browse_CollectionViewer
    • Newspaper_Search_CollectionViewer
    • No_Search_CollectionViewer
    • Rotating_Highlight_Search_CollectionViewer
    • Static_Browse_Info_CollectionViewer
  • The item_html_subwriter employs item viewers
    • Checked_Out_ItemViewer
    • Citation_ItemViewer
    • Download_ItemViewer
    • EAD_Container_List_ItemViewer
    • EAD_Description_ItemViewer
    • Feature_ItemViewer
    • Flash_ItemViewer
    • GnuBooks_PageTurner_ItemViewer
    • Google_Map_ItemViewer
    • HTML_ItemViewer
    • HTML_Map_ItemViewer
    • JP2_ItemViewer
    • JPEG_ItemViewer
    • MultiVolumes_ItemViewer
    • PDF_ItemViewer
    • Related_Images_ItemViewer
    • Restricted_ItemViewer
    • Street_ItemViewer
    • Text_ItemViewer
    • TOC_ItemViewer
  • Likewise, the my_sobek_subwriter utliizes mySobek viewers
  • Likewise, the result_dataset_html_subwriter utliizes result viewers

Related Resources

  • Code statistics

    This has some basic statistical information for each main library employed by the application

  • Code architecture (MSDN style)

    This has remarks for each namespace, object, property, and method used by the SobekCM digital library.