The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

On Ubercart and E-Commerce

Submitted by nk on Wed, 2008-06-04 19:06

Duplication is not bad, persay, but there are a great many areas where Ubercart and E-Commerce overlap, interfacing with the exact same external systems, which require the exact same API calls, and there's no reason not to combine efforts to make those APIs/services more usable for both EC, ubercart, and other community members who just want to leverage the API's but have no need for either EC or ubercart. (Quote from beeradb, published with permission)

On PHP short array syntax

Submitted by nk on Tue, 2008-06-03 18:35

There is a heated debate on PHP internals list -- this in itself is not news, the list should be called "php heated debate list" btw. -- about short array syntax. What I will write here is probably know to the Drupal readers -- less known to the PHP internals list, I guess. So, I am the form API maintainer of Drupal, which probably is the most complex array based API in existence. I support the $b = ['foo' => 'orange', 'bar' => 'apple', 'baz' => 'lemon']; wholeheartedly.

A bit off topic: feeling "at home" with bash

Submitted by nk on Mon, 2008-06-02 19:04

I longed for this for so many year but somehow never took the effort to research it. Turns out that bash autocompletion can be be made into something sane by adding the following to profile/bashrc:

# make bash autocomplete with up arrow
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
# make tab cycle through commands instead of listing
bind '"\t":menu-complete'
# make cd try only directories
complete -d cd

Four today

Submitted by nk on Thu, 2008-05-29 19:20

I have joined 2004 May 29. That makes today my fourth birthday. There are 303930 users now, when I joined there were 9445. Despite such a huge, rapidly expanding community, despite having the occassional debate, the occassional disagreement, despite we don't know what we are doing and sometimes the band produces strange music, in it's entirety the Drupal community community rocks. I am happy to be here and hope I can be party to this all for many years to come.

Help in the forums

Submitted by nk on Thu, 2008-05-22 09:51

Recently elvis published a challenge to help in the forums. Let me reiterate my commitment to this: I am willing to help in the forums but I am not willing to sift through the drek ( I left the forums because of "high friction" threads ). So, if you find a thread which asks for menu (esp menu v6) or fapi help, just let me know, I can always be found on #drupal.

jQuery WYSIWYG editor for Drupal released

Submitted by nk on Sun, 2008-05-18 14:48

If your client can't live without WYSIWYG then check out htmlbox. Originally by Remiya Solutions, this editor sucks less.

foreach speeds and references

Submitted by nk on Thu, 2008-05-15 18:55

The other day we had a discussion on #drupal about the speed of various foreach constructs and webchick said I should blog this. First of all, let me give you a crash course on PHP references. Imagine variables values as drawers and names as labels on the drawers. One drawer can have more than one label and that's what we call a reference. So when you write $a = &$b then PHP slaps a label on the drawer that holds the value of $a. Now, if you unset($a) then PHP removes the "a" label from the drawer, however the "b" label is still on it.

2008, the year of Drupal themes

Submitted by nk on Wed, 2008-05-14 16:41

It's so nice to have many theming sites. Provided they are Drupal themer sites:

Although some of their demos have the "Mambo license" menu item running, which is quite frankly not a testament to their understanding of Drupal. However, starting off from a ported theme could still be nice, those buying Drupal themes might not want to fiddle as much customizing the theme further.

However, starting off from a ported theme, with invalid xHTML and almost none of the detail will give you frustration and the customer service would be better off noneixsting because then it'd be at least clear what's on. There is one thing to do with TemplateMonster: avoid. Support those who work with Drupal, for Drupal!

Drupal sucks? Really? Care?

Submitted by nk on Wed, 2008-04-30 23:43

Just today I could read that

Beginning with ignorance of major programming paradigms that make for secure and scalable web services (e.g. model-view-controller), and what amounts to criminal negligence in the design of a basic hook and trigger system.


Although I haven’t used it, Drupal sounds like Wordpress on steroids, with an attached boat anchor to slow you down.

now hear me: I do not care and I do not even want to know.

WYSIWYG editors

Submitted by nk on Mon, 2008-04-28 19:24

In short, htmlbox is best currently, NowPublic will contribute back numerous fixes and will deploy it on its production servers tomorrow or so. Research done mostly by Balázs Nagykékesi for NowPublic.

User login