I have working Rails 3 to work with plain old HTML CRUD, and I want to create a sproutcore client for it. I (think) I understand Rails and Sproutcore, but I have a confusing stupid question for newbies:
Where can I put a sproutcore application in a rails project structure?
In particular, given that I have:
myapp/
app/
...
public/
...
And I need to say:
sc-init SOMETHING
What will SOMETHING be? (myapp? public?) Where does the sproutcore app html come from? What are the best methods for serving this (routes?) What does the sc server really do that I cannot do with WebBrick / Mongrel etc.?
Many thanks!
source
share