Archive for February, 2009

Extending Smoc – Check Box Groups, Search and Pagination

Friday, February 27th, 2009

In the prior version we just had the basics, automatic listings of all entries in a table, update/inster forms with text fields, text areas and drop downs through a single Doctrine relation (hasOne). Now we add check box groups which will manage multiple relations (hasMany) through an intermediary relation table, search and pagination of the search results. ... Read More

MODx multiple language site

Monday, February 23rd, 2009

Although it’s fairly easy to create a multi-lingual site with chunks and template variables alone it’s hardly ideal, to say the least. For most pages there will be a lot of unused template variables, the manager area will start to look like a mess. ... Read More

SONY VAIO AW11Z review

Friday, February 20th, 2009

Three weeks ago I bought the SONY VAIO AW11Z C2D 2.53 4GB/640 BD-RE 18.4#VHP. It’s not really a laptop, more like a portable (barely). Yes it’s big but still, the weight is only 3.9kg.... Read More

Smarty + Doctrine = Smoc

Wednesday, February 18th, 2009

Update: Since the below piece was written I’ve ported the little framework to H2O instead, H2O is a cleaner alternative to Smarty.... Read More

Simple Doctrine model to MySQL script

Monday, February 16th, 2009

I’m a bit rusty, after scouring the Doctrine manual for the import functions I found a script of my own that I totally had forgotten:... Read More

Compiz Fusion – finally working

Sunday, February 15th, 2009

Using Intrepid and the newest Nvidia drivers (version no. 180), Compiz Fusion finally works, so does TwinView. What a massive relief, finally!... Read More

Being Linux admin – setting up virtual servers and Samba

Tuesday, February 10th, 2009

I’m now programming casino and poker related sites in Malta. First of all, the in house CMS solution we use for our sites is tightly connected to the use of virtual servers in Apache. So first up was trying to implement that without using some admin tool like Plesk or cPanel.... Read More