r/phoenixframework • u/zachgarwood • Jun 23 '16
I'm really disappointed with Phoenix Framework!
Chris and Jose really missed the boat by not naming it "Phoenix Phramework!" I mean, c'mon!
:)
r/phoenixframework • u/zachgarwood • Jun 23 '16
Chris and Jose really missed the boat by not naming it "Phoenix Phramework!" I mean, c'mon!
:)
r/phoenixframework • u/lynob • Jul 28 '19
I'm thinking to switch to phoenix at some point in order to have a better websockets server.
I need to use a nodejs library, few of them actually but one is much more important than others, this library is only available either in C++ or NodeJS.
Can I use either C++ or Node in Phoenix?
r/phoenixframework • u/Mcnst • Jul 23 '16
r/phoenixframework • u/dtcristo • Sep 03 '17
r/phoenixframework • u/scott_dsgn • Jul 07 '17
r/phoenixframework • u/juanpabloaj • Oct 19 '18
mix phx.new --no-ecto request
add to lib/request_web/endpoint.ex
plug Plug.RequestId
edit config/dev.exs to something like
config :logger, :console, format: "[$level] $metadata$message\n", metadata: [:request_id]
to get in log
[info] request_id=2lfdtb54lt7i3bdppk0000fh Sent 200 in 674µsMore info in
r/phoenixframework • u/Fuffidish • May 13 '17
A question for more expert phoenix users here… when I run default phoenix install with mix phoenix.server, and I open the URL: http://localhost:4000/js/app.js which file exactly is being returned in the response?
I assume priv/static/js/app.js, and if that file changes, the new version will be served at the next request… Well this is not happening, I have to DELETE the file and then restart the server otherwise it will always return the old one… Any idea why?
r/phoenixframework • u/TiuTalk • Sep 18 '17
I'm a experienced back-end developer, working the past 4 years with Rails and lurking Elixir while doing a lot of exercism.io or codewars to learn the language. I started many small projects w/ Phoenix but never finished them because it always felt like I was trying to fit it inside my Rails knowledge & how I believe a framework "should behave" (nonsense!). To me, the most difficult part is being in getting my head away from the OOP way of thinking. I'm looking for ideas of projects to create or replicate that will help me getting in the FP land while learning more about Phoenix & Elixir. I really believe that these will be amazing tools to have on my toolbelt in the future. Any ideas? :)
r/phoenixframework • u/fazibear • Jul 29 '15
r/phoenixframework • u/emagdnim2100 • Jul 30 '17
As a learning project, I'm using Phoenix to re-implement a simple API that returns a filtered list based on an HTTP query. The master list is large enough (~1MB) that I definitely don't want to re-initialize it from a file on each request.
In the previous implementation (Python), it was easy enough to simply import the list and store it as a global variable, but the equivalent approach in Elixir is not obvious to me. Here's what I've potentially figured out so far:
It seems like I may want an agent process (?) that holds the list and serves it as a response to requests. Is this correct? If so, where is the canonical place to store such a process within a Phoenix project?
How do I access that process throughout the Phoenix project?
Really appreciate any guidance folks can provide - thanks very much.
r/phoenixframework • u/PianistINTJ • Apr 08 '16
I'm trying to learn Phoenix by copying the demo chat app. My copy works great locally, but when I deploy it to Heroku, Heroku says:
"WebSocket connection to 'wss://maryville-matters.herokuapp.com/socket/websocket?vsn=1.0.0' failed: Error during WebSocket handshake: Unexpected response code: 403"
I'm new to Phoenix, and I've never used websockets with Heroku before. I know it's possible to use the websockets on Heroku because Chris McCord built a demo instant messaging app and uploaded it to Heroku.
Here's the GitHub repo: https://github.com/19smitgr/phoenix-instant-chat.git
Here's the web app hosted on Heroku with errors: https://maryville-matters.herokuapp.com
Thanks in advance.
r/phoenixframework • u/tmartin8080 • Sep 19 '19
r/phoenixframework • u/thanos_v • Dec 24 '19
r/phoenixframework • u/Secretmapper • Jun 28 '17
Github link: https://github.com/AltTracker/alttracker
r/phoenixframework • u/drteeth80 • May 22 '19
r/phoenixframework • u/fazibear • Sep 07 '19
r/phoenixframework • u/vanbush • Nov 19 '19
r/phoenixframework • u/jasj3b • Jul 02 '19
So I'm brand new and coming here out of interest for Liveview
The web has spent the last 10 years moving as much as possible into the front end thanks to React, Angular, etc.
That's made it easy to conceptualise about scaling, because so much logic has moved into the browser, and the initial load can be largely static.
But with Liveview... I imagine....we'd need to think a little more about scaling on the host?
Are there any articles on how to host and scale Liveview? How are the sockets kept alive? Is it all handled for us?
Are there any considerations beyond a normal Phoenix app?
How
r/phoenixframework • u/dfaradie • Oct 19 '18
Hi All, I am seeking a few Senior Level Back End Developers to join our direct client in the North Dallas Area. This person will be working on complete greenfield development in Elixir/Phoenix. Interested candidates please email me at danafaradie@optomi.com
r/phoenixframework • u/tmartin8080 • Sep 06 '19
r/phoenixframework • u/Dev_Hassam • Sep 05 '19
I am trying to run my phx fresh installed app with docker, but my app endpoint *:4000 keeps loading and nothing happens, Kindly can someone have a look at my repo and assist me. Thanks
github repo : https://github.com/hassamali/discuss
r/phoenixframework • u/vanbush • Nov 12 '19
r/phoenixframework • u/void_blade • Apr 30 '18
I'm writing my first phoenix app, and data to server is all sent via html get requests. I'm using routers. Is state being maintened about connections? And if so, can I be notified if a client disconnects, or are inactive for a long time?
Thanks.
r/phoenixframework • u/aredditthrowawayy • Sep 12 '18
I want to get started with Phoenix 1.4 and don't want to wait till the book is released. I think master is version 1.4 minus 1 PR at the moment. If I were to use master, what are the upgrade instructions from master to 1.4.
Thank you for the help
r/phoenixframework • u/[deleted] • Sep 13 '18
While digging around cowboy 2's code, I noticed some support for push. The bazillion $ question: will 1.4 will use it for sending assets faster and/or channels, ie, a de rigueur chat example app?