June 25, 2011
Web Services for Mahara
As part of some work for the Ministry of Education for LMS -> myPortfolio (Mahara) integration, it became apparent that we needed a Web Services stack. This is not particularly interesting in it's self, but it is something that an interconnected service needs, in order to participate in a Socially Networked world.
Building a WS framework is not a difficult thing, but it is relatively time consuming (anything that takes more than a few weeks is considered expensive here), so the problem was, how to develop an unexciting feature that in itself does not deliver any great new user experience quickly and cheaply. At this point it occurred to me that there might be a solution in what Moodle has achieved with it's Web Services Framework - after all, Mahara is (in a previous life) based on Moodle.
It turned out, that the way that Peta Skoda has developed the Moodle WSF is fundamentally based on Zend data services, and is quite portable.
This gives the basic features of token, and user based auth, with SOAP, XML-RPC and JSON emitting REST based services. There are a number of other things that I'd like to add to this, the most important being OAuth based authentication, and JSON based import parameter consumption.
Edit: JSON based import parameter consumption, has been done, but I want to add replacing MNet to the list of things to do.
Posted by PiersHarding at 9:12 AM