Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preloading Ext JS & custom JavaScript files at application boot time

I'm creating an intranet application, the UI of which premoninently uses Ext JS 4.1.1

I have created several custom javascript classes extending Ext JS controls and other code for UI, validation, communication, etc.

Given that my code is not very huge and that my application will be deployed in a controlled & well known environment I'd ideally like to load all .js files upfront at the time of application invokation (boot). I'd like to know an approach to achieve this, mostly from within the relm of Ext JS.

like image 272
Kabeer Avatar asked Dec 31 '25 20:12

Kabeer


1 Answers

What you want to do is something really usual. Take a look at the deployment section to know how to use the Sencha SDK to create one file containing all your custom javascript classes which extend extjs component here

I hope it is useful ;)

like image 177
lontivero Avatar answered Jan 03 '26 11:01

lontivero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!