Archive for the ‘Webdevelopment’ Category

Valideren elfproef met jquery.validate

Posted: 10th juni 2011 by Paul de Raaij in Webdevelopment
Tags: ,

Aangezien ik iedere keer weer een custom validatie op bankrekeningnummers moest schrijven, werd het maar eens tijd om het in het digitale archief te plaatsen. Wellicht heeft iemand er nog wat aan… jQuery.validator.addMethod(“elfproef”, function(value, element) { var sum=0; for (i=1; i

Share

Using Doctrine in Joomla

Posted: 5th maart 2011 by Paul de Raaij in PHP, Webdevelopment
Tags: , ,

Joomla is a decent CMS with very nice features. It works great for the end user and has many components ready to use from the online world. What I don’t like personally, as a developer, is the model implementation in Joomla. For me the way ‘ model and table’ classes are implemented, just doesn’t feel [...]

Share

A way to implement unit testing in Joomla!

Posted: 31st juli 2010 by Paul de Raaij in PHP, Webdevelopment
Tags: , ,

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

Custom symfony filters to filter model relations

Posted: 21st april 2010 by Paul de Raaij in PHP, Webdevelopment
Tags:

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:

Share

Symfony: Multiple embedded forms in a specific layout

Posted: 27th februari 2010 by Paul de Raaij in PHP, Webdevelopment
Tags: ,

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

Als tinyMCE niet in één keer laad

Posted: 26th februari 2010 by Paul de Raaij in Webdevelopment
Tags:

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