3. Thomas Lété Aloha's Performances What have been done ? - Switch the core to literal objects notation in core - Use Closure Compiler instead of YUI compressor to bundle javascript files - Load language files asynchronously - Improve coding standards (group var declarations, use jQuery's chaining) to reduce javascript footprint
5. Thomas Lété Aloha's Performances What have to be done ? Remove ExtJS dependency ExtJS : 630Kb jQuery UI : 250Kb 2,5 times smaller
6. Thomas Lété Aloha's Performances What have to be done ? Merge images into a sprite and to the css Define a standard way for plugins to store their ressources (images, css, js) : - Images to « images/ » - CSS to « css/ » - Javacript to « js/ »
7. Thomas Lété Aloha's Performances What have to be done ? Switch plugins to literal objects notation and improve coding standards of plugins - More performant - Smaller when compressed Example : http://jsperf.com/closures-vs-prototypes
8. Thomas Lété Aloha's Performances What have to be done ? Add i18n files directly to the core instead of loading them with ajax The more you have plugins, the more dict files are loaded... At least, bundle them to one file.
9. Thomas Lété Aloha's Performances What have to be done ? Consider switching to a more powerful build language Benjamin did a great job, let's improve it !
10. Thomas Lété Aloha's Performances What have to be done ? Move more core components to plugins The aim is to provide a basic Aloha core, and build the components you want at will - Link repo is not already used, so plugin - UI too - Other ideas ?
11. Thomas Lété Aloha's Performances And this is done. Thank you ! Twitter : @taoma_k Github : github.com/bistory