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.
- Start the Fedora Adminstrative Client
- Go to File >> Ingest >> Objects by Type >> From Directory...
- on the next dialog, navigate to the folder
[FEDORA INSTALL PATH]/client/demo/foxml/local-server-demos/image-collection-demo
- on the next dialog, check ALL the boxes
- and on the last dialog box select FOXML as the format, and click OK
Contact us
For questions, please contact Eric Jansson at ehjansson(AT)hotmail.com