Programming

Howto add CSRF protection with PHP

Date: 04/24.2012 21:04 EEST

CSRF attacks are something I've never seen myself, but sometimes you wonder if they could be used to cause serious harm in your application. Today I decided to add CSRF protection, and publish it for the benefit of the community.

Refactoring graphs

Date: 07/30.2010 21:07 EEST

Is refactoring easy to spot? According to graphs drawn from commit logs for the framework my blog is based, it is.

Thoughts on Rewriting

Date: 04/02.2010 23:04 EEST

There are so many projects out there being rewritten from scratch, you'd think it's a good idea. I think it's not.

Data URIs

Date: 02/11.2010 17:02 EET

The data URIs allow inlining linked documents. Recent experiences show that the benefit they offer is limited.

Eliminating unnecessary database queries

Date: 11/12.2008 21:11 EET

Avoiding unnecessary optimizations and providing functionality fast, application developers can end up with code that works OK most of the times, but given a special case, can cause serious performance problems. Mine is the case of our CMS, and the way it handled hierarchical page list.

Plugins for web applications

Date: 08/24.2008 00:08 EEST

Adding intrusive customer-specific features to a web application means often a lot of work for maintaining the customized version of the application. This cost can be avoided by clever plugin system, which encapsulates the custom features and behaviour, thus leaving the codebase clean of modifications.

Vim help

Date: 05/11.2008 16:05 EEST

Helpful Vim stuff for my convenience.

Template Toolkit 2 or 3

Date: 10/05.2007 14:10 EEST

Template Toolkit's new site almost convinces me to go back to writing websites with Perl and TT.

PowerPoint conversion

Date: 07/28.2007 09:07 EEST

Creating PowerPoint presentations is tricky but manageable.

Say no to XHTML

Date: 12/29.2006 12:12 EET

Spartanicus has an insightfull story about XHTML and it's uselessness at the moment. Some of the information he provides about browser compatibility a...

Categories

39
2
43
8
Programming:
46
16