Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Getting Started with YUI3 and AlloyUI
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Eduardo Lundgren
December 20, 2013
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting Started with YUI3 and AlloyUI
Eduardo Lundgren
December 20, 2013
Transcript
105 slides
getting started with YUI3 and AlloyUI Front in BH, 2013
terça-feira, 6 de agosto de 13
@eduardolundgren terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jQuery jQueryUI YUI3 Liferay tracking.js AlloyUI jQuery Simulate nodegh terça-feira,
6 de agosto de 13
jquery.com (2006) terça-feira, 6 de agosto de 13
today we’re going to talk about server-agnostic JS frameworks terça-feira,
6 de agosto de 13
Events, Selection, DOM Manipulation, Animation, Ajax requests jquery.com terça-feira, 6
de agosto de 13
mootools.net terça-feira, 6 de agosto de 13
UI components twitter.github.io/bootstrap terça-feira, 6 de agosto de 13
jqueryui.com terça-feira, 6 de agosto de 13
Templates mustache.github.io terça-feira, 6 de agosto de 13
handlebarsjs.com terça-feira, 6 de agosto de 13
Module loader requirejs.org terça-feira, 6 de agosto de 13
headjs.com terça-feira, 6 de agosto de 13
MV* backbonejs.org terça-feira, 6 de agosto de 13
knockoutjs.com terça-feira, 6 de agosto de 13
angularjs.org terça-feira, 6 de agosto de 13
emberjs.com terça-feira, 6 de agosto de 13
Tests BDD TDD pivotal.github.io/jasmine terça-feira, 6 de agosto de 13
qunitjs.com terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
yuilibrary.com terça-feira, 6 de agosto de 13
YUI3 modules terça-feira, 6 de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
YUI = effects DOM ajax events ... MVC terça-feira, 6
de agosto de 13
yuilibrary.com/yui/docs/guides terça-feira, 6 de agosto de 13
yuilibrary.com/yui/docs/dial/dial-interactive.html terça-feira, 6 de agosto de 13
yuilibrary.com/yui/docs/app/app-todo.html terça-feira, 6 de agosto de 13
yuilibrary.com/yui/docs/graphics/graphics-violin.html terça-feira, 6 de agosto de 13
YUI3 basics terça-feira, 6 de agosto de 13
$('.foo'); DOM traversal Y.all('.foo'); YUI3 jQuery terça-feira, 6 de agosto
de 13
$('#foo').html('bar'); DOM manipulation Y.one('#foo').setHTML('bar'); YUI3 jQuery terça-feira, 6 de agosto
de 13
$('#close-btn').on('click', function() { // do something }); events Y.one('#close-btn').on('click', function()
{ // do something }); YUI3 jQuery terça-feira, 6 de agosto de 13
$('#fade').animate({ opacity: 0, }, 5000); effects Y.one('#fade').transition({ duration: 1, opacity
: 0 }); YUI3 jQuery terça-feira, 6 de agosto de 13
$.ajax({ url: "api.json", success: function(data) { // do something }
}); ajax Y.io('api.json', { on: { success: function(data) { // do something } } }); YUI3 jQuery terça-feira, 6 de agosto de 13
alloyui.com/rosetta-stone terça-feira, 6 de agosto de 13
YUI3 loading terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
“Optimize the front-end performance first, because 80% of the user
response time is spent there.” - Steve Souders, Engineer at Google terça-feira, 6 de agosto de 13
without YUI... terça-feira, 6 de agosto de 13
<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> ... ... terça-feira, 6 de agosto de 13
performance-- maintainability-- terça-feira, 6 de agosto de 13
blocks render terça-feira, 6 de agosto de 13
with YUI... terça-feira, 6 de agosto de 13
one <script> terça-feira, 6 de agosto de 13
seed file <script src="http://yui.yahooapis.com/ 3.9.1/build/yui/yui-min.js"></script> <~26KB> terça-feira, 6 de agosto
de 13
seed file <script src="http://yui.yahooapis.com/ 3.9.1/build/yui/yui-min.js"></script> <~26KB> terça-feira, 6 de agosto
de 13
everything else asynchronous combo-loaded from CDN terça-feira, 6 de agosto
de 13
sandbox YUI().use('module-name', function (Y) { // code goes here });
terça-feira, 6 de agosto de 13
why asynchronous? terça-feira, 6 de agosto de 13
non-blocking http requests terça-feira, 6 de agosto de 13
load on demand terça-feira, 6 de agosto de 13
why combo-loaded? terça-feira, 6 de agosto de 13
yuilibrary.com/yui/configurator terça-feira, 6 de agosto de 13
loader +combo terça-feira, 6 de agosto de 13
why load from a CDN? terça-feira, 6 de agosto de
13
geographically closer terça-feira, 6 de agosto de 13
YUI gallery terça-feira, 6 de agosto de 13
yuilibrary.com/gallery terça-feira, 6 de agosto de 13
your code on Yahoo’s CDN terça-feira, 6 de agosto de
13
github.com/yui/yui3-gallery terça-feira, 6 de agosto de 13
available to anyone terça-feira, 6 de agosto de 13
just use() YUI().use('gallery-audio', function (Y) { // code goes here
}); terça-feira, 6 de agosto de 13
mzl.la/OEbuQH terça-feira, 6 de agosto de 13
AlloyUI terça-feira, 6 de agosto de 13
@natecavanaugh terça-feira, 6 de agosto de 13
created on 2009 terça-feira, 6 de agosto de 13
alloyui.com terça-feira, 6 de agosto de 13
built on top of YUI3 terça-feira, 6 de agosto de
13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
AlloyUI = calendar tabs buttons carousel ... audio terça-feira, 6
de agosto de 13
terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
what we wanted: char counter terça-feira, 6 de agosto de
13
#twitter-box #myTextarea #myCounter terça-feira, 6 de agosto de 13
#twitter-box #myTextarea #myCounter terça-feira, 6 de agosto de 13
#twitter-box #myTextarea #myCounter terça-feira, 6 de agosto de 13
#twitter-box #myTextarea #myCounter terça-feira, 6 de agosto de 13
alloyui.com/examples/char-counter/real-world terça-feira, 6 de agosto de 13
what we wanted: schedule terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
alloyui.com/examples/scheduler terça-feira, 6 de agosto de 13
what we wanted: a better way to express ideas terça-feira,
6 de agosto de 13
* drag and drop UI * flexible API * support
all browsers * no flash (HTML5) terça-feira, 6 de agosto de 13
alloyui.com/examples/diagram-builder terça-feira, 6 de agosto de 13
terça-feira, 6 de agosto de 13
obrigado :) terça-feira, 6 de agosto de 13
More Decks by Eduardo Lundgren
See All by Eduardo Lundgren
WeDeploy
eduardolundgren
0
98
Introducing Liferay Standalone Applications
eduardolundgren
3
570
Single Page Applications in Liferay
eduardolundgren
5
2.6k
Single Page Applications done right
eduardolundgren
10
830
tracking.js with Maira Bello
eduardolundgren
0
150
Single Page Application
eduardolundgren
0
460
Getting started with AlloyUI
eduardolundgren
0
120
Augmented Reality.js
eduardolundgren
0
200
Liferay UI revolution
eduardolundgren
0
220
Other Decks in Technology
See All in Technology
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
110
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
220
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
200
gradle-best-practices 使ってみた
mikanichinose
0
230
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
210
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
130
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
120
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.2k
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
140
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
330
From vibe coding to reliable (agentic) development
jcabot
0
250
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
We Are The Robots
honzajavorek
0
460
Discover your Explorer Soul
emna__ayadi
2
1.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360
Navigating Weather and Climate Data
rabernat
0
600
Code Reviewing Like a Champion
maltzj
529
40k
Evolving SEO for Evolving Search Engines
ryanjones
0
370
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
600
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
610