Skip to content

Instantly share code, notes, and snippets.

@Deraen
Last active April 12, 2016 13:44
Show Gist options
  • Save Deraen/03b66d20c675f1a69648a881bfb168d0 to your computer and use it in GitHub Desktop.
Save Deraen/03b66d20c675f1a69648a881bfb168d0 to your computer and use it in GitHub Desktop.
Clojure-web-formats

Built from the ashes of https://github.com/ngrunwald/ring-middleware-format

Separated concerns:

  • Content negotation
    • Low level functions?
    • Higher level functions for using with Ring request maps?
    • Separate namespaces for low-level and Ring stuff?
  • Format encoding/decoding implementations
  • Ring middlewares
    • Middlewares using previous stuff
  • Interceptors

Potential users:

  • Compojure-api (Ring middlewares)
  • Luminus? (Ring middlewares)
  • Kekkonen (Pedestal-style interceptors)
  • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment