02 May 2016
From the Forum — Issue #121
Welcome to the latest installment of From the Forum. In this series, guest blogger Alex Jackson highlights outstanding threads from the Corona Forum. The goal is to bring attention to the most captivating, interesting, and thought-provoking discussions taking place in our very own backyard.
Please visit the forum to join these conversations or start your own!
Server advice from those in the know
Getting started with your server implementation is always a heady business. Which configuration to choose, how to connect through, and which protocol would be ideal are all considerations that you need to take into account.
If you’re new to the scene or just looking to get some pointers, Corona Developer Relations specialist Rob Miracle has got you covered. Responding to an inquiry for some tips on where to get started on a server solution, Rob dropped some knowledge about the best options for Corona developers without much programming experience under their belt. Click through to the original thread to clue yourself into his suggestions!
A leg up for databases
So you read the post above, and you’re excited about diving into the wild world of server maintenance. You’re primed and focused on squeezing the absolute most out of your server implementation, but there’s just one problem: all you have is a solid base in PHP.
Good thing Rob Miracle is here to give you another helping hand! In the thread below, Rob goes over some simple PHP logic, workflows, and best practices which can be invaluable when starting out on your server solution journey. Make sure you stick around for the rest of the thread, as Rob then posts some seriously useful pseudo-code demonstrating login logic from the server side. Head on down to the original thread to check out all of this fantastic insight and don’t forget to say thanks!
Loopy for loops
Ending our series of epiphanies today is a topic that is referenced often but not dissected and examined quite enough: loops. Lua pairs() and ipairs() are tossed around so often that we assume everyone knows how to use them as easily as you flip a pancake. However, while these calls are implemented in some of the most useful code snippets around, the concepts can be difficult to wrap your head around.
Cue two of the most knowledgeable Corona power users (Starcrunch and Rob Miracle) swooping into the fray with some in-depth answers on the subject. Click through to the original thread and prepare to get taken to school!
Alex Jackson is an indie developer and the founder of Panc Interactive, specializing in retro-style gaming. He has created several mobile applications, enjoys long walks on the beach, pixel art, and reading the Corona forums. Contact him by email or follow him on Twitter: @pancinteractive. Check out his new game Segreta on iOS, Android, Windows Phone and Amazon devices.