elixir-plug/plug
View on GitHub ↗ ★ 3,019 Elixir
Compose web applications with functions
14 mentions on Hacker News by 13 people: 0 stories, 14 comments · first 2014-08-17 · latest 2023-08-03
20082026
-
…a bit of a magic argument, but it’s the only unhygienic variable introduced with a Plug dispatch: https://github.com/elixir-plug/plug/blob/main/lib/plug/route... Everything else is explicitly passed, AFAICT.
comment by halostatue · 2023-08-03 · in Elixir for cynical curmudgeons -
…Rust. 1. https://github.com/rack/rack 2. http://expressjs.com/en/guide/writing-middleware.html 3. https://github.com/elixir-plug/plug
comment by d4mi3n · 2022-03-07 · in Request Coalescing in Async Rust -
…need error logs with poor signal to noise). Plug sets the status code for parser errors to 400: https://github.com/elixir-plug/plug/blob/v1.10.4/lib/plug/pa... You should check the `:plug_status` field of the exception and only log/report…
comment by ericmj · 2020-09-07 · in Elixir Is Erlang, not Ruby -
Good news. So it means HTTP/2 support is incomming for https://github.com/elixir-plug/plug :)
comment by krapans · 2017-10-05 · in Cowboy 2.0 released -
…that particular module and that particular function in that particular collection module. 0 - https://github.com/elixir-plug/plug
comment by 59nadir · 2017-08-01 · in Joy of Elixir -
…and ecto then you should just learn Plug first as Phoenix requests and responses are built upon it. https://github.com/elixir-lang/plug https://elixirschool.com/lessons/specifics/plug/
comment by Dangeranger · 2017-03-04 · in Phoenix 1.3 is pure love for API development -
…about http2 support (which started to gain adoption last year, and increase peroformances a lot) https://github.com/elixir-lang/plug/issues/258 So, for a language that's primarely based around webserver, i find it really woorying that…
comment by bsaul · 2016-12-22 · in Why the Elixir language has great potential -
…add them to your request / transform pipeline. Someone correct me if I explained that wrong. [0]: https://github.com/elixir-lang/plug
comment by dvcrn · 2016-11-10 · in Beyond 10,000 Lines: Lessons Learned from a Large Phoenix Project -
…Helpful, patient and kind, and also very smart guys. https://github.com/elixir-lang/elixir https://github.com/elixir-lang/plug https://github.com/elixir-lang/ecto https://github.com/phoenixframework/phoenix
comment by unvs · 2015-11-28 · in Ask HN: Which open source projects have kind, supportive, talented teams? -
…scene and where you think it's going. One of my goals from the start was to rally around Plug ( https://github.com/elixir-lang/plug ), which is our webserver abstraction and middleware lib (somewhat like Rack from Ruby, or Ring from…
comment by chrismccord · 2015-05-13 · in ElixirConfEU Keynote – Phoenix Takes Flight [video] -
…the latter, it feels like a web framework isn't for you. But you should definitely consider Plug ( http://github.com/elixir-lang/plug ), which has all the pieces and you just need to put them together (a simple router, a bunch of…
comment by josevalim · 2014-11-29 · in Phoenix – Elixir Web Framework -
I think what you were looking for is Plug: https://github.com/elixir-lang/plug I don't think there's a plug for websockets out of the box, but it's not hard to hook them on Cowboy directly.
comment by Xixi · 2014-11-29 · in Phoenix – Elixir Web Framework -
…about C/Java/PHP/Python/Ruby Anybody knowing Ruby or possibly Python should compare that with this https://github.com/elixir-lang/plug/blob/master/lib/plug/con... So, my take is that if a language designer wants to create a functional…
comment by pmontra · 2014-09-23 · in PureScript: a statically typed language which compiles to JavaScript -
…above). There aren't any global helpers and the views are easily testable in isolation. * Plug ( https://github.com/elixir-lang/plug ) also came out of Dynamo. It has the same goals as Rack (because you can't really diverge from the…
comment by josevalim · 2014-08-17 · in Programming in Elixir with the Phoenix Framework