I don't think there is any one "best" way. (You're just going to get opinions if you ask a question like that.)
Insofar as I understand the point of the views. Leave your views as JSON, then use small templates (like moustache) to render out those views. On Tue, Jan 31, 2012 at 10:47 AM, john.tiger <[email protected]>wrote: > is it better practice to : > 1) put most div's in index.html - then hide with css display:none - then > display:block / display:none with view events > 2) use lots of small template files called from views > 3) render html code in js view functions > 4) use html js scripts in index.html then call with view events >
