Page 1 of 1

? tiers applications

Posted: Fri Oct 15, 2004 11:39 pm
by maldar
hi,
Do you think PHP has 3-Tiers programming facility?
if yes,what are these tiers and how?
Thanks in advance.

Posted: Sat Oct 16, 2004 1:59 am
by timvw
last time i'm going to refer to this site (else i'm going to look like a spammer or so :p)

http://www.tonymarston.net/php-mysql/de ... html#3tier

Posted: Sat Oct 16, 2004 4:58 pm
by McGruff
Php - and OOP - lets you define as many layers as you like.

Posted: Mon Oct 18, 2004 1:26 pm
by Christopher
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.

Posted: Mon Oct 18, 2004 2:06 pm
by patrikG
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.

Posted: Mon Oct 18, 2004 5:37 pm
by McGruff
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.

Posted: Mon Oct 18, 2004 7:03 pm
by Christopher
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.