> -----Original Message----- > From: Paul M Foster [mailto:paulf@xxxxxxxxxxxxxxxxx] > Sent: Wednesday, January 14, 2009 8:18 PM > To: php-general@xxxxxxxxxxxxx > Subject: Re: Zend Framework...where to start? -- don't. > ---8<--- > I agree and disagree. I agree there's waaay too much herd mentality in > the programming field. (Fortunately, Linus Torvalds didn't listen to > the > academics who insisted that microkernels where THE WAY, or we wouldn't > have Linux today.) OO is nifty for some things, but it's certainly not > the "fountain of reusability" it was originally promoted to be. And I > also agree about tables versus CSS. I can render a page very precisely > with tables that would take me hours to get right with CSS. And I > really > don't give a crap about what "experts" say about anything. I find > "experts" to be wrong much of the time. > > OTOH, I just finished writing about 80K lines of PHP/HTML, all by hand, > no OO, no classes, no nothing. Each page in one file, except for a few > helper functions in a couple of common files. I wouldn't want to go > through that again. I've opted for a framework on rewriting this code, > just to cut down on the number of lines of code I have to manually > write. But I built my own framework, which doesn't call in 20 files for > each page load. Very compact. Probably not suitable for every kind of > project, but it works for this. > > Incidentally, I would differ from the reviewer in the link above only > in > this respect: He maintains that every line of code adds time. While > this > is true, I believe it's the number of files which have to be opened > which drags down framework numbers the most. When I wrote C code, the > CPU would blaze through the actual code, but file opens and reads > consumed far more time than in-memory code execution. http://www.giveupandusetables.com 'nuff said. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php