As mentioned before, I have taken over an existing CakePHP
application... and it's not a very good one. I'm working since a month
or more on things like writing tests (there haven't been any before),
cleaning and rewriting code etc.

So now I stumbled over some methods in a controller that aren't
actions, but they don't have underscores "_" in front of their
names... so I ask you: they *really should have*, right??

I know the conventions, that protected and private methods and
attributes should have an underscore (or even two in some conventions)
for visual reasons back from the days of PHP4, but that's not what's
really important here, right? It's important here because when not
having an underscore, it will be "mistaken" by CakePHP for an
available action, right?

So aside from that, are you following the convention mentioned above?
Should I use it when coding a CakePHP application? Or is it somewhat
outdated?

Thanks
Josh

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 [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