Archive for the ‘Webdevelopment’ 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

Als tinyMCE niet in één keer laad

Het wil bij tinyMCE in bepaalde browsers nog wel eens gebeuren dat de editor niet gelijk geladen word. Pas bij een refresh verschijnt de editor. Voornamelijk Safari en google Chrome vertonen dit gedrag. De oplossing is echter simpel. Controleer of alle plugins die je in de configuratie opgeeft wel bestaan en geladen kunnen worden. Dus [...]

  • 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