Earlier quoted context omitted.
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.
Phoenix 1.6, RC0 released
21–30 of 62 posts
Re: Phoenix 1.6, RC0 released
#22Earlier 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.
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
#23Earlier 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…
Re: Phoenix 1.6, RC0 released
#24Earlier quoted context omitted.
When learning elixir and phoenix, it is hard to find updated tutorials. Whenever I try an youtube tutorial, there is always an error. Can you share some updated links/books for a beginner?
Not op, but for me the official elixir site's guide help a lot. I actually read that side by side with Sasa Juric's Elixir in Action and felt like I got a pretty good understanding of elixir. For Phoenix, I've just been using the guide in phoenix's hexdocs and reading some random blogs about anything specific.
Re: Phoenix 1.6, RC0 released
#25Earlier quoted context omitted.
Not op, but for me the official elixir site's guide help a lot. I actually read that side by side with Sasa Juric's Elixir in Action and felt like I got a pretty good understanding of elixir. For Phoenix, I've just been using the guide in phoenix's hexdocs and reading some random blogs about anything specific.
These are great suggestions. The getting started guides on Elixir and Phoenix get you moving with the basics. Beyond that, Programming Elixir, Elixir in Action, and Programming Phoenix are great book options.
Re: Phoenix 1.6, RC0 released
#26Earlier quoted context omitted.
When learning elixir and phoenix, it is hard to find updated tutorials. Whenever I try an youtube tutorial, there is always an error. Can you share some updated links/books for a beginner?
I bookmarked this one from the last discussion of Phoenix on HN: https://sergiotapia.com/phoenix-160-liveview-esbuild-tailwin...
Re: Phoenix 1.6, RC0 released
#27Phoenix 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?
Re: Phoenix 1.6, RC0 released
#28In one of the HEEx examples in this post it mentions components and uses a weather component as an example with:
I'm curious, what would the syntax look like if you wanted to create something like a card component that has an optional header, body and footer where you would want your arguments to be blocks of arbitrary HTML that you pass in and not a single string variable?
Basically a way to do something like this (a more simplified version since I don't know what the API would be):
Custom stuff!
And then the component itself would have a named "yield" that places in your arbitrary blocks of code in the correct spot.I think this might be called slots in other frameworks, but they seem essential to be able to create re-usable components unless HEEx has an undocumented way to do this? It looks like Surface has this at https://surface-ui.org/slots.
What are the benefits of using HEEx over Surface? I know they're working together and in the end will share similar functionality and maybe Surface will use HEEx under the hood but as an end user building web applications with Phoenix is there a single case where I would use HEEx instead of Surface? If not, why isn't Surface part of core Phoenix or not heavily pushed as what to use for a templating solution in the docs?
Re: Phoenix 1.6, RC0 released
#29Phoenix creator here – I'm happy to answer any questions about elixir, phoenix, or this release!
When learning elixir and phoenix, it is hard to find updated tutorials. Whenever I try an youtube tutorial, there is always an error. Can you share some updated links/books for a beginner?
[1] https://pragprog.com/titles/liveview/programming-phoenix-liv...
Re: Phoenix 1.6, RC0 released
#30I 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…