cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco and Ruby on Rails

achung
Champ in-the-making
Champ in-the-making
Hello -

I want to use Alfresco as the CMS for http://www.mysite.com and develop a custom app with Ruby that can be accessed at http://www.mysite.com/app1.  The custom app should only be visible to users who login to Alfresco.

From what I understand so far of Alfresco, both the CMS and RoR can reside on the same server and that the scenario above is possible.  Is my interpretation correct?  If so, how difficult is it to accomplish?

Thanks very much in advance.

Regards,
Andrew
14 REPLIES 14

groberts
Champ on-the-rise
Champ on-the-rise
There is a ruby gem to simplify CMIS;

http://github.com/xaop/activecmis

Its not a complete implementation and I have not tried it yet.

lfridael
Champ in-the-making
Champ in-the-making
Thanks for the suggestion.  I don't think that Web Script is available in Alfresco Community 3.3.g.   I can see it in an older version,  Alfresco Community v3.2.0.

There is a Web Script in 3.3.g called

http://admin:admin@xxxx.yyyy.org/alfresco/service/api/node/workspace/SpacesStore/5b76387d-3649-46b0-...

Are you sure you've tried calling /alfresco/service/api/node/content/workspace/SpacesStore/<node-id>?

"/api/node" yields metadata, while "/api/node/content" retrieves the content.

I verified this against a 3.3g community installation.

groberts
Champ on-the-rise
Champ on-the-rise
Apologies, you are right, thanks for checking my mistake.

groberts
Champ on-the-rise
Champ on-the-rise
Oh that works nicely,  you have saved my afternoon.

stevereiner
Champ in-the-making
Champ in-the-making
FlexSpaces also has whole bunch of data returning webscripts that can be used from apps other than Flex. They do currently just return XML.  For json, would just need json versions of the ftl templates
(Note: I still need to fix some of the error checking in the js files.)

http://forge.alfresco.com/projects/flexspaces/

See XML Data WebScripts sub package
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.