Welcome Guest, Not a member yet? Register   Sign In
Suggestion: Class to handle Strings
#3

(This post was last modified: 09-09-2015, 02:22 AM by sv3tli0.)

Simple CI will use it at all places where string methods are required.
Developers from their hands will be able to Switch between Normal Strings methods, multibytes or whatever they want .
By this the Framework will be some steps more Open for the developers.

If for some reasons dev's don't want to use mb_ or they want to use only mb_ , they will be able just to switch between does 2 ..
If some one wants he can make even a mix where some of the methods are mb_ some are not mb_ and some are entirely custom written methods..

+ Such library can be and extended to provide some extra methods to developers in 1 place.

My believe is that 1 good Framework should provide options to devs, not to force them.

P.S. This will remove PHP extension dependency of the framework (MB) and at the same time will support it.

I don't know how will work exactly the autoloader and other things at CI 4, but such class can have both : static and none static method support.
So $CI->string can be preloaded and at the same time clients can call it using its namespace/Class::method()
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
Suggestion: Class to handle Strings - by sv3tli0 - 09-09-2015, 12:03 AM
RE: Suggestion: Class to handle Strings - by Narf - 09-09-2015, 12:59 AM
RE: Suggestion: Class to handle Strings - by sv3tli0 - 09-09-2015, 01:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB