CppCon 2017: Jeremy Demeule & Quentin Duval “Using Functional Programming Patterns...”

preview_player
Показать описание
"Using Functional Programming Patterns to build a clean and simple HTTP routing API"



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.

Jeremy Demeule: Murex, Principal Software Engineer

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 2016.

Quentin Duval: Murex, Senior Software Developer

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.



*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

The GitHub repository cannot checkout this path in Microsoft Windows NTFS filesystems, due to this long path:
Presentations/Using Functional Programming Patterns to build a clean and simple HTTP routing API/Using Functional Programming Patterns to build a clean and simple HTTP routing API - Jeremy Demeule and Quentin Duval - CppCon 2017.pdf

Can you please fix this for some of us that keep Git repositories in filesystems supported by multiple OSes? Thank you in advance.

miltiadiskoutsokeras
Автор

awesome, I wish I was maintaining this kind of code. Thanks for the sharing !

pouet
Автор

oh I preferred the first :/
The second is too (unnecessarily) abstract

intellivision-amico
welcome to shbcf.ru