Explain the difference between component, helper, behavior in cakephp?
Answer / Priyam Upadhyay
In CakePHP, components are part of the controller and run before an action is called. Helpers are used to assist with common HTML and form generation tasks in views. Behaviors are classes that provide reusable methods for models without having to be associated with any particular model.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it possible to have multiple validation rules per field in cakephp?
explain the server requirements for cakephp.
How to include helpers in controller ?
Why cakephp have two vendor folder?what is the difference between two vendors folder available in cakephp?
How to include components in controller ?
When cakephp was developed?
What are the server requirements for installing cakephp?
What is the default extension of view files?
What is mvc (model, view, and controller) in cakephp?
Is cakephp a mvc?
What is the term "security.salt" and "security.cipherseed" in cakephp?
How to read, write and delete session in cakephp?