Container Morphisms for Composable Interactive Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Videla, André
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909293689700352
author Videla, André
author_facet Videla, André
contents This paper provides a mathematical framework for client-server communication that results in a modular and type-safe architecture. It is informed and motivated by the software engineering practice of developing server backends with a database layer and a frontend, all of which communicate with a notion of request/response. I make use of dependent types to ensure the request/response relation matches and show how this idea fits in the broader context of containers and their morphisms. Using the category of containers and their monoidal products, I define monads on containers that mimic their functional programming counterparts, and using the Kleene star, I describe stateful protocols in the same system.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16713
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Container Morphisms for Composable Interactive Systems
Videla, André
Software Engineering
Programming Languages
This paper provides a mathematical framework for client-server communication that results in a modular and type-safe architecture. It is informed and motivated by the software engineering practice of developing server backends with a database layer and a frontend, all of which communicate with a notion of request/response. I make use of dependent types to ensure the request/response relation matches and show how this idea fits in the broader context of containers and their morphisms. Using the category of containers and their monoidal products, I define monads on containers that mimic their functional programming counterparts, and using the Kleene star, I describe stateful protocols in the same system.
title Container Morphisms for Composable Interactive Systems
topic Software Engineering
Programming Languages
url https://arxiv.org/abs/2407.16713