Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d7ca3a51a7
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (37 sloc) 1.086 kb
RAPHT, a architectural pattern for writing applications
=======================================================
Overview
========
RAPHT was designed for the web. It is basically an extension to MVC that
provides greater security and flexibility.
Parts
=====
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.
Afterword
=========
There is a clear divide between the RA parts and the HPT parts. Whereas the HPT
parts can be executed on the untrusted client-side, the RA parts must be
executed under a trusted environment.
Jump to Line
Something went wrong with that request. Please try again.