On Jun 20, 10:24 am, Ian Zepp <[EMAIL PROTECTED]> wrote:
> Unlike Zend (with uses an Action suffix to designate controller
> actions), Cake doesn't have any such thing and instead uses a blacklist
> of 'private' controller actions (defined in the dispatcher).

Here at the Cake project, we tend to prefer "simple and intuitive"
over "ugly method names" and "extra pain in the ass that I shouldn't
have to put up with".

> As such, be aware that new methods defined in the controller could
> 'potentially' be called as an action, even if that is not the expected
> behavior.

Yup, if they're public methods, they should be callable.  If they're
private or protected methods, they should be prefixed with _.  Isn't
it awesome that you don't have to be a rocket surgeon to use Cake?

> My firm actually uses a full-blown domain model / pattern, and uses Cake
> only for the active record layer, while the Business Logic is largely
> held in a separate layout above Cake's data access.

Nope.  See here: http://c7y.phparch.com/c/entry/1/art,mvc_and_cake
--~--~---------~--~----~------------~-------~--~----~
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