Wednesday, October 26, 2011

Re: Question about why components etc are added the way they are

My 2p, as a newbie to Cake:

As a failrly old hand at PHP but someone who has avoided OOP (and MVC) up 'til recently, seeing:

public $components = array('AuthComponent');

makes prefect sense to me, whereas using the constructpr functions seems... odd, complex and unnecessary. I guess all that is probably completely contrary for someone who has been using OOP techniques for a very long time. It's certainly less code and to me at leasty is a quicker and more easily accessible to my eye.

P.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: