Welcome Guest, Not a member yet? Register   Sign In
CI4 lacks seems to lack a couple of super convenient CI3 features.
#3

(09-27-2018, 11:22 PM)ignitedcms Wrote: I can't speak for the new authors but this could be by design, what with everyone pushing modular code globals are often frowned upon. As you know I've been working with nodejs and most frameworks require you to use the 'use strict' declaration which implicitly forbids global variables.

I haven't used globals in years.

Nothing about CI3 config items or view Vars has anything to do with global variables. In the case of config items, they are retrieved with a function call. Loading view Vars only allows them to be available in views. 

CI always provided maximum flexibility, even to the point where it could be used terribly wrong. Now all the sudden we have a nanny?
Reply


Messages In This Thread
RE: CI4 lacks seems to lack a couple of super convenient CI3 features. - by skunkbad - 09-28-2018, 12:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB