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
From Rails to Node.js + Backbone: The Rewrite o...
Search
Hsiao-Ting Yu
May 18, 2013
Technology
2
210
From Rails to Node.js + Backbone: The Rewrite of TouchLimit
JSDC.tw 2013 Lightning Talks.
Hsiao-Ting Yu
May 18, 2013
Tweet
Share
More Decks by Hsiao-Ting Yu
See All by Hsiao-Ting Yu
有人用了更頭大: OpenStreetMap 的社群營運挑戰
littlebtc
0
75
COSCUP 17 Lightning Talk
littlebtc
0
190
[COSCUP 2014] Take Back the Map to People: When OpenStreetMap Meets Taiwan Social Issues
littlebtc
0
230
[SOTM.TW 2013] The mapping status of bus lines in Taiwan
littlebtc
0
220
(Mobile) App and Open Source: Kamigami Client on Various Platforms
littlebtc
0
470
Mobile Web Issues: Limitation and Experience
littlebtc
1
280
Other Decks in Technology
See All in Technology
実践マルチモーダル検索!
shibuiwilliam
2
490
【SORACOM UG Explorer 2025】さらなる10年へ ~ SORACOM MVC 発表
soracom
PRO
0
190
可観測性は開発環境から、開発環境にもオブザーバビリティ導入のススメ
layerx
PRO
4
2.4k
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
1.9k
AWS re:Invent 2025事前勉強会資料 / AWS re:Invent 2025 pre study meetup
kinunori
0
930
AIを使ってテストを楽にする
kworkdev
PRO
0
370
AIエージェントによる業務効率化への飽くなき挑戦-AWS上の実開発事例から学んだ効果、現実そしてギャップ-
nasuvitz
5
1.5k
InsightX 会社説明資料/ Company deck
insightx
0
150
設計に疎いエンジニアでも始めやすいアーキテクチャドキュメント
phaya72
19
14k
20251029_Cursor Meetup Tokyo #02_MK_「あなたのAI、私のシェル」 - プロンプトインジェクションによるエージェントのハイジャック
mk0721
PRO
6
2.2k
アノテーション作業書作成のGood Practice
cierpa0905
PRO
1
340
CLIPでマルチモーダル画像検索 →とても良い
wm3
2
690
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
940
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
190
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Statistics for Hackers
jakevdp
799
220k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Being A Developer After 40
akosma
91
590k
Visualization
eitanlees
150
16k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Transcript
從 Rails 到 Node + Backbone: TouchLimit 砍掉重練之路 Littlebtc /
笨笨的⼩小B
http://www.briareus.tw/ -> My Job
http://moztw.org/ -> I contributed to
http://zh-tw.twitch.tv/kevin51202 Jubeat 台灣全國⼤大會決賽
TouchLimit 紀錄、分析成績的⼯工具
None
2011: Rails + Resque MongoDB + Redis
遊戲⼀一年改版⼀一次
砍掉重練 MongoDB 不盡理想 Rails 有點肥 Rails Web MongoDB Redis Resque
worker
PostgreSQL 猛 Node.js 潮 “AJAX” rocks PostgreSQL Redis 砍掉重練 Node.js
Express Node.js Kue Backbone.js medicalwei -> littlebtc
分開開發 做好合起來
克服萬難
World of async -> Chain the promises! when(initializeWork({ "id": id,
...} )) .then(getPreviousRecord) .then(getBasicData) .then(getMusicData) .then(handleData, handleError) littlebtc
PostgreSQL Array -> pg 9.2 有 JSON,硬幹 littlebtc
iconv -> JSDOM 遇到 SHIFT-JIS 和 CP932 不⼀一樣的問題 爛了⼀一個星期才發現 orz
littlebtc
樂曲會不定時增減 需要對應⽅方式 littlebtc
⽇日本 VPS 1G Mem worker: iconv + JSDOM 佔⽤用太多 Memory
worker express Server Load 不重,所以還 OK V8 GC 未妥善設定可能是主因
Backbone 很強⼤大 但也很難寫 medicalwei
RWD: 聽起來很美好 做起來累死你 medicalwei
Android 和 iOS 瀏覽器有超多 Bug medicalwei
None
None
http://touchlim.it/ :)