Hi All,

I'm building a website using noir as the backend and clojurescript as the 
front end language. Instead of making a single page web application, I want 
to split the application into different pages.

Now the problem is, different pages need different js functions. I know 
that by using cljsbuild  I can build different source paths to different js 
files. So for each pages I can just make a cljs directory and let cljsbuild 
compile it to a js file to be included by that page. However I wonder if 
this solution is a little bit overkill for a simple website. Maybe I can 
put all the cljs file in one directory (hence only produce one js file) and 
use namespace to split functions for different pages.

What solution do you use? Do you think your solution is better than the 
other one? I want to hear your opinion. Thanks.

regards,
Zhao Shenyang


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to