<div dir="ltr">Thanks again. Some very interesting responses.<div><br></div><div>James - I'll look into Sir Trevor and give you a shout, thanks.</div><div><br></div><div>Jasim - CamliStore looks pretty amazing but as you said, too low-level for my purposes. Definitely worth keeping an eye on though.</div>
<div><br></div><div>Oliver - I think of ActiveAdmin and RailsAdmin as sort of the same although I'm sure there are similarities. This may well end up being the route I take as it seems to draw the line between library code and bespoke code in an acceptable place. </div>
<div><br></div><div>Steve / Jon - I'll look into Radiant as it sounds like it might do what I want. I didn't really enjoy using it last time I tried but it may have got better. I've built a few things with Padrino before and might give it a go. It seems like essentially a light-weight version of the Rails / RailsAdmin solution though unless I'm missing something.</div>
<div><br></div><div>Riccardo - In an ideal world I could do this but I think it highly unlikely that we'll be allowed to open source it, sadly.</div><div><br></div><div>I'll report back when I get started.</div><div>
<br></div><div>Cheers</div><div>Ian</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:19 PM, James Higgs <span dir="ltr"><<a href="mailto:jameshiggs@gmail.com" target="_blank">jameshiggs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ian,<br>
<br>
I'm not sure if this is interesting, but we (Made by Many) have an open source (MIT licence) browser-based rich content editor that we originally made for ITV News and released with their very kind permission. It's called Sir Trevor and it speaks JSON and Markdown for structured text.<br>
<br>
A piece of content in Sir Trevor's world is composed of "blocks" and you can use the stock blocks or create your own. You can have a single instance of Sir Trevor per page, or many. Up to you.<br>
<br>
We often use Sir Trevor inside a simple Rails admin using Devise for authentication and Inherited Resources to help us scaffold out CRUD functionality. It fits really well in this workflow.<br>
<br>
I don't know what kind of content you're looking to capture, but there are built in block types for text, lists, tweets, YouTube videos, images and so on. You can easily create your own custom block types - which we've done a lot for ITV - to create completely tailored editing experiences if the built-in block types don't suffice.<br>
<br>
We haven't really launched this officially, but it is in production use at ITV and on our own website. It's also already being used by a few companies that are not our clients or associated with us. It has been through a fairly intense period of refactoring recently, so it's pretty clean.<br>
<br>
There's also a gem that helps you use it in Rails really easily.<br>
<br>
Take a look ad see if it might help. It doesn't sound like it's going to solve all of your problems, but it might be a pice of the jigsaw.<br>
<br>
JS library: <a href="https://github.com/madebymany/sir-trevor-js" target="_blank">https://github.com/madebymany/sir-trevor-js</a><br>
Rails Gem: <a href="https://github.com/madebymany/sir-trevor-rails" target="_blank">https://github.com/madebymany/sir-trevor-rails</a><br>
<br>
If it's interesting, I can can put you in touch with the guys who maintain it here and they'll provide you with help. Pull requests are very welcome.<br>
<br>
Cheers,<br>
James<br>
<div class="im"><br>
<br>
<br>
On Wednesday, 11 September 2013 at 10:31, Ian Kynnersley wrote:<br>
<br>
> Thanks for all the useful responses. I'll definitely look into Active Model Serializer.<br>
><br>
> Most of these replies rely on me creating a bespoke model structure in code which is what I'm trying to avoid. Parse and Helios look interesting but don't give me the admin interface that I need to allow totally non-techie users to be able to manage the content themselves.<br>
><br>
> What I'm after would be a library that I can install in my app (or something hosted like Parse / Helios) that instantly gives me my CMS. Something a bit like Radiant maybe. I would then want to create my model structure within that CMS such that admin users could add, remove and update information easily. However, unlike a normal CMS which would render the output as a website with some templates to alter the look and feel, I want it to provide a JSON API.<br>
><br>
> The reason for all of this is that ownership of this app will be handed over to a different company and they are (rightly) nervous about taking on a completely bespoke application rather than a customised version of an off-the-shelf product.<br>
><br>
> Perhaps I am looking for something that doesn't exist so your thoughts are all very useful.<br>
><br>
> Thanks again<br>
> Ian<br>
><br>
><br>
><br>
</div><div class="im">> On Wed, Sep 11, 2013 at 3:20 AM, Tejas Dinkar <<a href="mailto:tejasdinkar@gmail.com">tejasdinkar@gmail.com</a> (mailto:<a href="mailto:tejasdinkar@gmail.com">tejasdinkar@gmail.com</a>)> wrote:<br>
> > On Sep-11-2013, at 7:02 AM, Nick Novitski <<a href="mailto:nicknovitski@gmail.com">nicknovitski@gmail.com</a> (mailto:<a href="mailto:nicknovitski@gmail.com">nicknovitski@gmail.com</a>)> wrote:<br>
> > > There's also <a href="https://github.com/rails-api/active_model_serializers" target="_blank">https://github.com/rails-api/active_model_serializers</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > +1 on Active Model Serializer.<br>
> ><br>
> > Benefits:<br>
> > 1) Easily testable, and OO<br>
> > 2) Has access to current_user (or any other controller method via `scope'). This makes it possible for you to serialize based on who has requested the object<br>
> > 3) Works seamlessly with respond_with<br>
> > 4) If you have the same relation object multiple times on your object (say user can be created_by, updated_by, etc…) then you have a way to just `embed' the user once.<br>
> ><br>
> > Also, +1 on rails-api gem as well :-)<br>
> > --<br>
> > Tejas Dinkar<br>
> > <a href="http://www.nilenso.com" target="_blank">http://www.nilenso.com</a><br>
> > Nilenso Software (formerly C42 Engineering)<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Chat mailing list<br>
</div>> > <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a> (mailto:<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a>)<br>
<div class="im">> > <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> Ian Kynnersley<br>
> <a href="http://iankynnersley.co.uk" target="_blank">http://iankynnersley.co.uk</a> | <a href="tel:%2B44%20%280%29%207973%20420%20829" value="+447973420829">+44 (0) 7973 420 829</a> | <a href="http://twitter.com/kpopper" target="_blank">http://twitter.com/kpopper</a><br>
> _______________________________________________<br>
> Chat mailing list<br>
</div>> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a> (mailto:<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a>)<br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>
<br>Ian Kynnersley<br><a href="http://iankynnersley.co.uk" target="_blank">http://iankynnersley.co.uk</a> | +44 (0) 7973 420 829 | <a href="http://twitter.com/kpopper" target="_blank">http://twitter.com/kpopper</a>
</div>