App is responsible for resource location, and path management.
Additional paths for Templates and Plugins are configured with Configure now. See config/app.php for an
example. The App.paths.plugins and App.paths.templates variables are used to configure paths for plugins
and templates respectively. All class based resources should be mapped using your application's autoloader.
You can inspect the currently loaded paths using App::path('Controller') for example to see loaded
controller paths.
It is also possible to inspect paths for plugin classes, for instance, to get
the path to a plugin's helpers you would call App::path('View/Helper', 'MyPlugin')
Plugins can be located with App as well. Using Plugin::path('DebugKit') for example, will give you the full path to the DebugKit plugin.
ClassLoader
Configuration class. Used for managing runtime configuration information.
Provides features for reading and writing to the runtime configuration, as well as methods for loading additional configuration files or storing runtime configuration for future use.
Acts as a registry/factory for objects.
Provides registry & factory functionality for object types. Used as a super class for various composition based re-use features in CakePHP.
Each subclass needs to implement the various abstract methods to complete the template method load().
The ObjectRegistry is EventManager aware, but each extending class will need to use \Cake\Event\EventDispatcherTrait to attach and detach on set and bind
Plugin is used to load and locate plugins.
It also can retrieve plugin paths and load their bootstrap and routes files.
Provides methods that allow other classes access to conventions based inflections.
A trait for reading and writing instance config
Implementing objects are expected to declare a $_defaultConfig property.
A trait that provides a set of static methods to manage configuration for classes that provide an adapter facade or need to have sets of configuration data registered and manipulated.
Implementing objects are expected to declare a static $_dsnClassMap property.