Use the correct scope.. and use them correctly.

Sometimes I get to see the xPage code other developers made and a thing that still confuses a lot of  people is how and when to use the correct scoped variables. Many times people just put everything into the sessionScope. Because it is easy ( its always there!) and it is personal (every user gets […]

Yii: specify a default value in a CActiveForm control

This evening I’ve been working again on my measurement system. This is a little application I wrote using the Yii framework to keep track of the energy needs of our household. It keeps track of the gas, water and eletricity usage per day. As said the site is build using the Yii framework. It features […]