I just finished reading Clean Code: A handbook of agile software craftsmanship, by Robert C. Martin. It’s a highly regarded book and contains many useful ideas; I have started refactoring some aspects of Tuskfish based on things I learned from it. This will include improving names, shortening and splitting up some of the larger functions into smaller logical units, replacing magic numbers with named constants and so on.
It feels strange to criticise PHP after developing a substantial (for me) project in it. Obviously I like the language and the recent performance improvements have given it a significant boost. But there are a few things that grate on the nerves and make me wonder about its long term future. Here are some of them, presented in no particular order.
I almost forgot to say, welcome to the Tuskfish CMS Project. It started as a personal project that I created to solve a number of problems I was having at work revolving around ever-increasing maintenance overheads and ever-decreasing free time. I needed a robust and flexible but low-maintenance solution for web publishing, and here it is. Kinda growing...