Home - aPisC/phroper GitHub Wiki

Phoper is a headless CMS framework written in php.

Routers

Routers is used to switch between request handlers by url-s and methods. You can specify exact urls, or urls that contains parameters. The handlers can be priorized and able pass the request to a lower priority handler.

Controllers

Controllers are the layer between the application logic and the raw data sent on the web. It loads the data from the request, validates the permission requirements, calls the appropriate php function in the background and encodes the results for the client. Controller is also used to encapsulate all handler functions of the same sub-url into one unit.

Services

The servisec is used to implement the business logic of your application.

Models

The models is used for accessing the database, it handles inserts updates and queries.