PHP

PHP and Web Services – essential reading

An old web service implemented in PHP have been giving me some headache the last couple of days. Especially interoperability with clients implemented in other languages (like .NET) are troublesome. It seems to me that PHP is very forgiving. Which is good – sometimes – but not always. PHP let you get away with a [...]

PHP

Inspiration time

I stopped working as an employee to work both on my own projects and as a freelancing consultant almost two years ago. This last year has been more like a roller coaster than anything else before. From spending very little time on my own projects while working as an independent contractor on debt collection systems [...]

PHP, Personal

Site architecture based on Zend Framework

After working on the Swedish weather site klart.se for awhile I now work on my own projects again. So I have switched Codeigniter to Zend Framework again.
After a trip to Dublin I finally launched the beginning of a new social tourist Dublin guide. It is exactly the same site as both the Swedish Fuengirola guide [...]

PHP

Problem with downloading files with Internet Explorer over HTTPS

This behaviour has bitten me before. Yesterday I was asked to resolve the issue again. And as my memory is short I was again forced to search the web for a solution. The solution is simple – but also stupid.
The problem is that Internet Explorer does not handle file dowloads without caching over https very [...]

PHP

Weather, photo sharing and PHP

I have been working on some really fun PHP projects with some really cool people the last six months. This has kept me busy both day and night so, naturally, blogging have not been a major priority. After creating a new Spanish photo sharing site fotos.es which took a few months we started on a [...]

PHP, Personal

Zend Framework – file input labels are not translated

I hade some time over and updated one of my own projects to Zend Framework 1.8.1. Apart from a change in the auto loader API everything went smooth. But I was a bit annoyed to find out that a simple translation bug still was unfixed. As my project is going live soon I need that [...]

PHP

Zend Framework and locales

Last night I spent a couple of hours with Zend Framework and especially Zend_Form. I discovered, and now also reported as ZF-6175, a bug in Zend_Validate_Float when using a locale with a decimal point other than “.”. There are unit tests but none that test Zend_Validate_Float under a different locale.
It is important to know that [...]

PHP

Ye olde English is dead

There are probably as many solutions to creating SEO friendly urls as there are actual implementations. After real work yesterday I started looking at the rather simple method based on the PHP built in strtr() we use. It’s very simple and apart from some uppercase, lowercase and utf8 juggling the (very shortened) basis is something [...]

PHP, Web

Company, work and conferences

As mentioned earlier I moved with my family from Sweden to Spain for awhile. To complicate things further me and my girlfriend Malin created a new company called Dotvoid AB focusing on web sites and applications based on PHP. (So expect things to change around here in 2009 – though no timeplan or schedule exists). [...]

PHP, Personal, Web

I have moved

I have been away from blogging awhile. Life has been really busy lately and I have sold my house and moved, with my family, to Fuengirola in Spain. Hopefully now that daily life is again back to normal I’ll blog a bit more. Maybe I’ll talk a bit more about daemons, asynchronous I/O and CodeIgniter [...]

PHP, Personal