On Sun, Nov 23, 2008 at 5:40 PM, Gustavo Narea <[EMAIL PROTECTED]> wrote: > > Hello, Florent. > > On Saturday November 22, 2008 21:12:00 Florent Aide wrote: >> > So, SecureController subclasses that class just to override a method by >> > using the original method's code. Why? >> >> then the answer is: Yes we can.
> I can't understand why we have such redundant code. I can't understand why we > define SecureController in quickstarted projects while its functionality is > already available for _any_ TG2 controller -- it's exactly the _same_ code. You don't get what I wanted to say: this is a good idead. We don't need SecureController anymore. Someone copied the code from my first SecureController implementation inside the tg core thus duplicating the code. (SVN to see for yourself). I was not aware that my code was in the core tg controller before you pointed at it. When I looked, I said: since this code has been copied over inside the code no more need for the secure controller. I am not responsible of the code duplication, I engineered everything to be separated from the start. But one this is sure, I feel the securecontroller code (be it in a separate class or in the core tg controller) should be in the core and not just in the quickstarted code. Any more question ? Florent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
