Components and plugins are still separate objects in Cake 2.0. According to the manual, components are βlogic packages that are shared between controllers,β while plugins are βa combination of controllers, models, and views.β Components extend the base class Component, while plugins have their own AppModel and AppController.
Think of the plugin as a standalone Cake application sharing the same core libraries with your main application.
In addition, in Cake 2.0, components are handled a little differently from 1.3 (they must have a component in the file name, so SessionComponent.php
instead of session.php
, for example), and some functions have been removed. For example, EmailComponent
completely out of date.
The error messages you receive may relate to third-party components. Which of them do you dislike?
source share