Matt Stauffer posted a topic How to Organize Class Namespaces http://bit.ly/1JarwkK,
May i know what is your preferred Namespacing Approaches on this topic it doesn't matter if it is a big small or large?
And how can i tell if it is big small or large is there a basis?
thanks.
That post was kind of obvious and pointless and didn't offer any answers. I can see why you're confused. I tend to lean more on the side of pattern namespacing with the option to sub-namespace on context. What I mean is something like this
App
Handlers
User.php
User/Admin.php <-- extends User
Project
Posts
Repository
Billing.php
Billing/Invoice.php <-- extends Billing
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community