Welcome Guest, Not a member yet? Register   Sign In
Avoid using helpers
#2

(04-06-2021, 10:23 AM)MrWhite Wrote: I don't get why pretty much every PHP framework comes with this shit. I wish CI4 helpers were libraries instead of helpers. global methods are the worst thing. hard to test and bad for readability.

Now it's too late. ci4 helpers will be a thing forever. but if you are gonna create custom helpers, please don't! create and use libraries instead.

Please be my guest. Write your own PHP framework without that "sh*t" and show that "sh*t" to this community (or some others too) for RFC. By the way AFAIK CI lets to do change/remove something under the hood as far as you know the domain of that framework and call that new framework "Sh*tIgniter". No problem MrWhite you can go to the Moon and Beyond as far as it fits your needs. Me not being rude, just want to get your point and give a thorough explanation what you mean by that, suggest something like that and maybe in the future you will be the one of the core developers of CI.
Reply


Messages In This Thread
Avoid using helpers - by MrWhite - 04-06-2021, 10:23 AM
RE: Avoid using helpers - by nurmyrat - 12-27-2021, 05:53 AM
RE: Avoid using helpers - by kenjis - 12-27-2021, 05:18 PM
RE: Avoid using helpers - by includebeer - 12-28-2021, 04:10 PM
RE: Avoid using helpers - by InsiteFX - 12-29-2021, 01:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB