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
Ruby for Mobile Development
Search
Aliaksandr Lomau
November 23, 2013
Technology
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby for Mobile Development
BRUG, Minsk, November, 2013
Aliaksandr Lomau
November 23, 2013
More Decks by Aliaksandr Lomau
See All by Aliaksandr Lomau
Fails Night
allomov
0
63
"Ya Ne Lochu Comp" Challenge.
allomov
1
100
Catch and Throw in Ruby
allomov
0
60
Mortal Rubizza
allomov
0
110
Рэмбовидная проблема: особенности развития открытых технологий
allomov
0
64
Vault-tec: Safest Future
allomov
0
280
Promises and Reality
allomov
1
66
Cloud Theory for Rubizza Classes
allomov
0
100
Антология деплоя
allomov
0
91
Other Decks in Technology
See All in Technology
NDIAS CTF 2026 問題解説会資料
bata_24
0
180
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
3.6k
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
150
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
170
20260702_生成AIはどこまで成長するのか_チャットだけじゃない世界
doradora09
PRO
0
110
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
3
3k
AI時代のエンジニアキャリアについて今一度考える
sakamoto_582
2
1.3k
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
4.1k
product engineering with qa
nealle
0
150
生成AIの活用/high_school2026
okana2ki
0
110
次世代ランサムウェア対策の考察 / 20260704 Mitsutoshi Matsuo
shift_evolve
PRO
5
1.7k
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
330
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Designing Powerful Visuals for Engaging Learning
tmiket
1
440
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Fireside Chat
paigeccino
42
4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
180
Transcript
RUBY MOBILE D E V E L O P M
E N T
Hello code1n allomov ALTOROS
TODAY I TALK ABOUT this presentation: http://speakerdeck.com/allomov
MOBILE APPLICATIONS TYPES WEB NATIVE HYBRID
WEB APPLICATIONS
WEB MOBILE APPLICATIONS
WEB MOBILE APPLICATIONS WEB NATIVE
WEB MOBILE APPLICATIONS - Offline mode support - WebStorage -
GeolocationAPI - CSS3 selectors - Media Queries
WEB MOBILE APPLICATIONS Limitations: WEB MOBILE APPLICATIONS - native UI
elemnets - WebStorage is limited - No accelerometer - No support gestures - Lack of Notifications - Background mode - and much more ...
WEB MOBILE APPLICATIONS ZURB FOUNDATION TWITTER BOOTSTRAP
HYBRID APPLICATIONS
HYBRID APPLICATIONS WEB VIEW APPLICATION LOGIC
HYBRID APPLICATIONS Phonegap Sencha Touch Calatrava Rhodes Ruby JavaScript
NATIVE APPLICATIONS
NATIVE APPLICATIONS
WHAT TO CHOOSE? NATIVE HYBRID WEB USER EXPERIENCE
NATIVE APPLICATIONS
MobiRuby Ruboto RubyMotion
Mob Rub
Mob Rub
Yukihiro "Matz" Matsumoto
- Subset of CRuby (without File, Socket) - Generational incremental
GC - AOT compilation into *.mrb bytecode - Can be converted to readable C code
- Mobile development kit on mruby - Opensource, MIT license
- Currently implemented only for iOS Mob Rub
Mob Rub has only one app in AppStore already
None
Charles Nutter
Rub Motio
Rub Motio Laurent Sansonetti
Strengths:
Strengths: - Ruby good is
Strengths: - Ruby good is - Community
Strengths: - Ruby good is - Community - iOS native
Strengths: - Ruby good is - Community - iOS native
- Test suites
Strengths: - Ruby good is - Community - iOS native
- Test suites - and more...
DARK SIDE
- most expensive DARK SIDE
- most expensive - not open source DARK SIDE
AppStore
HOW IT WAS? Objective-C Objective-C Runtime Foundation Framework iOS SDK
HOW IT IS? Objective-C Objective-C Runtime Foundation Framework iOS SDK
Rub Motio
Rub Motio Objective-C
# Ruby "Hello BRUG".class.ancestors => [String, Comparable, Object, Kernel, BasicObject]
# RubyMotion "Hello BRUG".class.ancestors => [String, NSMutableString, NSString, Comparable, NSObject, Kernel] OBJECTS
# RubyMotion NSObject == Object => true OBJECTS
# Objective-C [string drawAtPoint: point withFont: font] # RubyMotion string.drawAtPoint(point,
withFont: font) # using send string.send(:"drawAtPoint:withFont:", point, font) NAMED PARAMETERS
METAPROGRAMMING define_method method_missing send instance_eval (with block) const_get (or even
set)
REPL console
TDD RubyMotion integrates Bacon Bacon is small clone of the
popular RSpec it can simulate user behaviour on device
TOOLS
GEMS teacup bubble-wrap simpleview ib
BACKEND AS A SERVICE HELIOS
ASK QUESTIONS KEEP CALM AND