Archive for the ‘PHP’ Category

thumbnail

A way to implement unit testing in Joomla!

Since a couple of months I’m not anymore self-employed and am I working for a company who develops for ActiveCollab, Magento and Joomla!. While developing I’m trying to work according the TDD paradigm. So you write your tests first and then you develop the business logic to succeed the failing test. I’d have to admit that Joomla! [...]

  • Share/Bookmark
thumbnail

Custom symfony filters to filter model relations

For an application I was looking for a way to add filters in the generated admin application. We’de like to filter clients based on the articles or orders they have.  Lets take a look at the (simplified) schema: Account: columns: id:             { type: integer, primary: true, autoincrement: true, notnull: [...]

  • Share/Bookmark
thumbnail

Symfony: Multiple embedded forms in a specific layout

First of all I want to state that I’m quite new to the Symfony Framework and that my English does not compare with a native, but hey, I’ll do my best. At the moment I’m working on my first Symfony application what will be a toto for the upcoming World Championship soccer. A quite challenging [...]

  • Share/Bookmark
thumbnail

Dit wil ik in 2010 doen

Ok, we zijn al even in 2010 en het is al zeker niet meer de juiste tijd om de “Beste wensen!” te roepen. Overigens toch al een rare zijn.. wat wens je iemand die andere 350 dagen toen dan? Toch wil ik in dit blog vertellen wat ik dit jaar wil gaan doen op het [...]

  • Share/Bookmark
thumbnail

Operator Overloading in PHP

Vandaag een groot deel van de dag bezig geweest met het schrijven van een eigen Time class. Dit vanwege een nieuwe applicatie waar ik mee bezig en ik veel calculaties met tijd moet uitvoeren. De class zelf is dus aardig functioneel geworden en met functies als add((), subtract() komt ik al een heel eind, maar [...]

  • Share/Bookmark
thumbnail

Opzetten van phpUnderControl op een Windows machine

Deze week ben ik aan het stoeien geweest met het opzetten van phpUnderControl. Het is een mooi pakket wat vrij makkelijk te installeren is, zeker op een linux bak. Op Windows zijn er een aantal aandachtspunten waar je rekening mee moet houden. Allereerst voor mijn installatie heb ik het volgende artikel van techPortal gevolgd: http://techportal.ibuildings.com/2009/03/03/getting-started-with-phpundercontrol/ [...]

  • Share/Bookmark