EntropySink

Technical & Scientific => Programming => Topic started by: Mike on March 20, 2012, 10:18:20 AM

Title: PHP namespaces
Post by: Mike on March 20, 2012, 10:18:20 AM
Any of you guys used them yet?  Working on a MVC project and I think it might be a good way to separate out the bases classes from the module classes.  And further separate the models, controllers, and views.  Looking at it, it seems like the structure of the name space would nicely map to the file system making auto loading a lot easier.
Title: Re: PHP namespaces
Post by: ober on March 20, 2012, 10:44:25 AM
I use ActiveRecord (www.phpactiverecord.org) and that uses namespaces.  But outside of that, I haven't attempted to use it on my own.