prudence

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: Apache-2.0

README

Prudence

License Latest Release Go Reference Go Report Card

A lightweight web framework built for scale, featuring baked-in RESTful server-side and client-side caching. Suitable for frontend user interfaces and backend APIs.

Prudence itself is distributed as a single, compact executable file with no external dependencies.

Download

Documentation

Highlights

  • Triple-phase representation generation allows for composable, fine-grained, associative control over server-side and client-side caching. Reap the full benefits of idempotency in RESTful network architectures.
  • Pluggable server-side cache backends. Store your generated representations in fast distributed stores such as Memcached, Redis, etc.
  • Extensible via the xprudence tool, which allows you to create custom builds of Prudence bundled with the plugins, modules, and APIs required by your applications. Even when extended in this way, Prudence is still distributed as a single, compact executable file.
  • Prudence is written in Go for reliability and performance but allows you to use straightforward JavaScript for assembling and configuring your application. (JavaScript is not required. Here's an example in pure Go.)
  • Additionally supports extensible JavaScript Templates (JST) for generating HTML pages by combining design and programming.
  • Prudence is fun. Through rigorous benchmarks conducted in our good-times laboratory we found Prudence to be a zillion times more fun than products from leading brand names.

Directories

Path Synopsis
examples
go command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL