mercredi 15 avril 2015

Ext.Microloader example for a simple Ext.form.TextField

We are evaluating Sencha for a large project, and one of the primary concerns that is preventing us from purchasing Sencha is a concern around load speed. Specifically, the time it takes to load the ext-all.js file is the biggest bottleneck. We are considering dropping ExtJs and using an alternative based upon this concern, but we have hope that we can solve this problem.



I see in some of the online demos that use of Ext.Microloader to bring in only the pieces of the ExtJs library that you need. I am unable to find much information about how to use this outside of Sencha Cmd. I should note that we are not using the Sencha Architect, or the application structure that Sencha uses. We are simply embedding an Ext.form.TextFieldinto a simple HTML form at this point. We do not want to use Sencha Cmd or Sencha Architect at this juncture, and have had good success using ExtJs with the exception for the load speed.



My question is, can anyone provide the absolute simplest example of using the Ext.Microloader to load only what is required for a simple HTML page that uses just a Ext.form.TextField?





Ext.Microloader example for a simple Ext.form.TextField

Aucun commentaire:

Enregistrer un commentaire