Your SlideShare is downloading. ×
  • Like
Aloha talk about Performances
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Aloha talk about Performances

  • 580 views
Published

Slides of the Aloha's first devCon in Vienna. …

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

Published in Technology , Art & Photos
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
580
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Thomas Lété Aloha's Performances Aloha's performances
  • 2. Thomas Lété Aloha's Performances What have been done ?
  • 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. Thomas Lété Aloha's Performances What have to be done ?
  • 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