This is a boilerplate where I wrote for a lot of my projects, ranging from mobile app to website for the past few years. The base is Dojotoolkits, the rest is my custom structures and I hacked it so that it's friendlier, more usable and scalable.