Why I love PhpStorm: JavaScript code completion with dojo

Just a quick post about the new PHP IDE by JetBrains. So far I’ve been working with Aptana Studio. I also tried NetBeans and Comodo Edit, but none was really satisfying, because either dojo or ftp support was missing (if I find time, I’ll write a post in more detail about the differences between those […]

Check if node in tree is already selected

It took me a long time to figure out how to check if a node in a dijit.tree is already set to selected, when the user clicks on it. So I thought I share what I found out: dojo.connect(this.tree, ‘onMouseDown’, this, function(evt) { var node = dijit.getEnclosingWidget(evt.target); if (node.item == this.tree.attr(‘selectedItem’)) { console.debug(‘selected’); } });

Tutorial Part 1: REST with Dojo and PHP

I only started recently to dig into REST, so I’m in no way an expert in this field. There are not that many tutorials on the internet, and the ones I found were only of limited help. They all seemed to miss something or, rather, I missed something. So I decided to write my own […]

Mozilla Testcase for DHMTL Performance

It started 2003 as a little project to learn the basics of 3D-programming and with a question on how to improve performance in the mozillaZine Forums. I was asked to file a bug (Bug 229391) and to create the Mozilla Testcase¬†Slow (3D) DHTML performance compared to IE for it . From there it made it […]