addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

A Type-Safe Solar System

For this event we're going to the offices of Time Out...

In this talk we'll introduce the approach we used to integrate an 'unsafe' java client library into our Scala stack by using a type-safe schema definition language.

Using dynamic schemas in a statically-typed language can be challenging. Usually one resorts to domain object mappings, trading safety with flexibility. We believe having both safety and flexibility is possible, and we explored such approach in the past (see our talk at Scala Days 2013) using the Shapeless library and extensible records. Even though that looked promising, this area is still under research, so we decided to try an alternative approach when it came to integrating the solr4j library into our stack.

We believe this use-case can serve as an introduction to DSL design in Scala and we will illustrate how it helped us crafting the Time Out API.


• Doors open at 18:15

• On arrival sign in at reception and take lift to 8th floor.

• Talk at 18:45

• Beer and snacks provided by Time Out

RSVP to attend.

Join or login to comment.

Our Sponsors

People in this
Meetup are also in:

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