How to add design patterns to CakePHP?
I am using the CakePHP framework to implement a Web application. I would add my application a design pattern, specifically, the Template Method pattern.

Regardless of the pattern you want to implement, where should I create interfaces (and classes) to implement a design pattern that can be used for a model?.

Where should place the files that shape a pattern (/ app / models, / app / controllers, ...)?.

Design patterns that I add to my application, should be used by the models or controllers?.

Thanks for the help,

Greetings!
How to add design patterns to CakePHP?
===

I am using the CakePHP framework to implement a Web application. I would add my application a design pattern, specifically, the Template Method pattern.

Regardless of the pattern you want to implement, where should I create interfaces (and classes) to implement a design pattern that can be used for a model?.

Where should place the files that shape a pattern (/ app / models, / app / controllers, ...)?.

Design patterns that I add to my application, should be used by the models or controllers?.

Thanks for the help,

Greetings!