Overview
Explore advanced techniques for implementing flexible header-only C++ network libraries in this 53-minute CppNow conference talk by Dean Michael Berris. Dive into the cpp-netlib project's approach to creating powerful networking libraries built on Boost.Asio. Learn about generic programming principles, modular design, and flexible implementations of common message types, type-safe URI parsing, and semantically consistent HTTP clients. Discover organizational strategies and idioms used to achieve highly adaptable library components. Gain insights into modern C++ techniques employed throughout the library's modules, including message frameworks, accessors, directives, sequence operations, policy-based design, and virtual strategies. Understand the project's emphasis on semantic consistency and exception handling in network programming.
Syllabus
Introduction
Why we are doing this
Message Framework
Common Message Type
Accessors
SourceDestination
Message
Directives
Sequence Operations
Semantic Consistency
Policy
Policies
Semantics
Oneliner
Exceptions
HTTP
Virtual
Strategy
Why
Usage
Handler
Taught by
CppNow