Hi Laurent,
I've been putting a few ClojureScript apps into production throughout this
year with much success.
Because of earlier limitations/sensitivities in the browser-repl, my
workflow is a little different than those described above.
Typically I:
- have cljsbuild-auto running
- use the Clojure REPL as much as possible, even for my CLJS code.
Afterall, it's just Clojure, right?
This also encourages good program design, keeping browser-specific code
in a single namespace
- use the browser-repl only for exploring DOM-related pieces of my
application, or debugging
- use some sort of browser auto-refresh when I build new assets (HTML,
CSS, JS, etc. For me, I use Ruby for this piece)
I will often just use my browser's console for peeking at quick things in
the CLJS code (I only compile in advanced mode when I've locked in an app).
When I need the browser-repl, I just use repl-listen in cljsbuild. In
future projects I plan to explore and use piggyback.
A lot of the grunt work I've needed to build out is captured in my
Shoreleave CLJS libs, including ways to fireoff a browser-repl with
query-string args.
Hope this helps!
Paul
--
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