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
Neon, or how I stopped hating the prototype and...
Search
chubas
September 05, 2012
Programming
1
120
Neon, or how I stopped hating the prototype and loved the class
For the Ruby GDL lightning talks on 5/9/12
chubas
September 05, 2012
Tweet
Share
More Decks by chubas
See All by chubas
Git, Github y Open Source
chubas
0
35
H/F Prodev - Peopleware > Software
chubas
0
99
Instaband - and the reactive model
chubas
0
35
Introducción a Ruby on Rails
chubas
1
170
Jengas & Legos: Rails as a stack of components
chubas
1
130
Other Decks in Programming
See All in Programming
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
390
Improving my own Ruby thereafter
sisshiki1969
1
160
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
410
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
7
1.1k
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
440
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
250
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
280
複雑なドメインに挑む.pdf
yukisakai1225
5
1.1k
RDoc meets YARD
okuramasafumi
4
170
ソフトウェアテスト徹底指南書の紹介
goyoki
1
150
rage against annotate_predecessor
junk0612
0
160
testingを眺める
matumoto
1
140
Featured
See All Featured
Fireside Chat
paigeccino
39
3.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Designing Experiences People Love
moore
142
24k
Automating Front-end Workflow
addyosmani
1370
200k
How GitHub (no longer) Works
holman
315
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
What's in a price? How to price your products and services
michaelherold
246
12k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Become a Pro
speakerdeck
PRO
29
5.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Site-Speed That Sticks
csswizardry
10
810
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Transcript
Ne 10 20.179 -245.90 -248.44 [He]2s22p6 0.90 Neon
Or how to stop hating the prototype and love the
class
The philosophy is that it should not try to emulate
other languages, so it preserves the JavaScript good parts, but with a nicer syntax to create classes that ensure interfaces and include reusable functionality as modules.
Class(Breezi.UI, 'Button').inherits(Breezi.Widget)({ ELEMENT_CLASS : 'ek-button', prototype : { label :
'button', init : function(config){ var button = this; Breezi.Widget.prototype.init.call(this, config); this.element.bind('click.button', function (e) { button.dispatch('click', { originalEvent : e }); }); } } });
Javascript for Rubyists Targeted to backend developers who struggle with
Javascript
Does not replace Javascript Just useful to wrap around your
mind, but you still have to learn Javascript. Just the good parts!
https://github.com/azendal/neon