TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Phoenix 1.7.0

356 pointsby thefreemanabout 2 years ago

15 comments

Rodeoclashabout 2 years ago
Looking forward to trying this release out soon. I&#x27;m not sure I quite grok streams yet (I understand the use case, but not the implementation). Verified routes aren&#x27;t a game changer but certainly having more things use the compiler to verify themselves is welcome!<p>I&#x27;ve been a Rails&#x2F;Ruby developer for close to 10 years now I think and while I haven&#x27;t used Phoenix&#x2F;Elixir professionally, it&#x27;s been my go to for a ton of side projects (The backend for my esports annotation tool, <a href="https:&#x2F;&#x2F;vodon.gg&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vodon.gg&#x2F;</a> and its companion app for schlepping large video files to coaches, <a href="https:&#x2F;&#x2F;www.fileyeet.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.fileyeet.io&#x2F;</a>).<p>The best way to sum it up would be slightly less magic then Rails, 3rd party libs might take a bit more work &#x2F; copy and pasting code to integrate them into your existing codebase. You&#x27;ll likely write a few more lines of code to achieve the same thing in Ruby, but the ability to use the Beam VM, tooling like LiveView more than make up for the lack of magic. Even better, you&#x27;ll soon appreciate the lack of magic as refactoring Elixir programs is a dream. It basically just boils down to separating out large functions into smaller composable functions.<p>I also must add, the community is also awesome.
评论 #35039565 未加载
评论 #35039051 未加载
评论 #35041211 未加载
voicedYodaabout 2 years ago
I&#x27;ve been working nearly exclusively in elixir and Phoenix for the last 2 years, and i love the community, documentation, and passion around this eco system. I&#x27;m stoked about this release, and with tailwind built-in, I&#x27;m really excited about next projects.
评论 #35039706 未加载
评论 #35039514 未加载
lycosabout 2 years ago
We&#x27;ve been using 1.7.0 as rc for a while now and the verified routes especially have been much more enjoyable to use. Unifying components between controllers and liveview was also a welcome improvement<p>The only thing I really don&#x27;t like is having the `page_html.ex` and `page_html&#x2F;index.html.heex` etc files in `controllers` being the recommended workflow. It feels so weird to have the templates live there, luckily you can put them wherever you want so it&#x27;s not a real problem<p>Haven&#x27;t used streams yet but it looks interesting and looking forward to play with that as well.
评论 #35039628 未加载
评论 #35040173 未加载
Liberonostrudabout 2 years ago
If you are an Elixir (or perhaps Clojure) expert, the following doesn&#x27;t apply. But every other person jumping ship from, for example PHP or JavaScript should think twice.<p>I think Phoenix is overhyped a lot. The barrier to entry is gigantic. The lack of up-to-date resources doesn&#x27;t help. It&#x27;s definitely not as polished as Laravel for example.<p>And while there is Pragmatic Studio with their wonderful introduction video, there is nothing like Laracasts where there are new tutorials added all the time. Frankly, it&#x27;s on another level.<p>Deploying Phoenix is a nightmare when compared to Laravel.<p>In Phx you have to reinvent a lot of things and often, of course, choosing the wrong path.<p>Sure try the chat demo apps Phx is famous for but beyond that it&#x27;s a pain in the ass unless you are very good Elixir programmer and can bug fix and reinvent-the-wheel things out.<p>Also, Phoenix is bad in environments with bad wi-fi. Think halls, kitchens, factories. So, I wouldn&#x27;t do a Phx app for some warehouse2customers type of operation a because there are some very interesting out of connection problems, the necessity to constantly ping&#x2F;&quot;hearbeat&quot; home to the server.<p>For me it is a pass. The experience with 1.6 and 1.7 rc was bad.<p>P.S. One extremely important thing, PHP is made for sloppy web programmers (like me). It will forgive and brute-force-work like hell when needed. Elixir is less forgiving and you can shoot yourself in the foot much easier. That&#x27;s why I prefer PHP - it&#x27;s much easier to put up some website that works well even on a cheap hardware and then you can PHP-optimize and tinker if you want.<p>P.S.S. The speed thing is overhyped as well. PHP vs Elixir for web stuff is not as big difference. In Laravel - if you use PHP 8.2 and cache your views, routes, etc. the DB stuff is still the 80% of all of your problems, not the PHP or Laravel.
评论 #35039485 未加载
评论 #35038621 未加载
评论 #35039069 未加载
评论 #35039159 未加载
评论 #35038582 未加载
评论 #35038632 未加载
评论 #35040704 未加载
评论 #35039134 未加载
评论 #35040234 未加载
评论 #35041795 未加载
评论 #35042135 未加载
评论 #35038589 未加载
评论 #35038631 未加载
评论 #35039528 未加载
评论 #35040897 未加载
评论 #35039322 未加载
评论 #35078280 未加载
评论 #35042101 未加载
losvedirabout 2 years ago
Are there any good up to date Phoenix books yet?<p>I have Programming Phoenix, but it feels like these days with LiveView and unified function components, best practices are kind of different now.
评论 #35037508 未加载
评论 #35038314 未加载
评论 #35039409 未加载
yeetaway1111about 2 years ago
There was so much mystery and magic that I felt was happening behind all things generated in Phoenix that I just felt lost.
评论 #35038352 未加载
评论 #35037893 未加载
评论 #35038113 未加载
ecmascriptabout 2 years ago
I like Elixir and Phoenix liveview. It is a fresh take to web dev in my opinion. However, I have for the past couple of years worked on apps that really push the bounderies of what can be called a web app.<p>So my need for Elixir is limited and even on my spare time projects I find myself having a hard time justifying using Elixir since my invested knowledge in other technologies are so vast in comparison.<p>To get in par it would take me years of Elixir development and I have a hard time justifying it. For example, I want to build an ecommerce site, a perfect suitable case for Phoenix. The issue is, that I find it to be easier, faster and more reliable for me to just spin up a static site and then add some API layer for the checkout process.<p>I kind of want a need for Phoenix, but so far I haven&#x27;t had a strong case. Unfortunately though becasue I really like the community and spirit it has. I think it is a language and framework that deserves much more adoption than it seems it has.
评论 #35039450 未加载
moomoo11about 2 years ago
Can someone please give advice on how to accomplish the following with phoenix sockets?<p>Say I have processes for each physical device in the world that are moving around (like on water or something). Any time there is an “anomaly” I want to double check by having all nearby processes&#x2F;devices run the same check again.<p>Is there a way to run a filter by geoquerying without having to rely on storing the coordinates in a separate store and querying for those device&#x2F;process IDs? I can store the coordinates in each process, and I want to be able to find nearby processes in one go without using a separate system for finding them.<p>I’m quite a noob at phoenix..
评论 #35038554 未加载
评论 #35038619 未加载
评论 #35040611 未加载
评论 #35041638 未加载
评论 #35038552 未加载
评论 #35038721 未加载
koevetabout 2 years ago
Is there anyone with experience on a large Elixir&#x2F;Phoenix code base? Is the lack of static type system a problem?
评论 #35040548 未加载
评论 #35040179 未加载
评论 #35039265 未加载
评论 #35041383 未加载
评论 #35039970 未加载
评论 #35038823 未加载
评论 #35046745 未加载
评论 #35041669 未加载
评论 #35039219 未加载
pineapple_guyabout 2 years ago
Ships with tailwind? We’re jumping the shark with that
评论 #35037403 未加载
评论 #35037303 未加载
评论 #35037100 未加载
评论 #35037306 未加载
评论 #35038580 未加载
lpilabout 2 years ago
Congratulations and thank you to the Phoenix team! Stellar work as always.
pinetroeyabout 2 years ago
Has anyone experience with ash framework?<p>I&#x27;d like to make an erp in phoenix &amp; liveview. Should I use ash as well? Or avoid it.
评论 #35227466 未加载
transfireabout 2 years ago
Verified routes don’t seem to work in components. Is there a reason for that? Can&#x2F;will it be fixed?
评论 #35039112 未加载
评论 #35038950 未加载
turboboosterabout 2 years ago
I feel safer with SvelteKit
janandonlyabout 2 years ago
I came here because I thought this was about the app called Phoenix.<p>I was wrong.<p>Still, Phoenix deserves some love as well: <a href="https:&#x2F;&#x2F;phoenix.acinq.co&#x2F;" rel="nofollow">https:&#x2F;&#x2F;phoenix.acinq.co&#x2F;</a>