Brutally Roll Your Own LAMP Back End

A few years back, I wrote a back end json service for a Delphi application using PHP. The advantage of using PHP was that it could be hosted anywhere that PHP and MySQL / MariaDB were available, opening up the possibility of using cheap shared hosting. This particular application however, required access to google API’s which used a white-list of server IP addresses as a security feature. This meant putting the application on a dedicated server. Times change, the google services that I’d used no longer exist, they were replaced by newer technology and thus this app will no longer function.

Several of my blog readers however, praised the video series. Occasionally I would take a wrong path during development, and then reverse that mistake out, and I edited the videos such that anyone watching would not have to waste time following such mistakes. Otherwise however, these videos were a recording of every key press during the development, as I narrate my own thought process while writing the code. This it seems, was appreciated. I have recently been focusing new attention on my now much neglected blog, and have been slowly reviewing old pages and posts. I have decided to preserve this video series here.

As with all code that I wrote years ago, I look back slightly embarrassed that I used to write code that way, and I expect many of you have had similar experiences looking back at your own earlier code. This is just the nature of programming, we never stop learning, and we are most critical of ourselves. The code here, as I’ve said above, will also no longer work due to API changes. The sources and scripts are no longer available. Still, hopefully if you decide to follow along with me, there will be something to learn, or at least some entertainment in picking fault with what I wrote.

As a side note – My Linode referral link is still valid. If you have need of dedicated hosting services, and use my link, you’d be, as the young ones say, “doing me a solid.” The kickback will help to pay my hosting costs for this blog and other related projects, thanks!



Leave a Comment