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
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Batman Loves Rails
Intro to using Batman.js with Rails. Presented at the Vancouver Ruby Meetup.
Matt Helm
May 30, 2013
More Decks by Matt Helm
See All by Matt Helm
How We Scale At Shopify
matthelm
2
370
StatsD At Shopify
matthelm
1
230
Tips and Tricks -- Ruby, Coffeescript, and GitHub
matthelm
0
160
Other Decks in Programming
See All in Programming
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
300
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
「人を評価する AI」の設計と実装
ryoyanara
0
180
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
110
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
180
yield再入門 #phpcon
o0h
PRO
0
1k
Cloudflare is Agents
chimame
0
150
Google Apps Script で Ruby を動かす
kawahara
0
140
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
200
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
100
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
150
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
Featured
See All Featured
Making Projects Easy
brettharned
120
6.7k
Everyday Curiosity
cassininazir
0
270
Technical Leadership for Architectural Decision Making
baasie
3
470
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
210
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
Designing for humans not robots
tammielis
254
26k
Tell your own story through comics
letsgokoyo
1
1k
A Tale of Four Properties
chriscoyier
163
24k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.7k
A designer walks into a library…
pauljervisheath
211
24k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
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