by justafish · 14y ago · 0 comments
So much of working with Drupal is just overriding what Drupal wants to spit out instead - here's this Views markup, or this user registration process, or this database schema, now customize it to your liking. Rails takes the exact opposite approach - here's nothing, now make what you want. As my abilities grow, I'm coming to greatly appreciate the second approach.
Perhaps it's the author's experience with other modern development tools rather than a misunderstanding of Drupal that's informing his bias.
I see the class functionality in the templating system as a benefit, and makes styling much easier, but for someone who dislikes classes, I can see why the author wouldn't like Drupal.
This represents a trade-off - 'uglier' HTML and extraneous CSS classes in return for a drastic reduction in development effort and the knowledge required to bootstrap a typical project. This trade-off makes sense if an in-depth knowledge of HTML is not your strong point (and even most web devs are not fully-fledged "front end developers" conversant with the finer points of the W3C's latest magnum opus), and if you would benefit from having a lot of boilerplate stuff (user registration, access control, content management, RSS, caching, RDF, email notifications, widgets/blocks, templating engine, etc.) for free. Sure, if you're willing to do all of that stuff yourself, you can ensure that no CSS class is wasted (or, indeed, no CSS class is used at all). But most people can't make that trade-off, and even those who can would struggle to justify it beyond the most trivial or superficial projects.
The best solution is probably to take a framework and modify its output to look the way you want it to. That's why the swipe at Drupal is odd, as pretty much everything Drupal does can be modified via hooks (kinda like AOP) and templates.
If you haven't checked out other content management systems, you're missing out. Imagine if the Views workflow were made first class and efficient, instead of being tacked on.