Hi Nate

Thanks for your reply. Didn't realsie that PHP4 was still so
prevailant. I'd already seen the article in link you provided, and am
familiar with the concept of skinny controller, fat model. No problem
convnicing me that a controller should be thin!

But my point about the Model still stands. The Cake home page mentions
support for ORM pattern, and in my Google searches I've found
references to claims that Cake supports the ActiveRecord pattern. I
don't really see use of either patterns

Can I instantiate a domain object (model), and then save it?

part = new Part()
part.price = 123.45
part.save()

Thanks

H

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to