Yahoo Moving to PHP
Erek Dyskant writes "Yahoo has decided to switch from a proprietary system written in C/C++ to PHP for their backend scripting. Here's the notes from a presentation by a Yahoo engineer at PHP Con 2002."
← Back to Stories (view on slashdot.org)
> PHP has made a grep step forward in disabling register_globals by default
;)
as usual, theonion.com has covered this
"Old man yells at systemd"
1. Lack of seperation between content and logic. Embedded logic code inside presentation can lead to a bewildering jungle of death for anyone who tries to maintain the code. Also, repeated logic must be maintained across all pages, instead of changing it in one place. (this goes for all ASP, PHP, perl type scripts)
Judging by all the comments in here about "100's of lines of code pasted in different files" and all that, it's obvious you've never written PHP... There is a little statement that's called require or require_once that will, GASP WHAT A CONCEPT, INCLUDE a file! You can write all this "100's of lines of the same code" in that one file and just include it in all your others! That's what I do for page layout. Call CommonHeader(), there's my navigation bar. CommonFooter(), there's my footer.
Sheesh people, read a little about the language before you bash it
There are only 10 kinds of people in this world... those who understand binary and those who don't