Luis Daniel Lucio Quiroz has made a nice little article that as well as handy for developers could help anyone doing customisation:
http://inside-out.xyz/technology/fusionpbx-application-anatomy-part-1.html
http://inside-out.xyz/technology/fusionpbx-application-anatomy-part-1.html