Wednesday 18 August 2010

An Introduction to Unit Testing in Drupal

Drupal is fast growing and more and more lamers are implementing it. I'm pretty lame myself so i tried to avoid a lot of mistakes, and mistakes are easy. So unit testing is an outcome in this case.

Robert Douglass has written an excellent page on how to start with unit testing under Drupal (yeah I know it's from 2007, but still it's good):
http://www.lullabot.com/articles/introduction-unit-testing

Friday 16 July 2010

PHP for Android

Since not everyone may wish to get to grips with Java, the main Android development language, PHP fans have now developed an extension for Android which allows developers to create programs using the PHP scripting language.

Shoo Java, shoo!

From: The H Open Source

Wednesday 28 April 2010

Misbruik Agile

Ik vind terminologie is lastig. Als ik om mij heen kijk en lees ben ik gelukkig niet de enige. Zo bestaat er al een tijdje de term Agile. Agile is een term die in het leven is geroepen door een stel software ontwikkelaars. Zij willen software ontwikkeling vergemakkelijken. Het probleem met de term Agile is vooral dat het misbruikt wordt en eigenschappen krijgt toegedicht die er niet bij horen. Men noemt verschillende software ontwikkelingsmethoden Agile en anderen niet, maar men beseft niet dat we dan appels met peren aan het vergelijken zijn.

Doordat de term Agile wordt misbruikt ontstaat er veel verwarring over wat Agile is en hoe je het kan gebruiken. Agile staat voor resultaat gericht software ontwikkelen. Het proces is niet belangrijk, alleen het resultaat telt. Het Agile resultaat wordt behaald door niet te focussen op processen, documentatie of een plan maar door te luisteren, te veranderen en samen te werken.

Nieuwe ideeen worden vaak overgenomen en aangepast aan de wensen en meningen van anderen. Zo ook met Agile, iedereen geeft zijn eigen betekenis aan Agile om mee te kunnen doen of om zich beter in de markt te positioneren. Agile was een buzz-woord en was daarom belangrijk, waar de meeste ideeen de status van buzz-woord niet overleven is Agile overeind gebleven.

Om Agile beter te kunnen begrijpen moet er worden gekeken naar Agile als gedachtengoed, niet als toepassing. Agile is niet iteratief programmeren, Agile is werken naar een resultaat dat de klant wil. Agile is niet sprinten en scrummen, het is samenwerken met een team en de klant. Agile zijn een paar richtlijnen die we in ons achterhoofd moeten houden als we software ontwikkelen: samenwerken, resultaat gericht, aanpassen aan de klant en werken aan verandering. Agile is dus niet een methode, een methode kan Agile worden uitgevoerd.

Monday 22 March 2010

JQuery UI

Did I say JQuery is brilliant? I'm not bad in JavaScript, but JQuery takes it a step further, sometimes beyond my understanding... No that is not true, it must be most of the time. So instead of learning JavaScript I now just learn JQuery, I now can do more with less effort.

And when you think things don't get any beter, there's JQuery UI. A front-end library for creating slideshows, drag and drop interfaces and whatever more.

JQuery UI website

Thursday 18 March 2010

Distributed Version Control

From Joel on Software:

"Whereas if you free your mind and reimagine version control, and grok the zen of the difference between thinking about managing the versions vs. thinking about managing the changes, you’ll become enlightened and happy and realize that this is the way version control was meant to work."

Full article: Distributed Version Control is here to stay, baby
Mercurial: Mercurial tutorial
GIT: Linus Torvalds GIT

Friday 12 March 2010

Solar Framework for PHP5

Unlike Java there are not so many frameworks for PHP. The frameworks that are available are most of the time half finished. Therefor only a few are really used. Symphony for one, of course the Zend Framework and not to forget PEAR. For the later i am pleased to say that it is on the move again after a couple of years without much development.

But if we look at the new Solar framework, which is released only three days ago, it looks promising. Use of namespaces and design patterns makes it very neath. And some of the basics for RAD are there like authentication and session handling. I'm still missing templating and error-handling, but i won't be picky on a first release. I'm sure going to try it out.

Solar Framework for PHP 5

Tuesday 9 February 2010

IE6 is abandon ware

Google has abandoned support for Internet Explorer 6. The 2001 browser is old, bugged and doesn't support many standards. Web development must calculate an overhead of 10% to make web applications work for the almost antique browser.

With Google and initiative has started and more as 700 web developers have agreed to drop support. Finally. The bugged, crappy working and time spending browser will be gone.

In the news (dutch)
Petition site (dutch)