[ANN] Wheb 0.3 release

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANN] Wheb 0.3 release

Kyle Hanson-2
Hello all,

I have been working on a web framework that I use for my personal projects and I thought I would share my small progress. I started this project several months ago when I hit a big bump in difficulty going from a simple skeleton project to a more intricate project using alternative frameworks.

Lately I've added three main features: WebSockets, Cache and Redis.

WebSockets use the same WhebT interface as the standard HTTP handlers allowing you to share functions and middlware accross your application.

Cache is a new plugin for simplistic Caching. It provides an interface to cache ByteStrings under Text keys. Like the other plugins, it is backend agnostic so you can write your own backend or use the prebuilt Redis cache (this requires you to configure your redis instance for caching).

In addition to Redis acting as a Cache, you can also use it as a database and as a backend for the plugins Auth and Sessions.

You can mix Redis with other plugins. For one of my projects I use the MongoDB plugin for auth and storage and Redis as a cache for the queries.

Also included are typed web-routes, stateful cookie handling, and some other stuff.

Feel free to check it out. I tried to include some documentation and examples that I refer to when I use it. Maybe it will help someone. Its far from perfect, so if you find any problems, let me know.
Kyle Hanson

Haskell-Cafe mailing list
[hidden email]