Hi cricket, thank you for your reply. I know it seems a lot of work, but there are other benefits for the objectized method, too. The first thing is, with new approach, I would NOT have access to the model, but just to some sort of Helper-Class (something like a stdObject with getters). Another thing that would be nice is that, since all the calls in the views go to methods, it is easy to adjust those. Lets say everywhere I want to output the name of my product, I want to automatically link the text half a year later (only for example).. In default cakephp, I would need to go in each element and view that shows the product name and add something like $this->Html->link($p['Product']['name'] ....). If I do this with a method, I could define it just different (like Product::getName() => return $this->Html->link($this->name ...);) After all, I think stuff like this would be a huge benefit for later developement, it may cost some time to implement but then again you have the possibility to do stuff later with just a view changes in the model (or HelperClass).
Greetings from Germany, Chris -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
