SPiFFy: Simple PHP Framework for Fedora

Installation

Spiffy requires the following:

You should be familiar with operating Fedora.

Installation process 

1. Drop into a PHP environment.

2. Edit the config options under the section Basic Setup in the config file at: [SPIFFY INSTALL PATH]/classes/Config.class.php These are the basic configuration options:

FEDORA_HOST
The location of the Fedora server (e.g. localhost)
FEDORA_PORT
The port the Fedora server runs on(e.g. 8081)
MODULE
The PHP module name for this application
COLLECTION_BDEF_PID
The BDEF for collections; any Fedora object that has this BDEF will be the root of a collection that will be displayed/searched, etc. Spiffy will identify these objects, then query the Resource Index (triplestore) to find objects that have an IS_MEMBER_OF_COLLECTION or IS_MEMBER_OF relationship to these objects (that relationship is configurable under teh advanced options).
SEARCH_INDICES_PATH
Where in the filesystem to store the text-search indices.

That's all--there are no databases to configure, required external libraries, etc.

Getting Started 

To publish collections, it is suggested that you import the Image Collection Demo which ships with Fedora. Spiffy comes by default prepared to display these collections.

  1. Start the Fedora Adminstrative Client
  2. Go to File >> Ingest >> Objects by Type >> From Directory...

Contact us

For questions, please contact Eric Jansson at ehjansson(AT)hotmail.com