News for hackers. Stuff that matters.
Re:The Joy of Erlang; Or, How to Ride a Toruk (2011) by lightbyte on Tuesday November 28, 2017 @01:41PM (#15800076)
>However if you come from Rails or want to do mostly web development, then Phoenix is a nice framework, so maybe a good place to start. Also Elixir has a very friendlier community for newcomers perhaps, kudos to Jose and team there, they went above and beyond to make that happen.

One of the best parts about Elixir/Erlang/other BEAM languages is that you can use something like the Phoenix framework in your erlang project just fine. You do not need to learn Elixir if you want to use any of the neat stuff developed in it.

Re:The Joy of Erlang; Or, How to Ride a Toruk (2011) by ramchip on Tuesday November 28, 2017 @07:17PM (#15803337)
I don’t think you can realistically use Phoenix without doing at least some Elixir, because it uses macros quite heavily, and you can’t call those from Erlang.
Re:The Joy of Erlang; Or, How to Ride a Toruk (2011) by Tomte on Tuesday November 28, 2017 @04:02PM (#15801577)
Phoenix without Elixir sounds interesting! Do you have a blog post or some other documentation at hand?
Re:The Joy of Erlang; Or, How to Ride a Toruk (2011) by lightbyte on Wednesday November 29, 2017 @02:09PM (#15809794)
I don't know of any specifically, sorry. But you can use elixir modules by just prefixing them with `Elixir.` in erlang. So to call the phoenix module in erlang you'd just do a regular function call to 'Elixir.Phoenix':xxx
Re:The Joy of Erlang; Or, How to Ride a Toruk (2011) by _asummers on Tuesday November 28, 2017 @03:43PM (#15801333)
To this point, Elixir is just an OTP Application that gets started by the BEAM.