Unfortunately I think PHP and I are going to part company. A few weeks ago I decided to try out Django and Python, I’ve never coded in Python before and I’d seen a few performance benchmarks around the place showing some amazing stats for pythons speed. Anyone that knows me, knows that I have a firm belief that if you start with something slow at the lowest level then its only going to get exponentially worse each layer above.
3 weeks in and I’m dumbfounded that at how far I’ve come, what I’ve been able to build with almost no knowledge of the language. Compared to PHP, Python is beautiful to use. You can do so much with so little code. Everything is an object so OOP isn’t optional. Building up an application can be incredibly quick as there are tons of amazing modules that add instant functionality. Unlike the vast majority of PHP projects, code seems to be much higher quality with all the modules I’ve used having extensive tests packaged with them.
Django seems very solid. The automatic admin system is one of my favourite features of Django. It’s nice to have fun coding again, and Python and Django are certainly making it fun. Maybe if I get some time at a later date I’ll rip out wordpress and roll my own blog or possibly put Mezzanine through its paces.