matthiasn / systems-toolbox

Tools and building blocks for building Systems in Clojure and ClojureScript
Eclipse Public License 1.0
174 stars 23 forks source link

provide instructions for wiring up a remote component #21

Open batwicket opened 9 years ago

batwicket commented 9 years ago

It would be nice if there were instructions wrt wiring a remote http-kit (and/or immutant or other ring-compatible server, perhaps) server into the toolbox for websocket exchanges. Perhaps a parameter in the instantiation of :server/ws-cmp in example/core.clj?

matthiasn commented 9 years ago

Yeah, I was thinking about spending the entire next week on documentation and a book update describing the mechanism in detail. How would an instantiation parameter help here in your opinion? Cheers

batwicket commented 9 years ago

Directly using a server address/port in the example's wiring code might save some effort for toolbox developers. Ideally the code will be so intuitive that they won't have to read any comments/documentation!