Please create an account to participate in the Slashdot moderation system


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Headaches part 2 electric boogaloo (Score 1) 68

by Rhaban (#49292387) Attached to: Nintendo To Announce Virtual Boy 2

A single column could only display four different shades simultaneously, but the shades were not fixed. You could have black plus 3 different dark reds, or black with 3 different light reds.
And if I understand correctly, the next 4 pixel column could use 3 shades that were not the same as the ones of the first column.

Comment: Re:And we are back to them again... (Score 1) 60

by Rhaban (#48884141) Attached to: The Untold Story of the Invention of the Game Cartridge


But actually you could just copy+paste the link to your web browser, defeating the site's referrer check.

With the new firefox <meta name="referrer"> tag, criminal sites like /. will soon hotlink images anywhere without fear of consequences!

Comment: Re:Choose a CMS you like (Score 1) 302

by Rhaban (#48875961) Attached to: Ask Slashdot: Has the Time Passed For Coding Website from Scratch?

I think Wordpress is pretty horrible under the cover

A coworker was working on a wordpress site for a very important client.
Contributors to the site needed to be able to insert a number of html tags, including iframes, into their contributions.
It did’nt work. Everything was set up like it should be, and still only the admin could insert iframes in his articles.

I should have said, wordpress was configured with multisite enabled, because there was a main site and a blog, and it had to be separated.

There is a hard-coded condition in the wordpress kernel that disables raw html in contributions for everyone except admins, if multisite is enabled.
There is absolutely no reason for that. It is not a bug, it is something a wordpress developper has thought should be hard-coded in the kernel.

It summaries well my experience with wordpress: as long as you only do what wordpress is meant to do, it (mostly) works. As soon as you want to do something a little differently, you never know if it will be possible. And mor often than not, it is only possible with a ugly hack. And it will be broken with the next wp update.

Comment: Re:Not the same use cases (Score 1) 245

by Rhaban (#48801693) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share

Wordpress is junk, on par with joomla. It assumes a lot of things and as soon as you wander bayond its core functionality (a blog). Seriously, how can disabling in code, with no possibility to override it) unfiltered html in content for everyone except the super admin if and only if the multisite mode is enabled be called a security feature?

Symfony 2 does most things quite well (the authentication process is a nightmare), drupal does some strange things (and community modules go from "utter crap" to "pretty good").

I’ll look into Banshee, I’ve never used it and only know it by name.

Comment: Not the same use cases (Score 5, Informative) 245

by Rhaban (#48801071) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share

These two languages each have their own use, and to chose between them you should not ask which is better but which is closer to my use case.

PHP, for all its problems, is still a very useful language for developing web sites, if only for the quantity of tools (frameworks, cmss, etc) available and their quality (far from every php tool is good, but you can easily fond a quality tool for each category: symfony 2 is a very good oo framework, drupal and ez publish are good cms...).

Node is younger, and does not have such a toolset. Sailsjs is a good framework but far from mature.
But it does what php can’t: a nodejs application is its own server and runs continuously, instead of being a set of scripts that must reload everything with each request.
It makes it a very good language for real-time uses, like the back-end of a small multiplayer game.

Comment: Re:Ugh, WordPress (Score 1) 31

There are two open source php CMSs worth considering for a web site: Drupal and eZ Publish.

Since its version 5.0, eZ Publish is based on symfony. It is really powerful but its content structure is somewhat rigid, it is less customisable than Drupal.

Drupal uses some symfony components as well for its latest versions, but it is not a real symfony application like ezpublish. Its power is its versatility: It can do anything and everything.
It has a big community and some great modules and some horrible ones. You need to know what you want to do before you do it, because it is really easy to lose yourself in your own developments.
You can organize your content as you like or not at all.

Wordpress... As hard as it tries to be, wordpress is not a cms. It is a blog engine that can be hacked to do horribly the job of a cms. Its codebase is horrible.
A number of features heavily depend on the theme you use, which is an abomination. It is widely used and, as such, heavily targeted by hackers. There seems to be a new exploit every other day.

I have worked with Joomla a lot, but it was several years ago, between v1.2 and 1.5. I don’t know about recent versions, but it was a mess. You could not define different content types. Your site structure had to have 3 levels (2 leveles of categories, 1 level of content), no more no less.
You couldn’t define additionnal fields for your content. It had huge security flaws. Extensions couldn’t work with each other (for instance, there was a widely used extensions to define groups of users, and another one to define permissions. As they didn't work together, you couldn’t give permissions to a group of users...).

With wordpress and Joomla alike, you have to design your site for what it can do. WIth a real cms like eZ or Drupal, you design your site first an then you adapt the cms to do what you want.

In seeking the unattainable, simplicity only gets in the way. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982