Your SlideShare is downloading. ×
0
Thomas Lété Aloha's Performances Aloha's performances
Thomas Lété Aloha's Performances What have been done ?
Thomas Lété Aloha's Performances What have been done ? - Switch the core to literal objects notation in core - Use Closure...
Thomas Lété Aloha's Performances What have to be done ?
Thomas Lété Aloha's Performances What have to be done ? Remove ExtJS dependency ExtJS :  630Kb jQuery UI :  250Kb 2,5 time...
Thomas Lété Aloha's Performances What have to be done ? Merge images into a sprite and to the css Define a standard way fo...
Thomas Lété Aloha's Performances What have to be done ? Switch plugins to literal objects notation and improve coding stan...
Thomas Lété Aloha's Performances What have to be done ? Add i18n files directly to the core instead of loading them with a...
Thomas Lété Aloha's Performances What have to be done ? Consider switching to a more powerful build language  Benjamin did...
Thomas Lété Aloha's Performances What have to be done ? Move more core components to plugins The aim is to provide a basic...
Thomas Lété Aloha's Performances And this is done. Thank you ! Twitter :  @taoma_k Github :  github.com/bistory
Upcoming SlideShare
Loading in...5
×

Aloha talk about Performances

603

Published on

Slides of the Aloha's first devCon in Vienna.
Talk about Performances of the editor.

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
603
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Aloha talk about Performances"

  1. 1. Thomas Lété Aloha's Performances Aloha's performances
  2. 2. Thomas Lété Aloha's Performances What have been done ?
  3. 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
  4. 4. Thomas Lété Aloha's Performances What have to be done ?
  5. 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. 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. 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. 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. 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. 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. 11. Thomas Lété Aloha's Performances And this is done. Thank you ! Twitter : @taoma_k Github : github.com/bistory
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×