first of all, though I did not know bout it, Miles J's solution seems
to be great, and as far as I understood already works out of the box.
the way I went for to distinct Behaviors, components and Models and
have no singelton naming conflicts was this:
Permission <= Model (noun)
Permissonable (or Permissive) <= Behavior (adjective)
Permissing <= Component (verb in the form of something going on)
Permit <= Helper (verb)
Access <= Model
Accessable <= Behavior
Accessing <= Component
Access <= Helper
noun = verb here, either you find another word (e.g. rename model or
helper to some other word source, like privilege) or you just stick
with it and accept that helper and model do not interfer mostly.
Regards
ionas
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment