package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.6.tbz
sha256=574c73c97ea0bc57144853b28df6125855a040ef0378f3bf180b4331dde93f9d
sha512=92c474ed3b6609395799f77259fc424af37dcad53095773ca2f2cdd4757a1607a5b53b6594cd7b6ddabeb40ebba67bb9544ff0f31dc228c87cfe015afa520aaa
doc/index.html
sihl
API
Library sihl
Sihl
Sihl is a high-level web application framework providing a set of composable building blocks and recipes that allow you to develop web apps quickly and sustainably. Statically typed functional programming with OCaml makes web development fun and safe.
Library sihl.authn
Authn
Use this module to verify whether a user is who the user claims to be.
Library sihl.authz
Authz
Authorization deals with the question whether a user is allowed to do something. Use this module to separate the definition of who is allowed to do what from checking it.
Library sihl.core
Core
This is the core of Sihl, every other component builds on top of it.
Library sihl.database
Database
Use this module to query the database, implement and run migrations, clean repositories, turn HTTP queries into SQL queries or for sane entity identifier handling.
Library sihl.email
Email
Use this module to send single emails either immediately or later sending a lot of emails at once. Email template support is also provided.
Library sihl.http
Library sihl.message
Message
Use this module to display flash messages to the user across the request-response lifecycle. This is typically used to provide feedback to the user after submitting HTML forms.
Library sihl.middleware
Middleware
A middleware is a function that takes aHttp.Route.handler
and returns aHttp.Route.handler
. It is typically used to add content to the request context that is valid only during a request.
Library sihl.migration
Migration
Use the migration service to implement, register and run migrations.
Library sihl.password-reset
Library sihl.queue
Queue
This module provides a job queue. This is typically used for long-running or resource intensive tasks.
Library sihl.repository
Repository
The repository service deals with cleaning repositories. This is useful for integration tests.
Library sihl.schedule
Schedule
Schedules are functions that need to run periodically, similarly to cron jobs. Use this for instance to run clean up jobs.
Library sihl.session
Session
Use this module to create user sessions and to read and write session data.
Library sihl.storage
Storage
Use this module to store and retrieve large files. This is typically used for binary files such as images or audio.
Library sihl.token
Token
The token service provides an API to generate tokens that carry some data and expire after a certain amount of time. It takes care of secure random byte generation and the persistence and validation of tokens.
Library sihl.user
User
This module provides the abstraction of a user that interacts with the Sihl ap. Use it to register new users, changes password, reset passwords and update user details.
Library sihl.utils
Utils
A collection of services and libraries that deal with JWT, Json, Regex, Hashing, Time and Strings.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
-
API
- Library sihl
- Library sihl.authn
- Library sihl.authz
- Library sihl.core
- Library sihl.database
- Library sihl.email
- Library sihl.http
- Library sihl.message
- Library sihl.middleware
- Library sihl.migration
- Library sihl.password-reset
- Library sihl.queue
- Library sihl.repository
- Library sihl.schedule
- Library sihl.session
- Library sihl.storage
- Library sihl.token
- Library sihl.user
- Library sihl.utils