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
Objetos en Javascript (Bueno Coffeescript)
Search
Benito Serna
May 24, 2012
Programming
1
590
Objetos en Javascript (Bueno Coffeescript)
Benito Serna
May 24, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
MUSUBIXとは
nahisaho
0
130
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
160
CSC307 Lecture 02
javiergs
PRO
1
770
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
6.9k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
SourceGeneratorのススメ
htkym
0
190
ぼくの開発環境2026
yuzneri
0
120
Data-Centric Kaggle
isax1015
2
760
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
How STYLIGHT went responsive
nonsquared
100
6k
A designer walks into a library…
pauljervisheath
210
24k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
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 :)