Decision Time: PHP Framework Dilemma

My freelance business has grown, and reached a critical decision point for my future development. I’ve been puzzling over this for a while – why not puzzle it out in public!?

I need to pick a PHP framework. Or maybe not pick one. But my dilemma is a kind of unusual. I’d love the opinions of other experienced PHP devs! But hear me out, my situation is a bit unique.

Continue reading “Decision Time: PHP Framework Dilemma”

Migrating Mercurial Repos To Git

In August 2019, BitBucket – a popular cloud source code hosting and project management service run by Atlassian – announced that it was dropping support for Mercurial repositories. Mercurial is a distributed source control management tool similar to, but less popular than Git.

This move isn’t surprising. Mercurial has lost the popularity war with Git and BitBucket claims that less than 1% of new repositories on their service use Mercurial. The surprising thing is that BitBucket announced that they are deleting Mercurial repositories from their service as of June 2020. Leaving developers and companies who use Mercurial with less than one year to migrate.

This move by BitBucket seems inevitable, but the timeline and hard-deletion that BitBucket is giving their loyal customers seems harsh. For me, I have around 25 projects that need to be migrated.

Here’s how to do so, in a few easy steps!

Continue reading “Migrating Mercurial Repos To Git”

Multiple Apps on One Server With Mod-Rewrite

For small companies and freelance or solo developers, hosting can be an expense which adds up over time to a hefty bill. Whether you have several VPSes or shared-hosting accounts, it makes little sense to have multiple small, experimental, or low-traffic sites on their own servers. You could serve them from multiple subdomains or subdirectories, but yuck! Domains are cheap and I like the polish of having something on it’s own domain once it’s public.

Continue reading “Multiple Apps on One Server With Mod-Rewrite”

The State Of PHP Today

You may have heard a few rumors going around…

“PHP is just a scripting language.”

“It’s only used by beginners.”

“PHP always ends up as spaghetti code.”

“PHP is insecure.”

“Only the smartest, sexiest people use PHP.”

Ok, maybe that last one was me… but hear me out! Much like the old stereotype of “only nerds play video games”, PHP definitely earned a few unflattering labels many years ago. Times have changed and developers in the know tell a very different story. Just like all the cool kids now play Fortnite (do they? I don’t know), PHP is nearly unrecognisable from its days as the scripting language ‘Personal Home Page’.

Continue reading “The State Of PHP Today”