Re: Beginner Tutorials for using CLASSES in PHP4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



""Nathan Nobbe"" <quickshiftin@xxxxxxxxx> wrote in message 
news:7dd2dc0b0710091529o78441a3fib0780f8c87ef00be@xxxxxxxxxxxxxxxxx
> On 10/9/07, Tony Marston <tony@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> There's your problem, then. You are wasting your time trying to implement
>> fancy design patterns just because design patterns are supposed to be
>> "cool".  Loader class, Controller Base class, Front Controller - I have
>> none
>> of that crap in my code, so I don't encounter the problems you have.
>>
>
> your site talks about the use of mvc in radicore so we can assume youre
> using at least one design pattern;

When I say that I do not use design patterns I mean that I do not try to 
implemet as many design patterns as possible, and I certainly do not litter 
my conversations with this pattern or that pattern. In the whole of my 
career there have only ever been two patterns that I have read about and 
subsequently sought to implement, and thoose are the Three Tier Architecture 
and the Singleton. The fact that my framework contains an example of MVC is 
pure coincidence. It just happened that way. It was only after someone else 
looked at my code and said "You've implemented the MVC pattern" that I read 
about it and discovered that it was a perfect match. I certainly did not 
read about MVC and then try to implement it.

> and if radicore has a single point of entry you
> are using a front controller.

I do not have a single point entry. Each page has its own controller, so I 
have hundreds of page controllers. A single front controller is something 
that is used in compiled languages.

> might want to knock the dust off the old design pattern books just to jog
> your memory:)

I've put my books of design patterns on the top shelf where they shall 
remain untouched as they contain nothing of use to me. They may give hints 
to novices, but I am no longer a novice. I no longer need training wheels on 
my bicycle, so why do I need books on design patterns?

-- 
Tony Marston
http://www.tonymarston.net
http://www.radicore.org 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux