Live data from Hacker News

Phoenix 1.6, RC0 released

phoenixframework.org

11–20 of 62 posts

Re: Phoenix 1.6, RC0 released

#11

I like how Phoenix had the stones to replace webpack after all the additional support requests it was bringing in. I've been using esbuild with 1.6.0-dev and it is a lot more ergonomic for the end user dev - https://sergiotapia.com/phoenix-160-liveview-esbuild-tailwin... What has me really excited was that I was looking at Fly.io to create a global mesh of servers for a liveview app so people can connect to whatever…

I've gotta agree. We replaced webpack with esbuild in our Phoenix 1.5 app. The migration took a bit of time to get right, and I was questioning whether it was worth it, but having seen the results -- faster builds, fewer dependencies, generally not having to worry about webpack at all -- I'm thrilled this is becoming the default.

Re: Phoenix 1.6, RC0 released

#12
post #9

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.

AFAIK, this solution is not for JWT auth. It's for session based auth.

Re: Phoenix 1.6, RC0 released

#13

Phoenix creator here – I'm happy to answer any questions about elixir, phoenix, or this release!

Hey Chris! Is there a LiveView future where one can forego javascript frameworks altogether in creating higher-fidelity UIs?

Have you seen Surface UI? Pretty cool. Collection of LiveView components. https://surface-ui.org/

Re: Phoenix 1.6, RC0 released

#14
post #9

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.

It is very, very good. You can try it even without phoenix 1.6 as a hex package and it's great.

Re: Phoenix 1.6, RC0 released

#15

Phoenix creator here – I'm happy to answer any questions about elixir, phoenix, or this release!

Chris: how do you feel about what's needed to make Phoenix as "core" of a technology like other similar projects like Django or Rails? The latter are used by huge companies, which have vested interest in keeping these technologies around and evolving. Is it corporate sponsorship from companies using Phoenix? Note, I've used Phoenix/Elixir as the core technology in the last of the 3 companies I've been in.

We're already there. We have huge companies using elixir and phoenix, with phoenix powering the web platform for the majority of them. Several great case studies exist on elixir-lang.org if you're interested, ie:

Pepsi: https://elixir-lang.org/blog/2021/04/02/marketing-and-sales-...

Heroku: https://elixir-lang.org/blog/2020/09/24/paas-with-elixir-at-...

Change.org https://elixir-lang.org/blog/2020/10/27/delivering-social-ch...

And of course Bleacher Report, which has been on Phoenix since 2014, well before 1.0.

On the sponsorship side, DockYard invested in my work for the last six years where I spent the majority of the year working on oss, and I've just joined https://fly.io where I'll spend 85% of my time working on Phoenix and related libraries. So we are well covered on the corporate sponsorship side. We also have Michael Crumm on the Phoenix team who works at Cargo Sense, where they support a portion of his time working on LiveView. Of course it would be great for other large companies leveraging value out of our work to give back, but we're well established on the sponsorship side :)

Re: Phoenix 1.6, RC0 released

#16
post #9

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.

Agreed ! My experience as well, otherwise Phoenix does looks very good yes.

Re: Phoenix 1.6, RC0 released

#17
post #9

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.

Jose wrote the bulk of the code and he worked on Devise. Blog post (1yr old) from Jose here. https://dashbit.co/blog/a-new-authentication-solution-for-ph...

Re: Phoenix 1.6, RC0 released

#18

Earlier quoted context omitted.

Chris: how do you feel about what's needed to make Phoenix as "core" of a technology like other similar projects like Django or Rails? The latter are used by huge companies, which have vested interest in keeping these technologies around and evolving. Is it corporate sponsorship from companies using Phoenix? Note, I've used Phoenix/Elixir as the core technology in the last of the 3 companies I've been in.

We're already there. We have huge companies using elixir and phoenix, with phoenix powering the web platform for the majority of them. Several great case studies exist on elixir-lang.org if you're interested, ie: Pepsi: https://elixir-lang.org/blog/2021/04/02/marketing-and-sales-... Heroku: https://elixir-lang.org/blog/2020/09/24/paas-with-elixir-at-... Change.org https://elixir-lang.org/blog/2020/10/27/delivering-so…

What's the other 15% of your time? :)

Re: Phoenix 1.6, RC0 released

#19

Phoenix creator here – I'm happy to answer any questions about elixir, phoenix, or this release!

Chris: how do you feel about what's needed to make Phoenix as "core" of a technology like other similar projects like Django or Rails? The latter are used by huge companies, which have vested interest in keeping these technologies around and evolving. Is it corporate sponsorship from companies using Phoenix? Note, I've used Phoenix/Elixir as the core technology in the last of the 3 companies I've been in.

Ruby companies like AirBNB, Stripe ended up edging out their competitors using the relatively glacial Java or C++ frameworks. We will need to see a new generation of Phoenix winners before Elixir is taken seriously.

It could be that the marginal performance gain from using Elixir is not worth the hassle of training and hiring in a whole new language. It remains to be seen.

Re: Phoenix 1.6, RC0 released

#20
post #9

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.

It is very, very good. You can try it even without phoenix 1.6 as a hex package and it's great.

What's the hex package? Can't find it.
Post reply on HN