Skip to content

Johno the Coder Posts

Setting up Private Packagist & BitBucket or GitHub

Hi all This is a really quick tutorial, because frustratingly I couldn’t find one that offered me this quick guide that had an integrated approach to doing this. I’m going to mostly cover the bits that I had to learn myself through Googling etc. in the hope that you won’t have to waste hours on Stack Overflow and so on trying to figure out how to get it working. I’ve used composer a million times, but always as a consumer, not as a publisher. Least of all as a publisher on private packages. This tutorial makes a couple of assumptions:…

1 Comment

Some quick translations, OO PHP to C#

So a recent project has facilitated me brushing up on my C# – so I thought I would share some basic translations of things that can be frustrating when you know the usual programming principles (object orientated programming), but not all the syntax. A quick couple of points to note: C# is a strictly typed language, that means you have to know about what your variables are going to be, and yes, you have to declare them somewhere sensible Accessing methods and properties within your class does not require usage of $this – you’re talking about true scope of variables…

Leave a Comment

How to build a terrible API

Hi everyone As you may know, throughout my career I’ve ended up doing a lot of integration development. Middleware, APIs, all that kind of stuff. So I thought I would write a quick list of the things you should definitely do to make your API really terrible for other developers to use, so that they put their heads through their desks trying to integrate with it. Judging from some of the APIs I’ve had the misfortune of integrating with, I thought this was worth writing, for anyone who is building an API. Obviously this post is humorous or satirical, if…

Leave a Comment

Tech Team Cancer

Hi guys I keep promising that I will be posting frequently, and then life happens. I will continue my posts and tutorials and trying to share and disseminate things I’m learning or have learned over the course of my career. I’m incredibly lucky, not only do I have my own experiences and exposures to draw upon when trying to make decisions, but I have a number of friends in development, from starting their careers right through to development managers and such. Of course, it would be unfair for me to take all of the credit for the things I’ve learned…

2 Comments