Re: Override or not

2010-12-03 Thread luca capra
Never hack the core, I know, or better, I've learned by my self. I'm adapting primarly the html helper extending it in a custom "DojoHtml" and rewrite really small pieces of templated html code (mainly due to buggy behaviors of some widget in some browser [ which one? :) ]) What I would "sk

Re: Override or not

2010-12-03 Thread red
What exactly do you need to add to this form inputs? Built-in Form(Html)Helper allows to define many parameters to inputs and all other form/html elements, so maybe there is no need to write own helpers. Anyway regardless of this things 'hacking' core of Cake is unacceptable and the key is inherit

Override or not

2010-12-03 Thread luca capra
Hi all I'm developing a cakephp+dojo web app. Everything work fine. Really fine! I'm loving cakephp But, there is a "but". Due to Dojo (or better I) require some non standard html tags, I had to rewrite partially the Form and Html helper, that now I call DojoHtml and DojoForm overriding the c