|
|
Monday, March 8th, 2010
|
7:03p
A tiny old wank, but one that's a microcosm of why I love programming wank.
Background information for non-computer people: PHP is an older web programming language, that's widely supported by everyone on the planet and thus decidedly uncool. IBM supports it, for chrissakes. Do you get more stodgy than that? Ruby on Rails is a new, hip web programming language and framework that is way cooler than PHP. And supposedly it's easier to program with, but mostly it is way cool. Twitter uses it! Frameworks are software to make it easier to program. They're kinda boring, except that Ruby on Rails has theirs automatically included while PHP people have to find or make their own, thus making Rails infinitely more cool.
When writing an article about your new PHP framework, never, ever make an unflattering side comment about Rails. Else its creator will jump in immediately with:
“Rails also suffers because it is hard to decouple Rails code from page display code.”. WTF?
Have you actually tried Rails? What part of MVC escaped your observant eye? When you talk about “Rails code”, what would you be referring to? Business logic? Controller logic? Hand-waving logic?
Not only does Rails go to greater lengths than most to separate concerns, but it also ships with a host of solutions to better organize “page display code” (I assume you’re referring to view logic). From partials to helpers to layouts.
Hell must certainly have frozen over with pigs flying across the skies. There’s no other day of the week that a PHP framework could be slinging accusations of poorly separated concerns.
CLEARLY THIS IS OFF TO A FRIENDLY START. Why, next I expect them to be sitting in a circle singing Kumbaya. Or slinging accusations of slander, hyperbole, cult membership, and of course fascism in less than thirty comments. One of the two.
(33 comments |comment on this)
|
|
|
|