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
110
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
72
Testabilidad en Javascript by @codingpains
gdljs
0
35
Desarrollo de aplicaciones con react native by @charliesbox
gdljs
0
130
¿Debería usar la librería de moda en mi proyecto? by @siedrix
gdljs
0
130
Agile Gamification by @chukitow
gdljs
0
53
Por qué hicimos nuestro propio NodeJS framework by @sgarza
gdljs
0
34
¿Cómo empezar a programar? by @amicavi
gdljs
0
93
Concurrencia y Paralelismo en Javascript by @eatcodetravel
gdljs
0
580
Caldo de Kafka para Node by @albertain
gdljs
0
75
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
We Have a Design System, Now What?
morganepeng
53
7.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Six Lessons from altMBA
skipperchong
28
3.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Pragmatic Product Professional
lauravandoore
36
6.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Balancing Empowerment & Direction
lara
1
520
Writing Fast Ruby
sferik
628
62k
Unsuck your backbone
ammeep
671
58k
Become a Pro
speakerdeck
PRO
29
5.5k
How STYLIGHT went responsive
nonsquared
100
5.7k
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