Links

« Back to blog

raphters: web framework for C

Raphters is a web framework for C based on the rapht architectural pattern
.

C is fast and fun, when you use well-tested code it can be secure too. It also has a low memory foot-print. The aim of the project is that all of the usual functionality that you have in other frameworks (cookie handling, session management, templating etc) will be implemented via loosly coupled components with clean APIs.


Deployment

The examples are deployable via fastcgi.


RAPHT was designed for the web. It is basically an extension to MVC that
provides greater security and flexibility.


R - Resource
A - Action
P - Processor
H - Handler
T - Template

Resources: Resources are things that you can interact with. This could be a database or an
external API for example.

Action: A action is a way to interact with a resource. Typically it is given
information that relates to authentication as well as information about the
request. Resources are not accessed without actions.

Processor: A transformation of data.

Handler: The entry point for a request. In a web application, a url regex is typically
mapped to a handler.

Template: Renders data.


https://github.com/DanielWaterworth/raphters

Posted April 5, 2011 by email