Instead of an explaination here is a sample of what our javascript directory and naming schemes should look like. Note: >filename's should match the final part of the namespace and should be => PascalCased names inbetween are lowercase and methods, variables etc are camelCased. > -Gideon 6th May 2013 Scripts lancet asset def modules picklist populations PopulationGrid.js Ext.define(lancet.modules.populations.PopulationGrid) {//this should only pertain to UI controls. alias : 'widget.populationgrid' } PopulationConstants.js PopulationModel.js StepModel.js dataentry reports admin user activitydashboard etc constants UrlConstants.js ModuleConstants.js ExceptionConstants.js ..... ext external InputMask.js //(these are external plugins or scripts we use. Say, found on the internet)\ Ext.ux.InputMask //we keep the namespace with a ux { } ux