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
550
Objetos en Javascript (Bueno Coffeescript)
Benito Serna
May 24, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
340
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
200
What We Can Learn From OSS
inouehi
0
420
雑に思考を整理する技術と効能
konifar
60
29k
Ruby Pattern Matching
bkuhlmann
0
930
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
340
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
290
新宿ダンジョンを可視化してみた
satoshi7190
2
260
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
950
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Being A Developer After 40
akosma
57
580k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Faster Mobile Websites
deanohume
299
30k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
A Modern Web Designer's Workflow
chriscoyier
689
190k
YesSQL, Process and Tooling at Scale
rocio
164
13k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Embracing the Ebb and Flow
colly
80
4.1k
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 :)