Development Tools

Duda – event-driven web services framework

This software is no longer maintained.
For actively maintained alternatives, see the Related Software section below.

Duda I/O is an event-driven framework for developing web services using the Monkey HTTP server. It provides application-facing interfaces that allow developers to associate URL routes with callback functions, process incoming requests and generate HTTP responses. Duda is intended for services that need asynchronous request handling without requiring application developers to manage the underlying network communication directly.

The framework builds on Monkey’s networking facilities and exposes higher-level objects for working with requests, responses and web service contexts. Applications can register static or dynamic routes, inspect incoming request data and use callbacks to produce the appropriate response. Its modular design also allows additional functionality to be incorporated through extension packages. These include data encoding, cryptographic hashing, database access and WebSocket communication. Duda was developed with resource-conscious web services in mind, including services running on embedded Linux systems.

This is free and open source software.

Key Features

  • Event-driven web services built on the Monkey HTTP server.
  • Callback-based handling of incoming HTTP requests.
  • URL routing that maps request paths to application functions.
  • Static and dynamic route definitions.
  • Route parameters for handling variable URL components.
  • HTTP request objects for accessing incoming request information.
  • Set HTTP status codes, response headers and content types.
  • Generate response bodies using text and formatted output functions.
  • Send files and selected file ranges as HTTP responses.
  • Asynchronous response handling with wait and continuation operations.
  • Runtime extension modules for additional functionality.
  • JSON handling through an optional package.
  • Base64 encoding and decoding facilities.
  • SHA-1 and SHA-256 hashing packages.
  • SQLite and MariaDB integration through extension packages.
  • WebSocket protocol functionality through an optional module.

Website: github.com/monkey/duda/tree/dst-1
Support:
Developer: Eduardo Silva
License: Apache License 2.0

Duda is written in C. Learn C with our recommended free books and free tutorials.


Related Software

C Web Frameworks
KoreSecure web application framework for writing web APIs in C or Python
facil.ioHigh performance web application C framework
OnionLibrary to create simple HTTP servers and web applications
UlfiusHTTP Framework for REST Applications in C
libreactorExtendable event driven high performance C-abstractions
ecewoAsynchronous, single-threaded C web framework
DudaEvent-driven and high performant web services framework

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted