A boilerplate for developing large scale ArcGIS API for JavaScript Applications