PHP philosophy, and bundling SQLite
24th June 2003
Here’s a great quote from Rasmus Lerdorf (the creator of PHP) for people who have become disheartened with PHP’s lack of elegance when compared to other languages such as Python:
PHP has never been just a scripting engine with some cool add-ons. PHP has always been the solution to the Web problem with even more bonus add-ons. And as I have said so many times, PHP is not about purity in CS principles or architecture, it is about solving the ugly web problem with an admittedly ugly, but extremely functional and convenient solution. If you are looking for purity you are in the wrong boat. Get out now before you get hit by a wet cat!
I’ve seen this point of view a few times before, but I’ve never seen it summarised in quite such a concise way. For me, it brings a lot of common PHP development issues in to perspective.
Incidentally, Rasmus’ comment comes as part of a thread about the bundling of the full SQLite database engine with PHP5. I’ve talked about SQLite before: it’s a remarkably powerful (and fast) relational database engine designed for embedding in other applications. See Sterling’s blog for more links relating to the conversation.
More recent articles
- My AI/LLM predictions for the next 1, 3 and 6 years, for Oxide and Friends - 10th January 2025
- Weeknotes: Starting 2025 a little slow - 4th January 2025
- I still don't think companies serve you ads based on spying through your microphone - 2nd January 2025