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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Matt Helm
May 30, 2013
Programming
110
0
Share
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
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
110
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.2k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
720
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
490
CSC307 Lecture 17
javiergs
PRO
0
310
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.4k
Inside Stream API
skrb
1
640
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.4k
The NotImplementedError Problem in Ruby
koic
1
570
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
190
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
110
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
530
HDC tutorial
michielstock
2
690
The SEO Collaboration Effect
kristinabergwall1
1
470
Ethics towards AI in product and experience design
skipperchong
2
300
Building AI with AI
inesmontani
PRO
1
1.1k
Code Review Best Practice
trishagee
74
20k
RailsConf 2023
tenderlove
30
1.5k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
220
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
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