Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2014 (4)
20082026
  1. …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
  2. …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
  3. …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
  4. 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
  5. …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
  6. …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
  7. …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…
  8. …add them to your request / transform pipeline. Someone correct me if I explained that wrong. [0]: https://github.com/elixir-lang/plug
  9. …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
  10. …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…
  11. …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
  12. 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
  13. …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…
  14. …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…