Abstract
This post discusses my experience as a first-timer with Aria Template, what type of challenges I faced, and the lessons I learned that the reader could benefit from.You may have already known about the robust and awesome way of having templates using Aria Template. If not, check out this short guide here. It indeed looks fancy, sounds like it can help you a great deal but it comes with some warnings.
MIME Types
Most web servers nowadays don't just serve all types of files when requested through a URL. Only the ones that they are configured to serve. Aria template files are saved with .tpl extension, and it also loads one of its internal file with .cml extension in the bootstrap code so you will have to configure your web server software (IIS, apache, nginx etc) to allow those extensions as text/html.Template Path confusion
Aria turns what you provide in classpath into a relative path to your .tpl file. In my experience, I had thought the following classpath would represent /home/userarea/Profilesnapshot.tpl{{Template classpath:'home.userarea.Profilesnapshot' }}
But it was actually looking for the said tpl file in /js/home/userarea/Profilesnapshot.tpl where 'js' is same directory where area templates JS file was included from.
Also, the last part of the classpath (in this case Profilesnapshot) should have the first letter upper case (same goes for the template file name).