Good read. Curious about Elixir. Why would one use this over ‘plain old’ Erlang / OTP apart from the Rubyesque syntax, which might appeal to RoR devs?
Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
21–30 of 155 posts
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#22Good read. Curious about Elixir. Why would one use this over ‘plain old’ Erlang / OTP apart from the Rubyesque syntax, which might appeal to RoR devs?
It's 100% the syntax. It appeals to ruby devs and also I think it's a lot easier to grok in general. But you can write Erlang code directly in an Elixir file, you can use Erlang libraries directly in Elixir, and Elixir compiles to the same BEAM instructions that Erlang does, so there's functionally no difference in terms of capabilities or what happens when they run.
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#23Earlier quoted context omitted.
rust is still figuring out async, so it's not as good a fit as say go or elixir. If you are specifically making a graphql backend, idk why you would anything but node, since it has the most mature ecosystem.
I mean actix just hit 1.0 and I don’t think it impacted them one bit.
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#24Good read. Curious about Elixir. Why would one use this over ‘plain old’ Erlang / OTP apart from the Rubyesque syntax, which might appeal to RoR devs?
It's 100% the syntax. It appeals to ruby devs and also I think it's a lot easier to grok in general. But you can write Erlang code directly in an Elixir file, you can use Erlang libraries directly in Elixir, and Elixir compiles to the same BEAM instructions that Erlang does, so there's functionally no difference in terms of capabilities or what happens when they run.
In Elixir, as in Lisp, you can transform your code as a data structure into new code. This is importantly used in Ecto, the de-facto object data mapper in Elixir. It’s also used in Absinthe, a library from the posted link for making GraphQL APIs.
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#25Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#26This drives me batty. More familiar? Sure. “Friendlier” is very subjective.
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#27great write up. shall we dub this the PAAGER stack?
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#28I've just been trying to get back into elixir recently, myself. I'd done some basic crud 'helloworld' stuff when I first tried about a year into professional development. I've since had the Fortune to spend time learning about cloud native apps, distributed service patterns, and supporting infrastructure (spring cloud, pcf, vanilla k8s, gcp) and now returning to elixir having at least better understanding of what erl…
If you're interested in the Phoenix Framework you should check out "Programming Phoenix: Productive |> Reliable |> Fast". It's written by the creator of Phoenix (Chris McCord) and the creator of Elixir (José Valim), and it's a fantastic intro to Phoenix.
Re: Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
#29Same goes for react.