This project is read-only.

Spiro - a Single Page Interface for Restful Objects

Jul 10, 2012 at 12:48 PM
Edited Jul 12, 2012 at 3:48 PM

Further to Adam's posting about Arow, just to let you know that we have another Single Page App viewer also under development, using Backbone.js.   We have called it Spiro.  The code is currently within this project in the source code repository:

~\Server\RestfulObjects.Mvc.ClientApp

the single page app is defined in this view:

~\Server\RestfulObjects.Mvc.ClientApp\Views\Spiro\Spiro.aspx

but that aspx view can easily be converted to a straight .html page for running outside of MVC.

The Javascript and .css files are all contained in:

~\Server\RestfulObjects.Mvc.ClientApp\Content

This is very much a work in progress  -  only a partial implementation at present  -  but Stef is progressing it right now.  The default design emulates the styling of the Naked Objects MVC UI.  This is deliberate  -  making the point that it will be possible to generate an identicial UI to Naked Objects MVC as a single page app talking to Restful Objects for .NET.  However, the intent is that this viewer will provide a library of functions that will be useful for generating completely different styles of UI.

I have just successfully copied this and Adam's Arow single page app into a single project, and it is really nice to show how you can generate two such very different styles of UI -  both as single page apps  -  against the same RO server application.

Jul 10, 2012 at 12:53 PM
Edited Jul 10, 2012 at 1:11 PM

Do you have any screen captures that you could upload, perhaps on the restfulobjects wiki?