Loading…
This event has ended. Visit the official site or create your own event on Sched.
Back To Schedule
Tuesday, September 26 • 3:15pm - 4:15pm
Using Functional Programming Patterns to build a clean and simple HTTP routing API

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Web services are flourishing, and C++ has some great libraries (such as Boost/Asio + Beast or CppRestSdk) which we can use as the basis to build such services. Yet it is still relatively inconvenient to define HTTP routes in C++. Most approaches available in online tutorials are based on manual manipulation of regex or HTTP concepts.

In this talk, we will present the result of our work toward creating a clean HTTP routing library, usable on top of any HTTP transport layer library, which offers a terse and declarative syntax, composable routes, type-safety and a rich set of additional features such as generating sample routes or documentation.

We will discuss our initial investigations, and explain why we chose a functional-programming-based approach over reflection-based designs such as are common in the object-oriented world. You will learn about some design choices which allowed us to come closer to the “Don't Repeat Yourself” ideal: maximizing the services offered for the information provided by the client of the API.

Speakers
avatar for Jeremy Demeule

Jeremy Demeule

Principal Software Engineer, Murex
Jeremy Demeule is a Principal Software Engineer from Murex in Paris, France. He is working on data access subject (database, ORM, IMDG…) in Java and C++ and he is an active member of the C++ community at Murex. He was also present with a coworker the CDBC poster during the CppCon... Read More →
avatar for Quentin Duval

Quentin Duval

Senior Software Developer, Murex
Quentin Duval is a Senior Software Engineer from Murex, working at the Paris office in France. He is the leader of a team responsible for the life cycle management of trades inside the MX3 plattform. He is also a member of the C++ community of Practice of Murex, animates daily... Read More →


Tuesday September 26, 2017 3:15pm - 4:15pm PDT
Colossus Theater Meydenbauer Center
  •Functional Programming