Kevin - thanks for the pointers.

I looked at those projects before, and they do make it easier to use the 
clojurescript-repl thru nrepl&friends, but unless I missed the features, it 
doesn't help with moving the repl-server in the same execution context as the 
web server, and to make the reflection-interface easier accessible over http 
(?). 

-FrankS.


On Oct 8, 2012, at 10:04 AM, Kevin Downey <redc...@gmail.com> wrote:

> I'd checkout nrepl and nrepl middlewares, which can be exposed over
> http (via ring middleware) or other transports.
> 
> https://github.com/hiredman/drawbridge-cljs is an nrepl http client
> for clojurescript
> 
> https://github.com/hiredman/nrepl-cljs-middleware is an example of a
> nrepl middleware, which exposes clojurescript compilation as an nrepl
> command
> 
> On Mon, Oct 8, 2012 at 9:51 AM, 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.
>> 
>> 
>> 
>> --
>> 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
> 
> 
> 
> -- 
> And what is good, Phaedrus,
> And what is not good—
> Need we ask anyone to tell us these things?

-- 
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