Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Laterite

Laterite is a content management framework for Rust: an admin panel from descriptors, themes edited in the admin, a media library, plugins, users and permissions, migrations and typed settings, on PostgreSQL, MySQL or SQLite.

cargo install laterite-cli
lat new
CrateProvides
laterite-coreConfig, errors, the database layer, migrations, modules.
laterite-authBackend users, sessions, roles and permissions.
laterite-adminThe admin router, list and form screens, settings.
laterite-mediaContent-addressed file storage. Optional.
laterite-webStatic-site generation and page metadata. Optional.
laterite-cliThe lat command.
laterite-macrosThe t!, tn! and tp! translation macros.
SectionCovers
Getting StartedInstall, run, deploy and upgrade an application.
ConfigurationEvery key in the configuration files.
Admin PanelUsers, permissions, navigation, branding, settings and logs.
Forms, Lists, ElementsScreens from descriptors, and every field, column and filter type.
Plugins, Screens and RoutesModules of your own and the screens they mount.
Database, Services, MediaMigrations, queries, events, sessions, search and files.
Themes and MarkupThe site’s templates and the template language.
ReferenceBehaviours, the command line, icons and the API documentation.

Not in the framework today: mail, queues, a scheduler, a cache driver, an encryption service, multi-site.