Live data from Hacker News

Australian government likely to standardise on Drupal

computerworld.com.au

41–50 of 51 posts

Re: Australian government likely to standardise on Drupal

#41

I worked with Drupal for 2 years (built a specific niche business social network on top of it) and it was the worst two years of my life as a programmer. I literally will not touch Drupal projects, I'll go back to working retail before I'd be a Drupal developer again, it is an unremittingly awful platform to work on. The front end experience is horrible (even with all the tweaks in the world), CCK/Views made it just…

I'm afraid it's rather like anything else - Drupal works well for people who understand what it's good for. In particular, it's good for content management, where 'content' is loosely defined as 'stuff in a database that people want to edit and publish'.

The 'bonkers' hook system is basically just aspect-oriented programming. It's not to everyone's taste but it's not as though you can't figure out how it works. It's just not a typical MVC web framework, and MVC web frameworks have mostly won (which is why Drupal 8 is going to be built around Symfony components, but that's another story).

I dispute that an experienced Symfony dev could build the same functionality as an experienced Drupal dev in less time. You could skew the test either way by picking requirements that favour one platform over the other, but for most general case content management (including user-generated content) requirements you'll be able to do it quicker in Drupal, mostly because you won't have to write boring stuff like:

* User management

* Roles and permissions

* Login, password reset, activation

* Basic editorial UI

* RSS feeds

* Custom content types

* Wysiwyg editing (admittedly this can be a pain to configure)

* Logging

* Caching, including Varnish integration, Memcache etc.

* Indexing of content into Solr/Elasticsearch

And so on. Most of that stuff is plug and play, and if you're happy to accept the (very real and sometimes painful) limits that come with Drupal then you can almost always deliver functionality faster by using open source modules wisely.

In general, I rarely agree with people who say " is an unusable piece of crap" because the evidence appears to suggest that other people are using it effectively. The fact that you didn't enjoy it doesn't automatically make it bad software (nor does it make you a bad developer for not enjoying it or figuring out how to use it effectively). Most successful systems do at least some things really well, even if they get a lot of other things badly wrong, and dismissing them makes it harder to learn from the things that they do well.

For my part, I wouldn't exactly describe Drupal development as fun, compared to Ruby or Clojure. However, it can be scarily effective in the right hands.

Re: Australian government likely to standardise on Drupal

#42
post #32

Earlier quoted context omitted.

