Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Objetos en Javascript (Bueno Coffeescript)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Benito Serna
May 24, 2012
Programming
620
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Objetos en Javascript (Bueno Coffeescript)
Benito Serna
May 24, 2012
Other Decks in Programming
See All in Programming
AmebaブログはKMPから卒業します
kmars0605
0
190
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
ChromeでローカルLLM
ryu1013
0
140
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
golang-bob.pdf
iwatsukayura
0
130
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
210
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Building AI with AI
inesmontani
PRO
1
1.3k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
What's in a price? How to price your products and services
michaelherold
247
13k
Rails Girls Zürich Keynote
gr2m
96
14k
Transcript
Objetos en Javascript (Bueno Coffeescript) Benito Serna Innku Un Ejemplo
de
Visita ...
¿Porque no usar simplemente Rails?
No necesito persistencia! Compartir el estado entre el navegador y
el servidor, sería mucho mas complicado!!!
Ahora sí, a lo que viniste!!
Nada Nuevo :) Dividir el código, por lo menos, en
Modelos Y Vistas
Una Vista no, es toda la pantalla. Crear una vista
Para cada elemento Que valga la pena
Y los ejemplos, primo?
QuoteIndexView ProductQuoteItemView
None
None
ProductQuoteDetailsView
None
ProductQuoteFormView
None
None
Las vistas son responsables de • Inicializar Eventos • Render
Templates Por ahora la unica manera forma en que he hecho test a vistas es por medio de capybara. Si alguien tiene una forma de hacer UnitTest digame, por favor :)
Los Modelos son Responsables de la Lógica.
You better test your models
Usa Jasmine
None
Para hacer Test a Modelos
None
None
Creo que el punto ha sido explicado :)
Esta practica, fue tomada de experimentar con Backbone.js y Spine.js
Realmente recomiendo probar estos framewoks (son muy similares). Recomiendo tambien probar Ember.js Y que luego me expliquen :)
Muito Obrigado :)