API

Bear Framework is designed for simplicity. It's API is simple but very powerful. Here is a super quick overview of the framework classes.

Classes
The place to register addons that can be enabled for the application.
The is the class used to instantiate you application.
Provides a way to enable addons.
Provides utility functions for assets.
Provides functionality for registering and autoloading classes.
Provides information about addons and application location and utility functions.
Provides utility functions for assets in the current context.
Provides functionality for autoloading classes in the current context.
Provides information about your code context (the directory its located).
A data cache driver. It uses the data repository provided to store the values.
File based data driver
A logger that saves the logs in the directory specified.
A cache driver interface.
A data driver interface.
A logger interface.
Logs repository
A null cache driver. No data is stored and no errors are thrown.
A null data driver. No data is stored and no errors are thrown.
The null logger does not log any data and does not throw any errors.
Provides information about the current request.
Provides information about the response cookies
Provides information about the response form data items.
Provides information about the request headers
Provides information about the request path.
Provides information about the response query items
Provides information about the response cookies
Response type that reads file and outputs it.
Response type that outputs HTML code. The appropriate content type is set.
A repository for the response headers.
Response type that outputs JSON code. The appropriate content type is set.
Response type that sends Not Found status.
Response type that makes permanent redirect.
Response type that makes temporary redirect.
Response type that sends Temporary Unavailable status.
Response type that outputs text. The appropriate content type is set.
Provides functionality for registering callbacks for specific requests and executing them.
Shortcuts container for the application object.
URLs utilities.
Base class for lists.
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.