Today's blogpost
Wednesday, 7. November 2007, 08:51:05
I'm going to write there from now on, so update your RSS feeds. I will be posting links to my posts at codeutopia to this blog too, at least for a while.
Practical programming... and stuff...
Wednesday, 7. November 2007, 08:51:05
Different PHP template enginesSumming up Smarty and Zend View![]()
I received my HTC Touch Diamond from Opera earlier this week. It’s an interesting phone - and despite what people seem to say about Windows Mobile, it doesn’t seem to have any problems. I’m sure you can find lots of proper reviews of the device, so I’ll just mention a few things I found nice ...
Two weeks ago, I mentioned an easy way to create easily changeable ways for authenticating users. Continuing on that, I’ve been implementing ways to control user roles and user access for specific pages and modules in my CMS. Naturally, those features too are designed to be easily modifiable. An ...
The Doctrine library comes with a feature called nested set, which makes saving trees in a database easy. However, it’s quite easy to accidentally cause a lot of extra unneeded queries if not being careful. Here are some pointers to keep in mind while working with the nested set, and some example ...
When testing code which uses the database, you would usually want to make sure the database stays pristine for each test - All tables should be empty, as any extra data could interfere with the tests. You could probably write an extended Testcase class which automatically does this before each test ...
I’ve mentioned a CMS I’m working on in a couple of occaions. Lately, I’ve been tinkering with the user authentication part of it, and stumbled upon a small obstacle: How to make it easy to change authentication methods? Most of the time you probably would like to use a database to store your u ...