Let me go into a little further explanation.
A model can represent anything, but a lot of the time it represents a database table. Think of the model as a way to create, read, update, delete.
Now go a little further, with those 4 methods in mind.
A model could represent a file system, with methods to create a file, read a file, update a file, delete a file.
A model could represent a file itself, create a line, read a line, update a line, delete a line.
Note the create, read, update, delete was used for simple understanding and not as a must have these methods to be a model.
But it gives you the idea what a model can be and do for you.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
