Ruby Rails with CQ5.6 | Community
Skip to main content
Level 3
October 16, 2015
Solved

Ruby Rails with CQ5.6

Hi,

Am CQ5 Admin.

Version is CQ5.6.0

Please find few questions.

1.How to integrate Ruby rails in CQ5.

2.How to integrate Maven with CQ5.

If yes Can i have the procedure to do.

Thanks

Mahesh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

You can use Maven to build components that a CQ apps uses such as OSGi bundle. See this community article as an example of how to use Maven to to build an OSGi bundle (in this example - the OSGi bundle contains JCR API logic that persists data to the CQ JCR) :

http://scottsdigitalcommunity.blogspot.ca/2013/01/persisting-cq-data-in-java-content.html

I have not worked with Ruby on Rails; however, you can you integrate Ruby on Rails and CQ by using Ruby on Rails to submit RESTFul sling requests to CQ. As an example - read this community article that uses a .NET application to submit a RESTFul sling requests to post data from a C# .NET app to the CQ JCR:

http://scottsdigitalcommunity.blogspot.ca/2013/06/submitting-data-to-adobe-cq-jcr-using.html

Here is another example of using an App to sent Restful sling requests to CQ:

http://scottsdigitalcommunity.blogspot.ca/2013/05/submitting-mobile-data-to-adobe-cq.html

Hope this helps
 

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

You can use Maven to build components that a CQ apps uses such as OSGi bundle. See this community article as an example of how to use Maven to to build an OSGi bundle (in this example - the OSGi bundle contains JCR API logic that persists data to the CQ JCR) :

http://scottsdigitalcommunity.blogspot.ca/2013/01/persisting-cq-data-in-java-content.html

I have not worked with Ruby on Rails; however, you can you integrate Ruby on Rails and CQ by using Ruby on Rails to submit RESTFul sling requests to CQ. As an example - read this community article that uses a .NET application to submit a RESTFul sling requests to post data from a C# .NET app to the CQ JCR:

http://scottsdigitalcommunity.blogspot.ca/2013/06/submitting-data-to-adobe-cq-jcr-using.html

Here is another example of using an App to sent Restful sling requests to CQ:

http://scottsdigitalcommunity.blogspot.ca/2013/05/submitting-mobile-data-to-adobe-cq.html

Hope this helps
 

Translate