Pierre Martin - Using and reusing plugins across CakePHP applications
Uploaded by CakeFoundation in English
The talk will provide an overview of how to efficiently use CakePHP plugins and introduce some design princi... read more
The talk will provide an overview of how to efficiently use CakePHP plugins and introduce some design principles to follow for creating reusable plugins. In this talk I will introduce how common features can be implemented as CakePHP plugins to be reused across several projects. We will see the basics of CakePHP plugins (file structure, model inheritance, assets) and how to include their code in an application (Components, Behaviors, Associations, ClassRegistry::init, App::import). An example will illustrate these concepts. Finally, I will show how a plugin can be extended to add application specific logic and have a fine-grained customization of its features.