Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting started with YUI3 and AlloyUI

Getting started with YUI3 and AlloyUI

JAX Conference - Mainz, 2013

Zeno Rocha

April 25, 2013
Tweet

More Decks by Zeno Rocha

Other Decks in Programming

Transcript

  1. $.ajax({ url: "api.json", success: function(data) { // do something }

    }); ajax Y.io('api.json', { on: { success: function(data) { // do something } } }); YUI3 jQuery
  2. “Optimize the front-end performance first, because 80/90% of the user

    response time is spent there.” - Steve Souders, Engineer at Google
  3. <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/ 1.9.1/jquery.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/ 1.10.2/jquery-ui.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/ mustache.js/0.7.2/mustache.js"></script> <script

    src="//cdnjs.cloudflare.com/ajax/libs/ require.js/2.1.5/require.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/ 1.0.0-rc.2/ember-1.0.pre.js"></script> ... ...
  4. * drag and drop UI * flexible API * support

    all browsers * no flash (HTML5)
  5. taglibs <aui:input name="myField" > <aui:validator name="required" /> <aui:validator name="digits" />

    <aui:validator name="range" > [8,50] </aui:validator> </aui:input> Form Validation