On Mon, Oct 8, 2012 at 12:51 PM, Frank Siebenlist
<frank.siebenl...@gmail.com> wrote:
> I've been digging through the clojurescript code lately, and making some 
> changes to the repl-related code. This is quite difficult as clojurescript 
> seems to have its own "proprietary" implementation of a webserver that serves 
> the repl-communication as well as other possible handlers, like the 
> reflection-based stuff.
>
> Having a repl-server based on ring-middleware would give you more modularity, 
> and easier pluggability with the ring-based webserver code that in many/most 
> cases will coexist with the repl-session.
>
> I've searched for any discussiond or efforts in this space, but couldn't find 
> any…
>
> Would such a ring-based alternative make sense?
> Any existing efforts in this space?
> Any reasons why the current "hardcoded" web server would be better/preferable?
>
> -FrankS.

The hard coded web server is not meant to be general solution at all.
It just gets you a usable browser REPL with minimal hassle. Making
ClojureScript depend on Ring makes little sense to me, but seems fine
for an alternative browser REPL implementations.

Though of course I think it's preferable that people simple fix the
one that ships w/ ClojureScript since then a much larger group of
people benefit out of the box.

David

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

Reply via email to