snaplet-redson: CRUD for JSON data with Redis storage
This snaplet provides HTTP API to create, read,
update and delete JSON objects sent by client
and stored in Redis key-value cache. CRUD methods
are mapped to HTTP POST, GET, PUT and
DELETE. Valid objects are described using model
definition syntax, which includes information on
fields and permissions. The snaplet supports
role-based user permissions system as implemented
by Snap authentication. Model definitions may
also be used by browser JavaScript to provide
interface to create or edit objects.
There is a permission-less transparent mode,
WebSocket create/delete notifications and
timeline method to serve information about
recently added objects. Ad-hoc search is
implemented in Redis and provided via snaplet
route.
There's a "snapless" part of the package, which
implements Snap-agnostic Redis CRUD operations
for key-value pair collections and may be used
for tools which operate with storage directly
without using web framework.
More of usage documentation is contained in
https://github.com/dzhus/snaplet-redson/blob/master/README.org
Modules
[Index]
Downloads
- snaplet-redson-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Dependencies | aeson (>=0.6 && <0.7), base (>=4 && <5), bytestring (>=0.9 && <0.10), configurator (>=0.2 && <0.3), containers (>=0.4 && <0.5), data-lens (>=2.0.1 && <2.1), data-lens-template (>=2.1 && <2.2), easy-file (>=0.1 && <0.2), hedis (>=0.4 && <0.5), mtl (>=2 && <3), snap (>=0.8 && <0.9), snap-core (>=0.8 && <0.9), snaplet-redis (>=0.1 && <0.2), text (>=0.11 && <0.12), utf8-string (>=0.3 && <0.4), websockets (>=0.6 && <0.7), websockets-snap (>=0.6 && <0.7) [details] |
| Tested with | ghc ==7.4.1 |
| License | BSD-3-Clause |
| Author | Dmitry Dzhus |
| Maintainer | <dima@dzhus.org> |
| Category | Web, Snap |
| Home page | https://github.com/dzhus/snaplet-redson/ |
| Bug tracker | https://github.com/dzhus/snaplet-redson/issues/ |
| Source repo | head: git clone git://github.com/dzhus/snaplet-redson.git |
| Uploaded | by DmitryDzhus at 2012-04-05T14:28:38Z |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 1110 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |