Development Tools

Plug – specification and conveniences for composable modules between web applications

Plug is a specification for composable modules between web applications.

It also offers connection adapters for different web servers in the Erlang VM

Plug is free and open source software.

This project aims to ship with different plugs that can be re-used across applications:

  • Plug.BasicAuth – provides Basic HTTP authentication.
  • Plug.CSRFProtection – adds Cross-Site Request Forgery protection to your application. Typically required if you are using Plug.Session.
  • Plug.Head – converts HEAD requests to GET requests.
  • Plug.Logger – logs requests.
  • Plug.MethodOverride – overrides a request method with one specified in the request parameters.
  • Plug.Parsers – responsible for parsing the request body given its content-type.
  • Plug.RequestId – sets up a request ID to be used in logs.
  • Plug.RewriteOn – rewrite the request’s host/port/protocol from x-forwarded-* headers.
  • Plug.Session – handles session management and storage.
  • Plug.SSL – enforces requests through SSL.
  • Plug.Static – serves static files.
  • Plug.Telemetry – instruments the plug pipeline with :telemetry events.

Website: hex.pm/packages/plug
Support: GitHub Code Repositoy
Developer: Plataformatec
License: Apache License, Version 2.0

Plug is written in Elixir. Learn Elixir with our recommended free books and free tutorials.


Related Software

Elixir Web Frameworks
PhoenixRock-solid web framework that improves the Model-View-Controller architecture
NervesCraft and deploy bulletproof embedded software
PlugSpecification for composable web modules
HologramFull-stack, isomorphic Elixir web framework
ALFFlow-based application layer framework
NexMinimalist web framework for building server-rendered Elixir applications
MaruREST-like API framework for Elixir inspired by grape
KittoFramework to create dashboards
SugarModular web framework
WeberMVC web framework
TrotWeb micro-framework based on Plug and Cowboy
DynamoExperimental web framework

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted