Deconstructing the Functional Web

Presenter: Norman Richards

Programming for the web in Clojure isn't hard, but with layers of abstraction you can easily lose track of what is going on.  

In this talk, Norman will dig deep into Ring, the request/response library that most Clojure web programming is based on. We'll see exactly what a Ring handler is and look at the middleware abstraction in depth. 

 We'll then take this knowledge and deconstruct the Compojure routing framework to understand precisely how your web application responds to request.  

At the end of the talk you should thoroughly understand everything that happens in the request/response stack and be able to customize your web application stack with confidence.

Join or login to comment.

  • Norman R.

    On our diversion onto metrics last night, we forgot to circle back to look at the timer. Here's slightly modified version: https://gist.github.com/orb/d207...­

    This basically wraps a named timer which (through code not shown here) creates a timer metric and queues it to be sent to Riemann. There's nothing magical here except the point I was making about being able to nREPL to the server. If we are trying to live-debug a performance issue, I can connect to the server and wrap the code I'm interested in a with-timer. We'll immediately get live metrics into Riemann and then into elastic search for those pretty charts I showed in kibana. When we're done, I can remove the with-timer.

    I find this brilliant. It doesn't require making a lot of toggle-able metrics in advance. It doesn't require any tooling fancier than nREPL. And, it doesn't require any server downtime.

    1 · May 14

    • Clifton K.

      That's definitely an awesome use-case. I'll send it around to my team

      May 14

  • Norman R.

    Here's the project I'll be working from tonight: https://github.com/orb/ring-exam...­ You'll get a lot more value from the talk by bringing a laptop and coding along, so clone the repo and get ready to fire up your REPL.

    May 13

    • Clifton K.

      Looking forward to your talk, Norman!

      May 13

    • Clifton K.

      And thanks so much for driving up from Austin just to speak with the group. We really appreciate it.

      May 13

  • Chris R.

    Norman's talks are always enjoyable - he does a great job of "pulling back the curtain" to show what is really going on. Don't miss this one!

    March 16

10 went

Our Sponsors

People in this
Meetup are also in:

Imagine having a community behind you

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Start your Meetup today

Act now and get 50% off.
Until February 1.

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy