Small notes on CouchDB's views

I’ve been wrestling with a couple views in CouchDB currently. This blog post serves as mental note to myself, and hopefully to others. As I write this, i’m using 0.9.1 and 0.10.0 in a production setup. Here’s the environment: Amazon AWS L Instance (ami-eef61587) Ubuntu 9.04 (Jaunty) CouchDB 0.9.1 and 0.10.0 database size: 199.8 GB documents: 157408793 On to the tips These are some small pointers which I gathered by reading different sources (wiki, mailing list, IRC, blog posts, Jan …)....

October 21, 2009 · 4 min

A case for PEAR and PHP4 (Or, why BC is important!)

Every once in someone likes to argue that PEAR is all fugly PHP4 code and why you should not use it, and instead go and use another framework or component library. Most of those people also say that they looked at or used PEAR x years ago and then act all surprised when someone else disagrees. In related (BC) news, most people probably read my blog because of Zend Framework, and I remember that one of the reasons I sold my clients on Zend Framework was a supposedly backward compatibility and clean API....

September 22, 2009 · 5 min

PHP in schnell

Sorry, this is all in German. Or at least Germenglish. ;-) The slides are not rocket science and show a basic introduction to “faster PHP”. Things to do, things to avoid, some autoloading and a little on “shared nothing” in the end. There are some speaker-notes included (link) to make the slides more valuable for those who couldn’t make it. Hier die Folien zu meinem Vortrag “PHP in schnell” bei der PHP Usergroup in Berlin im September 2009....

September 3, 2009 · 1 min

Subversion dumps

This week, we just had it. The current provider we pay to host our subversion repositories is just unbearable, and so we decided to move (on) to [Unfuddle][3]. Our reason to move to Unfuddle is that they offer everything we need (and more, e.g. Git), at a pretty good price. I also heard Unfuddle a 100 times when I shopped for a recommendation. And on top of all the features, they also kick butt at support and for example offered to import our repositories right away....

July 18, 2009 · 2 min

Nginx+PHP+FastCGI: Testing your web application with bleeding edge PHP

So, every once in a while I find myself in need of trying out newer, maybe, not-yet-released features in PHP. For example, recently, I wanted to test RoundCube PHP6 — this is how I did it. On a side note, the same setup would also work for testing code with previous versions of PHP. Toolbox I used nginx and the PHP source with a little bit of ./configure and make — for kicks!...

July 5, 2009 · 2 min