Comments? You can comment on this post on my Mastodon post for "It's All About The Data" ... What should I use? Objects. There are two reasons. An obvious reason - and then the actual reason that is more subtle - and is the best reason to use objects (pretty much everywhere). Objects use less memory If you …
Read MoreComments? You can comment on this post on my Mastodon post for "It's All About The Data" ... and arrays aren't great for data In my career so far (now over 20 years programming sites with PHP - half of that with Symfony), I've worked on a number of projects that dealt with a great deal of data - a couple of …
Read MoreHaving just watched Sebastian Bergmann's "The State of PHPUnit" presentation from Fosdem 2015, I was inspired to install and test a project of mine with the latest stable PHPUnit - v4.7. It was easily installed on the command line. composer global require "phpunit/phpunit" I installed it as a new, …
Read MoreCapistrano, makes deployment of code easy. If you need to do a number of additional steps as well, then the fact that they can be scripted and run automatically is a huge win. If you've only got a single machine (or maybe two), then you could certainly write your own quite simple, and entirely workable system - I …
Read MoreI've read http://www.svn-checkout.co.uk/2008/01/19/how-to-release-new-versions-of-websites/ via http://www.lornajane.net/posts/2008/SVN-Deployment-and-a-New-Site and while I consider revision control an essential tool (a few years ago, my job was the only one in the previous five years where I didn't have to install my …
Read More