On 22/06/12 04:03, Jamie wrote:


On Thursday, June 21, 2012 9:23:44 AM UTC-7, Ratty wrote:

    You should not be changing any plugin code anyway. That's why they
    are
    plugins...
    You update them straight from github when you need to. If you want
    to modify
    the behaviour of a plugin model for example then you can extend it in
    your own
    model and override the functions you need to change. You should
    not be
    copying
    the plugin into your application and modifying it which is, I think,
    what you are suggesting ?


I think that's poor advice. If I download a third party plugin that's not part of the Cake core, of course I'm going to modify it to suit my needs. There's absolutely nothing wrong with that. If you need to change a plugin, then change it. The only code that most people shouldn't be messing with is the core, though if you know what you're doing and you're careful, that's not a sin either.

Remember, at the end of the day, the code works for you - not the other way around.

- Jamie
--
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
Well as long as you are happy to change it again and again every time they fix bugs and re-release the plugin then that's fine.

Personally, I would rather install it and have it working in a couple of minutes rather than remembering how I modified it last time.

Steve.

--
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

Reply via email to