# |
Jul 17th 2009, 09:22 |
ProLoser|Work |
and then you can pull out the parts you want |
# |
Jul 17th 2009, 09:22 |
ProLoser|Work |
you know, putting em all into 1 cart plugin |
# |
Jul 17th 2009, 09:22 |
markstory |
and its a plugin. |
# |
Jul 17th 2009, 09:22 |
markstory |
debug kit is just a component, 3 helpers and a View class as far as 'code' is concerned. |
# |
Jul 17th 2009, 09:22 |
ProLoser|Work |
plugins is not something i've had a huge problem with, i've been toying with the idea of packaging them as components/behaviors/helpers into a plugin since day 1 |
# |
Jul 17th 2009, 09:21 |
ProLoser|Work |
techno-geek: i have, i'm not disagreeing |
# |
Jul 17th 2009, 09:21 |
techno-geek |
P |
# |
Jul 17th 2009, 09:21 |
techno-geek |
ProLoser|Work, you need to read up in the book on plugins |
# |
Jul 17th 2009, 09:21 |
markstory |
that's the idea. |
# |
Jul 17th 2009, 09:21 |
ProLoser|Work |
like from i /thought/ i came across in the media plugin |
# |
Jul 17th 2009, 09:21 |
markstory |
ProLoser|Work: yes |
# |
Jul 17th 2009, 09:21 |
ProLoser|Work |
is it possible to have a plugin with all components/behaviors/helpers only and to use those on other parts of your app? |
# |
Jul 17th 2009, 09:21 |
_nate_ |
and tar + copying is the Lesser Satan of code reusability |
# |
Jul 17th 2009, 09:20 |
markstory |
too many symlinks. |
# |
Jul 17th 2009, 09:20 |
markstory |
running the tests when files are sprinkled is a pain. |
# |
Jul 17th 2009, 09:20 |
ProLoser|Work |
why maintain? cuz of the test-cases? |
# |
Jul 17th 2009, 09:20 |
markstory |
and makes it easier for me to maintain. |
# |
Jul 17th 2009, 09:20 |
markstory |
well it makes the code easier for other to get and use. |
# |
Jul 17th 2009, 09:20 |
ProLoser|Work |
what was the reason you put your helpers in plugins? |
# |
Jul 17th 2009, 09:19 |
markstory |
instead of download tar, sprinkle files. |
# |
Jul 17th 2009, 09:19 |
ProLoser|Work |
is that why your helpers are in plugins? |
# |
Jul 17th 2009, 09:19 |
markstory |
they have test cases too, so it makes it easier to send out. |
# |
Jul 17th 2009, 09:19 |
techno-geek |
According to psuedocoder any code you contribute should be packaged as a plugin with test cases |
# |
Jul 17th 2009, 09:19 |
markstory |
I dunno, I have single helpers in plugins. |
# |
Jul 17th 2009, 09:19 |
ProLoser|Work |
i didn't think it was necessary to put every component/helper/behavior into a plugin |
# |
Jul 17th 2009, 09:18 |
ProLoser|Work |
markstory: well it's been a question we've been wondering about, should we go about bundling all our parts as a plugin? |
# |
Jul 17th 2009, 09:18 |
ProLoser|Work |
i'll have to go learn how to do em though |
# |
Jul 17th 2009, 09:18 |
markstory |
its 2 dirs |
# |
Jul 17th 2009, 09:18 |
markstory |
why not. |
# |
Jul 17th 2009, 09:18 |
ProLoser|Work |
test-cases obviously |
# |
Jul 17th 2009, 09:18 |
ProLoser|Work |
well i mean the plugin part |
# |
Jul 17th 2009, 09:18 |
markstory |
test cases are good. |
# |
Jul 17th 2009, 09:18 |
techno-geek |
yeah, why not? |
# |
Jul 17th 2009, 09:17 |
ProLoser|Work |
for this component alone? |
# |
Jul 17th 2009, 09:17 |
techno-geek |
ProLoser|Work, yeah I agree. I also want to try to convince you to package it as a plugin, write test cases, and also include a simple helper |
# |
Jul 17th 2009, 09:16 |
ProLoser|Work |
i know there are a few no-no's i did on some of my code |
# |
Jul 17th 2009, 09:16 |
ProLoser|Work |
techno-geek: i think if we want to submit our code or get it officially accepted we should try and revise it to fit the coding standards |
# |
Jul 17th 2009, 08:23 |
ADmad |
candybar: http://thechaw.com/bakery/source/branches/usersplugin/plugins/users/config/permissions.php.example#highlight |
# |
Jul 17th 2009, 08:20 |
ADmad |
candybar: support or discussion |
# |
Jul 17th 2009, 08:19 |
candybar |
i'm not asking for support :/ |
# |
Jul 17th 2009, 08:19 |
ADmad |
candybar: if you have issues post a ticket |