About Hooks

Hooks are intented to server as entry points for the different components of backend into the different processes of backend.

Think of them as places where backend pauses and ask, "Does anyone have anything to add / do at this point?" before continueing.

Current Hooks:

Application Init

This hook runs when the framework initializes, before and after the state of the framework is set. It gives the coder the ability to modify the query string which is used to serve the request.

Pre

Parameters: Query String

Returns: Query String

Post

Parameters: None

Returns: None

Application Start

This hook runs at the start of the web request. Unlike the init hook, the state and parameters of the request has been determined by this point.

Pre

Parameters: None

Returns: None

Post

Parameters: None

Returns: None

Application Finish

This hook runs after the request has been served. It is a good place to clean up after code that was run. This will also run when a fatal error has occured.

Pre

Parameters: None

Returns: None

Post

Parameters: None

Returns: None

Record Create

Record Read (Post only)

Record Update

Record Display

View Output

Controller Action

Controller Display

Form

 
Download v.1.0.3 ZIP | GZ
Backend-PHP is an easy to use Web Application Framework and Data Manipulator and Translator for the Web Developer.
Follow us on Twitter. Now.   Get the latest news via News Feed.