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
- Gemini 2.0 Flash: An outstanding multi-modal LLM with a sci-fi streaming mode - 11th December 2024
- ChatGPT Canvas can make API requests now, but it's complicated - 10th December 2024
- I can now run a GPT-4 class model on my laptop - 9th December 2024