Welcome Guest, Not a member yet? Register   Sign In
Poll: Use namespaces?
You do not have permission to vote in this poll.
yes
89.00%
89 89.00%
no
7.00%
7 7.00%
maybe
4.00%
4 4.00%
Total 100 vote(s) 100%
* You voted for this item. [Show Results]

Use more PHP standards (namespaces)
#7

While I think CI should be namespaced and should recognize application classes which use namespaces, I don't think it should require everyone to completely rewrite their applications to upgrade from CI3 to CI4. There is still room for backwards compatibility while updating the core classes to use and support namespaces.

It could be as simple as use of the loader and/or get_instance() to indicate that CI classes should be available via $this-> for legacy support.
Reply


Messages In This Thread
RE: Use more PHP standards (namespaces) - by cjj - 04-08-2015, 10:50 PM
RE: Use more PHP standards (namespaces) - by mwhitney - 04-13-2015, 10:26 AM
RE: Use more PHP standards (namespaces) - by Narf - 05-05-2015, 07:57 AM
RE: Use more PHP standards (namespaces) - by Narf - 06-14-2016, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB