javascript - Dymanic loading in Extjs4.1.0 -


i new extjs, have read in extjs 4 make use of dynamic loading of classes , didnt quiet concept. meant dynamic loading in extjs, mean load javascript files on demand. eg if have 10 different components (in card layout lets say) 1 has displayed on initial load, javascript file of rest of 9 components not loaded until components has displayed? tried pandora application (extjs 4 version) found loading javascript files browser upfront on initial load (even loaded javscript files components not been displayed). if case purpose dynamic loading solve ?

you got right. if read guides though says dynamic loading not meant used in production. meaning loading 1 file @ time not optimal, tremendously debugging code. other thing eliminates need list out of files 1 one in html of page going run app. dont have create script tags each class right - , believe me mvc app right lot of classes, each 1 in it's own file. do? recommended approach use sencha sdk build tool concatenate , minify of classes, turn off loader , include 1 file.

makes sense?


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -