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
競馬で学ぶ機械学習の基本と実践 / Machine Learning with Horse Racing
shoheimitani
0
510
Honoを技術選定したAI要件定義プラットフォームAcsimでの意思決定
codenote
0
130
AI POSにおけるLLM Observability基盤の導入 ― サイバーエージェントDXインターン成果報告
hekuchan
0
470
ビルドプロセスをデバッグしよう!
yt8492
0
290
自動テストを活かすためのテスト分析・テスト設計の進め方/JaSST25 Shikoku
goyoki
2
560
オフライン対応!Flutterアプリに全文検索エンジンを実装する @FlutterKaigi2025
itsmedreamwalker
1
150
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
8
4.9k
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
140
2026年向け会社紹介資料
misu
0
150
Verilator + Rust + gRPC と Efinix の RISC-V でAIアクセラレータをAIで作ってる話 RTLを語る会(18) 2025/11/08
ryuz88
0
340
FlutterKaigi 2025 システム裏側
yumnumm
0
740
Nitro v3
kazupon
2
250
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Bash Introduction
62gerente
615
210k
Site-Speed That Sticks
csswizardry
13
960
Thoughts on Productivity
jonyablonski
73
4.9k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Facilitating Awesome Meetings
lara
57
6.6k
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