Subscribe

Store Groups in Moriarty

I just committed the latest batch of changes to Moriarty (svn revision 440) which introduces a new StoreGroup class. I also introduced a new NetworkResource class that contains simple logic for fetching, updating and deleting resources on the Platform (using GET, PUT and DELETE).

Moriarty is a simple PHP library for accessing the Talis Platform. It follows the Platform API very closely and wraps ups many common tasks into convenient classes while remaining very lightweight. It also provides some simple RDF classes that are based on the excellent ARC2 class library. Moriarty is primarily being developed by Ian Davis and is in continual alpha, subject to occasional rapid bursts of change. You can read more about Moriarty on the n² wiki and get its source from the n² subversion repository

Store groups are a new Platform feature that we hope to deploy to live in Release 10. I wrote this code to help me perform the acceptance testing on our internal release candidate. A store group is an aggregate view of up to five stores. They present the same contentbox search and sparql services that a normal store does but the results of each type of searching are drawn from the members of the group. Because the group API is the same as that provided by stores you should just be able to point your application code for store searching at a group and get the benefit of cross searching.

You don’t normally need any special permissions to use a store group but if any of the member stores are secured you’ll be asked to authenticate. Note that creation of store groups is currently restricted to Talis Live Services staff but, like store creation, we hope to open this up for general availability in due course.