This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-06
Channels
- # bangalore-clj (16)
- # beginners (120)
- # boot (21)
- # cider (24)
- # clara (9)
- # cljs-experience (1)
- # cljsrn (1)
- # clojure (218)
- # clojure-dev (3)
- # clojure-italy (12)
- # clojure-losangeles (4)
- # clojure-norway (2)
- # clojure-russia (2)
- # clojure-spec (19)
- # clojure-uk (178)
- # clojurescript (52)
- # cursive (7)
- # data-science (55)
- # datomic (25)
- # defnpodcast (11)
- # emacs (5)
- # fulcro (27)
- # hoplon (2)
- # leiningen (14)
- # midje (9)
- # off-topic (132)
- # onyx (19)
- # other-languages (23)
- # portkey (2)
- # re-frame (31)
- # reagent (1)
- # ring-swagger (15)
- # shadow-cljs (58)
- # slack-help (13)
- # spacemacs (22)
- # sql (7)
- # test-check (13)
Just popping in here to say that I’m exploring the integration of ClojureScript with Elixir/Phoenix; it’s fun and productive so far!
Interesting, do you find good support for things like Transit, EDN, and GraphQL / Om Next in Elixir?
So, Transit and EDN have some Erlang libraries that I haven’t really checked. (Erlang libraries can be natively called from Elixir).
There is an actively maintained and seemingly well-architected GraphQL library called Absinthe: http://absinthe-graphql.org
I’m a beginner in Clojure, and opted to build the server aspect on Elixir/Phoenix to get some productivity boosts.
@U7PBP4UVAI've been planning on learning Elixir / Phoenix for a while, the platform seems quite good and there's probably a lot of good things to steal for the Clojure world. What I'm afraid of losing though is the ability to share code between server and client
I thought about this, but in the end I can’t imagine many places where code sharing is actually a big deal for my use cases. Perhaps some validation rules?
on a side note, https://github.com/clojerl/clojerl is getting more impressive every day
Not really; elixir modules are all assuming the basic Erlang/OTP building blocks like processes and message passing. Better to take Clojure code and run on elixir. Which is what clojerl does.
not sure I follow. https://github.com/clojerl/example-web-app/tree/master/src/web_app does exactly that. It must be like from erlang, if you really want you can just use elixir modules from erlang; you could do the same from cljerl
Unfortunately calling Elixir code from Erlang is a bit tricky since Elixir code is macro-heavy. There was a discussion recently in the Elixir forum.
For my the use case though of sharing some subset of Clojure between client and server, clojerl would probably work fine. It seems to combine to Erlang modules.
yes, clojerl seems to be similar to lfe/elixir that way, you can do anything erlang can do it seems