Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
A point on which McGruff and I disagree. You don't need OOP to define or implement layers/tiers. It is one good way to implement it, but the tiers do not have anything to do with programming style.
When it comes to n-tier applications, it's much easier to plan, execute, keep control of your code and maintain it with OOP. You end up with a cleaner application. But that's not a new discussion has been done many times over elsewhere.
arborint wrote:A point on which McGruff and I disagree. You don't need OOP to define or implement layers/tiers. It is one good way to implement it, but the tiers do not have anything to do with programming style.
I'm genuinely looking forward to seeing you back that up here. We seem to have been arguing our different points of view a lot recently and it really is time to thrash it out with some real code examples.
I've been too busy to think about your challenge. I'll try to grab a half hour tonight to give you some more code. Although my above point was that arcihtecture is above implementation style.