March 24-26 2014 The Palace Hotel San Francisco

Register for Clojure/West
Register for Intro to Clojure, ClojureScript or Datomic Training

Dave Golland @PrismaticEng



Dave Golland is a recent PhD graduate from UC Berkeley, where he studied Natural Language Processing with Dan Klein. After graduating (actually, a little before), he promptly joined the backend team at Prismatic. When he joined, he didn't know any Clojure, but upon seeing the light, he now considers Clojure his favorite programming language. He feels privileged to work with such a talented group of engineers and designers at Prismatic, and is excited to present some of the recent projects the team has been working on.

Wiring Prismatic's API with fnHouse and Coax

In the functional programming paradigm, web services should consist simply of functions that turn requests into responses. At Prismatic, we’ve developed fnHouse -- a minimal library that transforms a collection of lightly-annotated functions into a full-fledged, production-grade web service. fnHouse enables concise handler definitions, query parameter parsing, and input and output validation (and even coercion) using the Schema library. We also use the function metadata to generate living API documentation that is always up-to-date. Using this functional view, middleware for rate-limiting, authorization, and analytics become straightforward function compositions.

In this talk, we will describe Prismatic’s web infrastructure: how we construct a service graph using the Plumbing and Graph libraries, and how functions turn into handlers using fnHouse and Schema. We also present Coax, a Prismatic library that generates Objective-C and ClojureScript API clients from the annotated functions. In one fell swoop, these libraries transform a simple, lightly-annotated function into a secure, validated API endpoint and ObjectiveC client API and model classes. Come learn how you can do the same.

our sponsors


Sign up for updates on Clojure/West