February 2015
@CoenJacobs I’d love that.
@CoenJacobs I’ll take your word for it, but this wasn’t hard to setup or config. ;) j.ustin.co/118iSlF
@CoenJacobs Unfortunately, I haven’t wrapped my brain around composer, but i’d be interested in a post comparing the 2. :)
@CoenJacobs But only if using composer. ;)
RT @CoenJacobs: @Jtsternberg Not just via spl_autoload. The Composer autoloader works fine too.
I feel like there’s hesitancy in the WP world w/ autoloaders. spl_autoload_register is your friend. Namespaces NOT required.
@salcode @GaryJ @scottbolinger Gary, this is an example of the god-class I was talking about. Can see Dep. Injec. j.ustin.co/1DTu5Wi
@salcode @GaryJ @scottbolinger I like to think CMB2 has a few good examples of it: j.ustin.co/1DTtVhG j.ustin.co/1Dat2xe etc
@GaryJ @scottbolinger ah, I think I know what you’re getting at. I prefer to create one god–class which instantiates/holds all others.
@GaryJ @scottbolinger again, it depends on what I’m doing. $this->admin = new My_Admin( $this ) is a viable option.