I recently started working on an application that requires intensive client-side scripting and is considering integrating Rails with JavascriptMVC. found that people at JupiterJS do the same thing, which is great, but
I searched on google, on the javascriptMVC forum, and I still could not find a specific answer for this - where can I put all the javascriptMVC folders and files in the Rails file structure?
I was originally going to put all the new javascriptMVC files in / public / javascripts / - but I was a little worried about the security issues that he could create - all test files, documents and scripts would be accessible to the whole world. PLUS, instructions in javascriptMVC say:
"PRO TIP: Expand these files as high as possible in the application folder structure (i.e. do not put them in the javascriptmvc folder in your public directory).
So now I'm not sure. Any ideas on what a good rails + javascriptMVC folder structure would look like, and I need to add new paths to the Rails environment so that it can work outside of the public /?
source
share