Created a Plugin system for CI3, have at it |
@solidcodes
Thanks for the pointers! Theres no reason for anyone to take input the "wrong way", unless its clear the intention was more to be an ass than to actually help. But you're right, my primary role is a Linux Engineer, I usually just use PHP for quick solutions to things, (automation typically, or Web tools, then Perl/Bash for CLI tools). However, I'm in the middle of a project for a web app that I've wanted to do for a while now, so I'm learning a lot more PHP than I knew before. Most (not all) of the pointers you gave I kinda already knew, they were just left like that as a result of sloppy coding, except for #1, thats going to be a big help! Ill be sure to incorporate all the above into it and update it, and the plugin_dir/path is an obvious mistake I looked over. As for why they are static, it was first because I created this outside of CI, then when I adapted it for CI, I just left it, because I think static properties are easier to use, and it doesnt really make much of a difference. Thanks for the input! Ive been using it on my CI app and it seems to be working great. granted I havent created too many intense plugins. (And I'm surprised that plugin_dir/path hasn't caused a fatal error, obviously theres a logic error somewhere as well) P.S. You totally busted me for some of the little discrepancies that I hound my co-workers about, if they saw this thread, id never hear the end of it, lol |
Messages In This Thread |
Created a Plugin system for CI3, have at it - by jLinux - 09-25-2015, 02:25 PM
RE: Created a Plugin system for CI3, have at it - by solidcodes - 09-26-2015, 02:40 AM
RE: Created a Plugin system for CI3, have at it - by jLinux - 09-26-2015, 08:39 AM
RE: Created a Plugin system for CI3, have at it - by jLinux - 09-26-2015, 11:09 AM
RE: Created a Plugin system for CI3, have at it - by mwhitney - 09-28-2015, 08:39 AM
RE: Created a Plugin system for CI3, have at it - by jLinux - 09-28-2015, 09:09 PM
RE: Created a Plugin system for CI3, have at it - by sampoyigi - 10-04-2015, 05:44 AM
RE: Created a Plugin system for CI3, have at it - by jLinux - 10-04-2015, 05:56 AM
RE: Created a Plugin system for CI3, have at it - by sampoyigi - 10-04-2015, 06:07 AM
|