I'm assuming I should be using the autoloader or something along those lines for this, but I'm being tempted to just make gross PHP and do includes.
What's the best method of splitting up a fairly large API into multiple files so it's easier to work with?
Specifically, I'd like to have my config(DB setup, etc.), models, functions for preparing DB results(controllers? Not sure in Micro), and API routes all separated out with subfolders/subfiles for each.
What's the best practice in Phalcon for doing this?