Child pages
  • Apstrata CMS
Skip to end of metadata
Go to start of metadata


ApstrataCMS is an elegantly simple but very powerful CMS framework built to take advantage of the apstrata backend features and javascript SDK. The features are comparable to basic Wordpress capabilities but provide incredible flexibility and power to add or modify functionality.    

The code is composed of a minimal php template management system and a powerful javascript based administration tool. The code is simple, because ApstrataCMS takes full advantage of apstrtata's back-end powerful database, content & digital asset management and security features. 

ApstrataCMS needs an apstrata account to run and can be hosted on any server that supports php, no other server requirements are needed.  

Getting the code 

ApstrataCMS code is available as open source from GitHub at

ApstrataCMS relies on the ApstrataSDK (apstrata javascript SDK and UI widgets), you can download it from

ApstrataCMS and ApstrataSDK depend on the dojo 1.6 framework, you can download from here:


  1. Copy the ApstrataCMS code into your webserver's root directory.
  2. Copy the ApstrataSDK into /lib/ApstrataSDK subfolder
  3. Unpack the dojo zip file into /lib/dojo folder

Folder structure

  • build: ant build scripts for obtaining ApstrataSDK, dojo and libraries and running js/css packaging utilities (this is work in progress, not available currently from SVN)
  • lib: Libraries used in the site
    • ApstrataSDK
    • dojo: use dojo 1.6, the folder should contain directly the 4 dojo packages; dojo, dijit, dojox and util 
  • manage: cms backend and configuration files
  • resources: various image and other resources that are not theme dependent used in the site
  • src: Javascript code and php templates
    • home: base folder for widgets used on the site
  • templates: php templates
    • [themeName]: a folder per php templates set (customize templates here)
  • themes: CSS themes
    • [themeName]: a folder per css theme (customize templates here)
  • index.php
  • page.php: main controller

Configuration files

  • manage/config.php: Main configuration php script for the site
  • src/home/ApConfig.js: Apstrata config for the widgets used on the site
  • src/home/CmsConfig.js: Apstrata config for the cms

CMS manage/config.php params 

  • apstrataServiceURL: apstrata service base URL, i.e.: ""
  • apstrataKey: apstrata account key, i.e.: E83D557788
  • contentStore: apstrata store, i.e.: site
  • developmentMode: this should be true throughout the development process, set to false on production deployments
  • useStub: this should be true, if the CMS should not get the content from apstrata but from a local set of test data, this is convenient in development
  • apstrataConnectionTimeout: connection timeout for cross domain apstrata connections, typically 30000
  • urlPrefix: This should be set to the default php script that creates the pages i.e.: "page.php?pageId=", typically this would be "pages/" if url rewriting is enabled, as an example pages/myPage would substitute page.php?pageId=myPage  
  • template: name of the template/skin used, i.e.: apstrata




  • No labels