Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ui for Angular haters by @escusado
Search
gdljs
February 17, 2016
0
100
Ui for Angular haters by @escusado
Slides de la plática Ui for Angular haters by @escusado
Del 26 de Enero de 2016 en GDLJS
gdljs
February 17, 2016
Tweet
Share
More Decks by gdljs
See All by gdljs
Construyendo la mejor experiencia de pagos en línea by @IvanChukitow
gdljs
0
67
Testabilidad en Javascript by @codingpains
gdljs
0
29
Desarrollo de aplicaciones con react native by @charliesbox
gdljs
0
120
¿Debería usar la librería de moda en mi proyecto? by @siedrix
gdljs
0
120
Agile Gamification by @chukitow
gdljs
0
42
Por qué hicimos nuestro propio NodeJS framework by @sgarza
gdljs
0
29
¿Cómo empezar a programar? by @amicavi
gdljs
0
84
Concurrencia y Paralelismo en Javascript by @eatcodetravel
gdljs
0
490
Caldo de Kafka para Node by @albertain
gdljs
0
70
Featured
See All Featured
A Philosophy of Restraint
colly
197
16k
BBQ
matthewcrist
80
8.8k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
The Mythical Team-Month
searls
216
42k
Producing Creativity
orderedlist
PRO
337
39k
Agile that works and the tools we love
rasmusluckow
325
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Optimizing for Happiness
mojombo
370
69k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
For a Future-Friendly Web
brad_frost
172
9k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Transcript
None
None
None
None
None
| COMPLEXITY + PROBLEM SOLUTION MAXIMUM ACCEPTABLE CODE NIRVANA CODE
HELL WE ARE HERE
None
None
| COMPLEXITY + PROBLEM SOLUTION
...
None
None
None
None
None
None
HOME
None
None
LET’S GO BACK TO SIMPLER TIMES
| COMPLEXITY + PROBLEM SOLUTION
None
None
None
None
DEALING WITH TREES
USE SIMPLE UNTIL IT GETS COMPLEX
FRAMEWORK APOCALYPSE
None
None
| COMPLEXITY + PROBLEM SOLUTION
@azendal
The problem: How does the minimum ui component looks like?
None
None
None
None
None
None
A proposal
Widget
A library to define Ui components. [it’s just a class]
Havely Based on Neon/Widget by @azendal
None
class Button extends NanoWidget { } .element [.name] .render(targetEl, beforeEl)
.bind(‘event’, handler()) .unbind(‘event’, handler()) .dispatch(‘event’, {data}) .appendChild(<child>) .removeChild(<child>) [.children] [.parent] .activate() .deactivate() .enable() .disable() [.active] [.disabled] .destroy()
this.appendChild(new Header({ name: ‘header’, class : ‘home-color’ }); [...] app.header.menu.activate();
Build on top of it
; github.com/escusado/nano-widget @escusado