Looks like that site uses WordPress for the index site, but as soon as you make a search you are redirected to a site based on something called CKAN ( http://ckan.org ), a dedicated data searching engine. Probably better than Drupal for that purpose anyhow. Can't see how that is damning for drupal.

CKAN has been around for awhile AFAIK, back even in the Drupal 5.x days, there was a CKAN module for Drupal. From CKAN's webpage: http://ckan.org > Strong integration with third-party CMS’s like Drupal and WordPress There was no explicit reason to switch front-end sites...But think about it...creating Data.gov was a large endeavor, but it's certainly not a mission critical one. Just a couple years after building that…

Yes you are right about that, but I'm thinking that Drupal was the wrong backend for that system to begin with. If you're using the wrong tool, it's the makers of the system that are at fault, not Drupal. I mean Drupal is used by many popular sites with success, most are switching to Drupal, not from it. As you say, Drupal is a CMS system. It's not a data platform. Think newspapers vs data.gov. From my perspective you could make data.gov in Drupal no problem, but that doesn't mean you couldn't do it better, faster, easier with some more specialized software. CKAN does all these things Drupal does not (http://ckan.org/features/) that 99% using Drupal don't need. Looking at that it seems strange to me they chose Drupal to begin with.

Re: Australian government likely to standardise on Drupal

#43

I worked with Drupal for 2 years (built a specific niche business social network on top of it) and it was the worst two years of my life as a programmer. I literally will not touch Drupal projects, I'll go back to working retail before I'd be a Drupal developer again, it is an unremittingly awful platform to work on. The front end experience is horrible (even with all the tweaks in the world), CCK/Views made it just…

I'm afraid it's rather like anything else - Drupal works well for people who understand what it's good for. In particular, it's good for content management, where 'content' is loosely defined as 'stuff in a database that people want to edit and publish'. The 'bonkers' hook system is basically just aspect-oriented programming. It's not to everyone's taste but it's not as though you can't figure out how it works. It's…

I'm not really sure how to respond to that since we are in the realm of personal opinion.

I've built custom CMS's for clients that where a much closer fit with their existing workflows that implemented most of the list above (not everyone requires everything above) and I've done it at least as quickly as doing it from scratch in Drupal would have (partially because I have existing code I can reuse for a lot of that).

My visceral dislike of Drupal comes from working with it directly for two years, I read the books, I went through the code, I wrote custom modules, I learnt CCK/Views inside and out and at the end of it I took a pay cut to not have to work with Drupal.

My opinion of Drupal can best be summed up with an analogy - given sufficient thrust even a brick will fly and Drupal required a vast amount of thrust.

Yes out the box you get a great deal of functionality which is what makes it so enticing but then your needs change and you require doing something that is outside the scope of Drupal or even existing modules and the whole thing comes crashing down.

Back when I worked with Drupal it created hundreds of tables for anything involving slightly complicated CCK/View based workflows, performance was horrible for logged in users (and trust me I haunted 2bits like a poltergeist for every tuning opportunity I could find).

But then this is just opinion at the end of the day.

One thing I will say is that the Drupal community are an absolutely lovely bunch and incredibly helpful which is always a strong plus.

Also just for humour value http://www.cmscritic.com/wp-content/uploads/2010/08/permissi... this is not a good UI.

Re: Australian government likely to standardise on Drupal

#44
I'm always somewhat mystified regarding the abject hatred Drupal gets from the HN bunch... I understand a few points:

1. Perceived as overly complex.

2. Reliant on dev paradigms that originate from the PHP4 days, i.e. no OOP.

3. Performance can be a problem.

4. It's PHP, and old-school PHP at that.

5. Everything is done in the UI, and you can't ship DB-based config in code.

6. It's for people who don't know how to code. (I would argue this applies more to WP than Drupal)

I get all of those points, and I agree with most of them. However, my shop uses Drupal for mid-size projects, and a little bit of WP for small ones. Here's how I see Drupal:

1. Integrated, relatively coherent API and model structure that modules can hook into. I.e. two modules don't need to explicitly know about each other for them to be used together. Thus, uncoordinated effort on disparate modules can be used together by site builders to create novel features.

2. Configuration is much less DB oriented than it was, and many things can be committed to git now. This is also continuing to improve over time, and Drupal 8 will be a major change in this regard.

3. Drupal when properly set up actually seems to provide a more consistent admin experience for users than WP does (in my experience, anyway). WP sites that use a lot of modules usually end up with the admin feeling like it was designed by many different people. Drupal used to be that way, but has greatly improved...

4. Performance with proper caching is actually pretty good. As always, you can use any good tool poorly and get poor results.

5. Drupal's codebase is extremely complex, and structured in a way that makes things very hard to debug sometimes (i.e. the hook system). Sometimes I want to do something that I consider very simple, and I can't do it without digging through the API for 4 hours trying to figure out how to do it.

6. And yes, PHP has problems. I don't like its API and that it tends to encourage poor coding practices, but as some recent threads on HN have pointed out, modern frameworks like Symfony are helping to put a cleaner face on PHP. And D8 uses Symfony.

It seems like many of those that hate Drupal stopped using it in version 6, which definitely had many of the problems listed above, many of which have been addressed to some degree. Drupal 8 is based around Symfony components, which should greatly modernize the codebase, though that has been a very controversial move in the community.

All of that said, Drupal still feels like the "least worst thing" for what we use it for, and I'd love to hear what people use instead of it for the types of projects we use Drupal for (custom e-commerce, large content sites with lots of different types of content, complex publishing workflows, etc). We've tried Joomla and WP at various points, and each felt like it had shortcomings for our use cases. And we don't usually get to work with huge budgets, so we have to deliver a lot of complexity for not a lot of $.

Sorry, this got really long, and this thread seems a strange place to go into so much detail :). But I am genuinely interested in alternatives, and in what others are using when they just need to build a (complex) site for a customer who doesn't have the $ to start totally from scratch.

Re: Australian government likely to standardise on Drupal

#45
post #32

Earlier quoted context omitted.

CKAN has been around for awhile AFAIK, back even in the Drupal 5.x days, there was a CKAN module for Drupal. From CKAN's webpage: http://ckan.org > Strong integration with third-party CMS’s like Drupal and WordPress There was no explicit reason to switch front-end sites...But think about it...creating Data.gov was a large endeavor, but it's certainly not a mission critical one. Just a couple years after building that…

Yes you are right about that, but I'm thinking that Drupal was the wrong backend for that system to begin with. If you're using the wrong tool, it's the makers of the system that are at fault, not Drupal. I mean Drupal is used by many popular sites with success, most are switching to Drupal, not from it. As you say, Drupal is a CMS system. It's not a data platform. Think newspapers vs data.gov. From my perspective yo…

Yes...you and I are in agreeance here...and to be fair to the government, I would argue 99% of clients don't exactly know what they need. I'm not arguing that Drupal is always wrong, or that it is inherently bad...I'm arguing that it provides too much for what users actually need...that it was dropped for Wordpress is an indication that they thought Drupal itself could be the data-handling platform. Hell, they probably don't even need WordPress and could probably do much of it in Jekyll or some other static deployment.

I used Drupal back in the 5.x days and thought it was pretty swell, but that was when I was a rookie developer who had almost no real full-stack dev experience. Now I can't think of a single use case in which Drupal's purported feature set is needed that would not be better fulfilled by just going to Django/Rails. The hackery that seemingly has to be done to meet clients' perceived needs almost eliminates whatever advantage Drupal in terms of a community of knowledgable developers to hire from. And I would question whether there are really more Drupal-only developers than Rails-only developers (certainly, there are way more Wordpress developers).

Re: Australian government likely to standardise on Drupal

#46
post #23

I have never used Drupal (I am not much into Python), but in general it makes lots of sense for governments to standardize on open source tools, including CMS. At least AFAIK, Drupal is fairly efficient. I would not be so enthusiastic about Wordpress.

sniuff is right, Drupal is all PHP, through and through. As for Wordpress's alleged speed problems, I haven't had any trouble. The speed of development for WP is way ahead of that for Drupal, in my experience at least, to the point where I just refuse to work on Drupal installations and convert them over to WP as a first step.

> As for Wordpress's alleged speed problems, I haven't had any trouble.

It does not support caching out of the box and MySQL has, for a long time, had poor behaviour for workloads involving tables with TEXT fields.

By the way, learn about db-error.php. Might as well never have a problem in style.

Re: Australian government likely to standardise on Drupal

#47
post #23

I have never used Drupal (I am not much into Python), but in general it makes lots of sense for governments to standardize on open source tools, including CMS. At least AFAIK, Drupal is fairly efficient. I would not be so enthusiastic about Wordpress.

sniuff is right, Drupal is all PHP, through and through. As for Wordpress's alleged speed problems, I haven't had any trouble. The speed of development for WP is way ahead of that for Drupal, in my experience at least, to the point where I just refuse to work on Drupal installations and convert them over to WP as a first step.

Thanks for the correction!

Re: Australian government likely to standardise on Drupal

#48
post #31
post #24

Earlier quoted context omitted.

Amen, brother! Or sister. Or eukaryotic organisms. Whatever. So what happened to Squiz? It was the godawful piece of shit that I criticised in the /. post that kinda-sorta lost me my job with AGIMO, so I wouldn't mind knowing how long it took for me to be proved right.

Pretty sure Squiz is still running a number of University sites which was always their core audience.

From using it on a daily basis, it's not even that great at uni websites. The killer failing as far as I'm concerned is the menu system - compared with WordPress or Drupal or any other content management system, it makes adding pages to menus such a chore...

Re: Australian government likely to standardise on Drupal

#49
post #31
post #24

Earlier quoted context omitted.

Amen, brother! Or sister. Or eukaryotic organisms. Whatever. So what happened to Squiz? It was the godawful piece of shit that I criticised in the /. post that kinda-sorta lost me my job with AGIMO, so I wouldn't mind knowing how long it took for me to be proved right.

Pretty sure Squiz is still running a number of University sites which was always their core audience.

From using it on a daily basis, it's not even that great at uni websites. The killer failing as far as I'm concerned is the menu system - compared with WordPress or Drupal or any other content management system, it makes adding pages to menus such a chore...
Post reply on HN