Archive for February, 2008

Working with other people’s code

Thursday, February 28th, 2008

Yesterday I had to make some changes in VirtueMart for Joomla 1.0.13. This codebase can be a little confusing sometimes. Believe it or not but this was the first time in my PHP-coding career that I felt the need to be able to simply dump all declared variables, not just the globals in $_REQUEST and so on. Perhaps a testament to how little time I’ve spent working on other people’s code, it’s not much.... Read More

Writing a CMS/Community with Smarty and the Zend Framework: Part 10

Wednesday, February 27th, 2008

As some of you know, I’ve got other things to do at the moment. The cms/community project is iced. Therefore I’ve created a Google project out of it.... Read More

The worst PHP code in the world

Monday, February 25th, 2008

[4:16:18 PM] HS says: btw i managed to install the affiliate thing on my laptop and the data looks ok but i cant use it, i cant login in the admin backend, it just reloads the login screen without any error messages or anything, do you know if the admin backend is finished?... Read More

No more bloated and inconsequential lists please

Saturday, February 23rd, 2008

Why oh why do people make lists like this, it seems like our dear Reinhold just had to cram 40 things in there. ... Read More

Making BigDump like mysqldump

Friday, February 22nd, 2008

Update: See Alexey’s comment at the bottom, it seems like I missed reading some important info at the top of the bigdump file.... Read More

New look!

Wednesday, February 20th, 2008

I just updated the layout, I think it’s much cleaner and nicer now. Loads faster too :) Anyway, hope you like it!... Read More

Registration form with Merb and Datamapper

Tuesday, February 19th, 2008

This tutorial is an example of a typical registration form with Datamapper and Merb, we have:
- Unique username and email.
- Password confirm check.
- Terms and conditions agreement.
- And some more custom stuff implemented such as birthdate from year, month and day dropdowns.... Read More

Grid edit in place with jQuery and Ajax

Wednesday, February 13th, 2008

Update: There is a new much simpler series using jQuery/Ajax to create a grid-like CRUD interface, if the below is too much that one is a much better place to start.... Read More

Why PHP as a templating language sucks

Tuesday, February 5th, 2008

I frequently read articles about why any template system made with PHP is per definition redundant because PHP is itself such a good templating engine. This is my take on this whole rant-genre.... Read More

WP Hashcash

Monday, February 4th, 2008

I’ve had problems with clever spam getting past Akismet ever since I started this blog. It’s annoying to say the least, I have no idea whether it’s humans or software posting but I’ve now installed WP Hashcash by Elliott B├Ąck to stop the bots. It employs a different tactic than your normal captcha:... Read More