News for hackers. Stuff that matters.
Re:How do they integrate front end and back end work together? by dilithiumH3 on Sunday November 25, 2012 @04:09AM (#4827734)
I personally use REST APIs (over HTTP/HTTPS) to surface all the backend capabilities. Then it doesn't matter how the frontend is developed.

In your case you would probably want to serve the content(resources) using REST. I am not particularly sure how this is done in Rails but it shouldn't be tough to have your objects serialized into json. You would then write AJAX code in your frontend/client code to interact with the backend via the API.

Re:How do they integrate front end and back end work together? by nXqd on Sunday November 25, 2012 @06:14AM (#4827889)
yes, this is exactly what I'm thinking about. But I concern about security problem, are there any notices that I should know when I develop app this way ?