PHP Professionals

tech stuff, tips and the occasional rant

Drupal core hacks - thinking about it?

Posted on | March 11, 2009 | 1 Comment

Funny results from searching Google for ‘drupal core hack’:

  1. Do not hack core | drupal.org

    29 Jan 2009 “Do not hack core!” This phrase is commonly heard in the Drupal community. There are even t-shirts made with this phrase and this cannot be
    drupal.org/node/144376 - 16k - Cached - Similar pages

  2. Documentation: Info on Core Hack Mentioned | drupal.org

    2 posts - 1 author - Last post: 31 May 2008

    Documentation: Info on Core Hack Mentioned Patch spotlight. Current Drupal core initiatives. Play patch bingo!
    drupal.org/node/191386 - 13k - Cached - Similar pages
    More results from drupal.org »

  3. Don’t hack core and don’t hack contrib (unless you have to

    If you spend much time in the Drupal community you’ll hear the refrain don’t hack core. But no matter how many times it might be said the temptation to hack
    addingunderstanding.com/2008/07/dont-hack-core-and-dont-hack-contrib-unless-you-have - 37k - Cached - Similar pages

  4. How to do Drupal core hack the right way | Alexisyes

    Of course, hacking Drupal core is not the right thing to do, because Drupal flexibility right now is very good with its APIs. But sometimes you can’t live
    alexisyes.com/2008/11/18/how-do-drupal-core-hack-right-way - 29k - Cached - Similar pages

So, basically you go from:

  • Don’t do it!!! But, hey, do read some more about it.

to:

  • Ok, don’t do it, unless you have to (read: you have more then 100 daily visitors).

And finally:

  • Ok, fine, do it if you want (need). But do it the right way.

Sorry, couldn’t help myself. *Must*. *Post*. *This*.

Sigh.

Really helpful: ZF Dispatch Flow Diagram

Posted on | January 12, 2009 | No Comments

If you’re carving your way through the Zend Framework code flow, this diagram created by Thorsten Ruf should be really helpful. It provides you with the best overview I’ve seen so far. The diagram is being considered for inclusion in the framework documentation.

Whatever happened to Mini SQL?

Posted on | December 23, 2008 | No Comments

Does anyone remember Mini SQL (or mSQL)? A few years ago it was a solid contender for MySQL and some even considered it slightly superior over MySQL.

The site is still there, but it looks like it hasn’t changed since years. And the PHP manual still has a chapter on it, as there is still the possibility to use the extension and connect to a Mini SQL database.

To put everything in context, take a look at the FAQ page (1997!):

How is this FAQ prepared?
The FAQ is written in HTML and proofread using version 3.01Gold of the Netscape Navigator running under Solaris 2.5.1.

Great stuff! Does anyone actually still use this?

UPDATE (2009-03-25): It was finally thrown out of PHP core (at least from 5.3.0RC1 onward).

keep looking »