Use the PHP require() and include() functions. This will allow you to build entire apps in a third-party IDE instead of using the minimal built-in plugin editor.