there are now great ways to keep the code dry and still use all classes accordingly:
You would make a Cleaner lib in /Utility and then you can still use some CleanerHelper with internally calls the Lib class.
Try to keep the method static for the controller/component level. Then there is no need to initialize it.
The helper can still work as it used to.
Am Samstag, 22. Oktober 2011 01:35:13 UTC+2 schrieb majna:
there is 2.0 branch
https://github.com/CakeDC/comments/blob/2.0/Controller/ Component/CommentsComponent. php
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:
Post a Comment