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
600
1
Share
Objetos en Javascript (Bueno Coffeescript)
Benito Serna
May 24, 2012
Other Decks in Programming
See All in Programming
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
320
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
3
240
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
430
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
2.9k
ふつうのFeature Flag実践入門
irof
7
3.4k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
360
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
230
OSもどきOS
arkw
0
380
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
310
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
67k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
310
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
Ruling the World: When Life Gets Gamed
codingconduct
0
240
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
540
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
370
The Invisible Side of Design
smashingmag
302
52k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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 :)