Helpers are procedural functions using global namespace, located in helpers folder, loaded manually by event listeners or view resolvers. Some are useful for subsequent models while others are useful for views, their entire purpose being to simplify calls and hide complexity underneath.
A side-effect of event listeners is their ability to require functions that may become helpful in other models. Framework Skeleton API bundles following:
|Lucinda\SQL\StatementResults||Executes SQL prepared statement execution and returns results (Tutorials)||Lucinda\Project\EventListeners\SQLDataSource|
|array||Gets remote resource from current OAuth2 driver (Tutorials)||Lucinda\Project\EventListeners\Security|
A side-effect of both event listeners and view resolvers is their ability to require functions that may become helpful in views. Framework Skeleton API bundles following:
|string||Translates text into preferred or default locale (Tutorials)||Lucinda\Project\EventListeners\Localization|