How are Javascript resources best integrated into a ring application?
Specifically:
- Where would we put our .js files?
- How and where should unit tests be set up?
- What is the best way to set up acceptance tests for functionality that cuts across the client and server sides?
Are there any best practices for javascript with ring applications? One possible answer would be to develop the client and server sides completely separately, to essentially separate everything into two separate projects, but I'm not completely happy with that idea.
(I'm also aware of clojurescript, though I'm thinking mainly of javscript code that's been written as javascript.)