Brutally Roll Your Own Backend – Part 2


Brutally Roll Your Own is a video series on building a PUSH enabled mobile application from scratch, using a Linux, Apache, MySQL, PHP (LAMP) server for the back end, and Delphi for the mobile app. This is part-2, where we’ll set up our LAMP stack and I’ll introduce you to ‘BROLLY‘ the script that can set up the LAMP server for you.

Sign up with linode here

Sign up for Linode by clicking here!

If you select linode to host your back end, as I suggest in part 2 of this video series, please consider signing up through my referral link above. I host my servers (including this site) on linode, and this will help pay the bills! If you already have an account, you can enter this referral code: fb41cc68526abce4ffa14bfd797d5c4cc684f192  Your support is appreciated!

[Listing of all parts]

Print Friendly, PDF & Email

8 thoughts on “Brutally Roll Your Own Backend – Part 2”

    • Actually, I restored it a while back…

      chmod +x brollyinit.bash

      However, I’ve not tested or maintained it in a very long time because I replaced it…

      chmod +x brolly
      (* wait for installation to complete *)

      The replacement is written in pascal using freepascal and I’m not yet ready to share the code.
      I’ll also caution the usual – not responsible for damages caused by it’s use or misuse – because it’s really an unsupported experiment.
      The new version has a bug which makes it a bit slower than the original, but it also has more functionality. f.x. I added an LDAP configuration which it uses as an authentication system for a subversion server. It’s really been developed for my own needs over time, more so than a product or anything of that nature.
      Enjoy at own risk 🙂

  1. Hello Craig, any feedback regarding my earlier query?
    I know it’s down to the Delphi portion running on a PC and the RESTDebugger as my application running on an Android and the dashboard/web front end I wrote all work fine….along with your code example if compiled on the Delphi XE7 I have and it’s RESTDebugger application which I’m now using in the 10.3.1 IDE Tools.
    Thanks, Regards – Larry

  2. Hello Craig, I’ve really enjoyed this series of videos you posted. I learned loads and followed your presentation easily.
    I have a problem however and can’t find the answer on the net. I use Delphi 10.3.1, it’s RESTDebugger POST command does not seen to work, using techniques I learned watching your series a POST is received buy the server as a GET. This also happens when running your admin program in Windows. I dug out an old laptop of mine which has XE7 installed and your admin program and it’s RESTDebugger work!!. Any ideas. Thanks, Regards Larry.

    • Good Timing.
      I was using the RESTDebugger from 10.2 this morning for a POST call on a live stream and that was working, so this must be new to 10.3
      I’ve just run this past some others that may be able to test it.

Leave a Comment