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
37
H/F Prodev - Peopleware > Software
chubas
0
100
Instaband - and the reactive model
chubas
0
36
Introducción a Ruby on Rails
chubas
1
170
Jengas & Legos: Rails as a stack of components
chubas
1
140
Other Decks in Programming
See All in Programming
dchart: charts from deck markup
ajstarks
3
1k
CSC307 Lecture 08
javiergs
PRO
0
670
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
140
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
310
2026年 エンジニアリング自己学習法
yumechi
0
140
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
120
並行開発のためのコードレビュー
miyukiw
0
1.1k
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
440
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.5k
The browser strikes back
jonoalderson
0
400
A Tale of Four Properties
chriscoyier
162
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
55
Being A Developer After 40
akosma
91
590k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
We Are The Robots
honzajavorek
0
170
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
390
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
740
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
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