What are the differences between the binding model and the cakephp contain?

What is the difference between binding model and cakephp content? anyone have an idea please share with me .. I'm new to cakephp

+7
source share
1 answer

One of CakePHP's most powerful features is the ability to relate the relational mapping provided by the model. In CakePHP, relationships between models are handled through associations. If you configure these associations in your model, Cake will automatically receive the associated data when you retrieve your data.

Restrained behavior allows you to filter and restrict model search operations (provided that you create your model associations)

http://book.cakephp.org/view/1323/Containable

bind and unbind are useful for changing model associations on the fly:

http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly

+7
source

All Articles