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
Batman Loves Rails
Search
Matt Helm
May 30, 2013
Programming
0
110
Batman Loves Rails
Intro to using Batman.js with Rails. Presented at the Vancouver Ruby Meetup.
Matt Helm
May 30, 2013
Tweet
Share
More Decks by Matt Helm
See All by Matt Helm
How We Scale At Shopify
matthelm
2
370
StatsD At Shopify
matthelm
1
220
Tips and Tricks -- Ruby, Coffeescript, and GitHub
matthelm
0
150
Other Decks in Programming
See All in Programming
アセットのコンパイルについて
ojun9
0
130
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
230
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.3k
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
240
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
530
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
240
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
600
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
1.7k
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
280
Vue・React マルチプロダクト開発を支える Vite
andpad
0
110
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
860
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Making Projects Easy
brettharned
117
6.4k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Transcript
#BUNBO3BJMT
None
None
None
None
DPGGFF DPOWFOUJPOT CJOEJOHT SFTU
DPGGFF SVCZcDMBTTFTcBTTFUT
class Shopify.ProductsController extends Batman.Controller index: (params) -> @set ‘products’, Shopify.Product.get(‘all’)
show: (params) -> @set ‘product’, Shopify.Product.find(params.id)
DPOWFOUJPO GPMEFSTcTJNQMFc4IPQJGZ
FYQFSJFODFcEFTJHOFST CJOEJOHT
<ul data-addclass-loading=”products.loading”> <li data-foreach-product=”products” data-bind=”product.name”> </li> </ul>
QFSTJTUFODFcBTTPDJBUJPOT SFTU
p = Shopify.Product.new(name: ‘snowboard’) p.set(‘price’, ‘99.95’) p.save()
None
gem 'batman-rails' bundle install rails generate batman:app
CBUNBOKTPSH
BATMAN.JS ."55)&-. !NBUUIFMN