These days, lots of stuff is being done on the client. This includes full page rendering, data fetching, and much more. Right now, I am developing an API and also working on the client-side app which fetches data, binds it, and displays it.
The problem I am experiencing, is that I am not responsible for any front-end design, and a beautiful design needs to wrap my stateless html5 app. Given my circumstances, where data is bound to DOM elements, and I am programming on the client AND the server, how can I work harmoniously with my front-end designer such that a) he doesn't need to worry about any code whatsoever, and b) I am able to make sure that none of my data bindings break and that things load seamlessly?
I am using backbone, jQuery, require.js, doT.js, and a few other helper modules on the clientside to achieve statelessness. My POC application works like a charm but it looks terrible. I was considering creating an 'htmlspec' or something along those lines, to give to my designer, but what types of things would it need to include? How is this done at large companies that are working with responsive pages?