Live data from Hacker News

Phoenix 1.3.0 Released

phoenixframework.org

71–80 of 143 posts

Re: Phoenix 1.3.0 Released

#71

For anyone curious about Phoenix and Elixir, I can sincerely recommend the following resources to get you started: - Programming Phoenix by Chris McCord, Bruce Tate, and José Valim [1] - The Little Elixir & OTP Guidebook by Benjamin Tan Wei Hao [2] - Elixir in Action by Saša Jurić [3] Phoenix initially attracted me to Elixir, I've stuck around for that and the OTP platform: pattern matching, process based concurrency…

Another great resource that was recently released is the Phoenix Inside Out series by Shankar: https://shankardevy.com/phoenix-book/

I just got it a few days ago and I'm about 30% into the first book. What I can say so far is that the author's approach resonates really well with me. Going through the book feels like sitting next to a colleague, who is introducing you to Phoenix and is really knowledgeable in the topic. The book is full of interesting tidbits and explanations about Phoenix internals without getting in the way. I also appreciate the TDD approach including both acceptance and unit testing. The most important thing for me though, is how Shankar condensed teaching Elixir into a single chapter. I have previously tried to study Elixir a few times with the intention of eventually getting into Phoenix but I always got overwhelmed by the OTP material. I didn't want to make the mistake of trying to learn Rails before being comfortable with Ruby again so I put off on learning Phoenix altogether. What Shankar has done is to dedicate one chapter to teach just enough Elixir for you to get started. This was perfect for what I needed and it was reassuring knowing exactly how much (or little) Elixir you need to know before diving into Phoenix.

If you have previous experience in another MVC framework and are interested in Phoenix I highly recommend this series (at least based on what I've read so far).

I should note that the current version of the book is targeting Phoenix v1.3.0-rc.2. Although Shankar has already made an announcement with the intention to update the book soon after the officially 1.3.0 release.

Re: Phoenix 1.3.0 Released

#72
post #21
post #10

Earlier quoted context omitted.

I'm a django guy. I have no experience with functional programming. What would a transition to phoenix + elixir look like for me?

You'll have a phase of disorientation where you'll be wishing you had x feature in Django and the reverse where you'll wish you had y feature in Phoenix/Elixir. The thing I really miss from Django is the admin scaffolding. Phoenix just isn't there. In practice, you could continue to use Django as a front-end. I moved away from Django when the recurring question of "this is neat, but how do I make it keep going no mat…

https://github.com/smpallen99/ex_admin

Re: Phoenix 1.3.0 Released

#73

For anyone curious about Phoenix and Elixir, I can sincerely recommend the following resources to get you started: - Programming Phoenix by Chris McCord, Bruce Tate, and José Valim [1] - The Little Elixir & OTP Guidebook by Benjamin Tan Wei Hao [2] - Elixir in Action by Saša Jurić [3] Phoenix initially attracted me to Elixir, I've stuck around for that and the OTP platform: pattern matching, process based concurrency…

You might want to add that all those book links have an Amazon referral link attached which (presumably?) points to you.

Re: Phoenix 1.3.0 Released

#74
post #53

Earlier quoted context omitted.

For me the sweet spot is somewhere in between. If it just shipped with a decent auth module that would work for 90% of people, but that could also be easily replaced or extended if needed, that would be the best of both worlds.

Even rails doesn't ship with an auth module though. Lots of people use Devise and there is an equivalent for Elixir (Coherence)...but shipping with auth built in is an exploit waiting to happen IMO.

Rails ships with an auth module: http://api.rubyonrails.org/classes/ActiveModel/SecurePasswor...

Re: Phoenix 1.3.0 Released

#75

We’ve been using Phoenix at my company in production for over a year now. So far the experience has been overwhelmingly positive, our team have totally come round to its adoption, our server costs have come down and our response times have gone down also. Coming from Rails, the ecosystem isn’t quite there yet, but it is far more mature than rails’ was this early on. The hardest thing for us has been deployment, but w…

Releases as a .deb?! Awesome!

Re: Phoenix 1.3.0 Released

#76
post #53

Earlier quoted context omitted.

For me the sweet spot is somewhere in between. If it just shipped with a decent auth module that would work for 90% of people, but that could also be easily replaced or extended if needed, that would be the best of both worlds.

Even rails doesn't ship with an auth module though. Lots of people use Devise and there is an equivalent for Elixir (Coherence)...but shipping with auth built in is an exploit waiting to happen IMO.

[deleted]

Re: Phoenix 1.3.0 Released

#77
post #74

Earlier quoted context omitted.

Even rails doesn't ship with an auth module though. Lots of people use Devise and there is an equivalent for Elixir (Coherence)...but shipping with auth built in is an exploit waiting to happen IMO.

Rails ships with an auth module: http://api.rubyonrails.org/classes/ActiveModel/SecurePasswor...

My mistake. :) was that added in 5?

Am I reading that right or is it just comparing an unencrypted string to the encrypted version?

Re: Phoenix 1.3.0 Released

#78
post #47

The directory reorganization is a good sign that Elixir/Phoenix are not simply rehashing Ruby/Rails for the sake of popularity but are willing to prioritize what makes the most sense for this particular language - and asking how they can improve upon what already exists. I recently ported my app from 1.2->1.3 and moving away from Models to Contexts/Data was a simple transition that makes a lot of sense. The `data` fi…

[deleted]

Re: Phoenix 1.3.0 Released

#79

For anyone curious about Phoenix and Elixir, I can sincerely recommend the following resources to get you started: - Programming Phoenix by Chris McCord, Bruce Tate, and José Valim [1] - The Little Elixir & OTP Guidebook by Benjamin Tan Wei Hao [2] - Elixir in Action by Saša Jurić [3] Phoenix initially attracted me to Elixir, I've stuck around for that and the OTP platform: pattern matching, process based concurrency…

Elixir in Action is a bit outdated, no?

I read it a while ago, but I remember it being pretty useful.

Some of the elixir bits are now out of date. (eg. it still has a section on Records)

But it touched on a lot of OTP topics that were missing from other places.

(this was before Benjamin Tan's book was finished)

At the time I remember Elixir in Action really made me finally understand the OTP concepts.

Post reply on HN