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
Alloy - Introduction of Titanium MVC Framework
Search
Ryutaro Miyashita
October 31, 2012
Technology
6
1.3k
Alloy - Introduction of Titanium MVC Framework
Titanium Mobile "MokuMoku" Meetup #2 Lighting Talk (2012/10/31)
Ryutaro Miyashita
October 31, 2012
Tweet
Share
More Decks by Ryutaro Miyashita
See All by Ryutaro Miyashita
Java で書かれた Android アプリを Kotlin で書き直すまでの話 / Talk of rewrite Android app for Java to Kotlin
ryugoo
0
1.6k
開発 4 年目のアプリへの Kotlin 導入
ryugoo
0
410
チーム開発と Android アプリの構成
ryugoo
5
1.2k
開発 4 年目のアプリへの Kotlin 導入
ryugoo
1
2.6k
Either で想定内のエラーと想定外のエラーを別ものにしたい!
ryugoo
2
1.6k
全て S になる -RxJava と LWS を持ち込む楽しさ-
ryugoo
4
720
Transition at RxJava 1.x to 2.x
ryugoo
0
520
Kotlin さんと誕生日が近いだけの男の話
ryugoo
2
500
Android エンジニアになって 2 年の学び
ryugoo
1
2.6k
Other Decks in Technology
See All in Technology
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
7.7k
コロプラのオンボーディングを採用から語りたい
colopl
5
1.3k
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
860
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
Formal Development of Operating Systems in Rust
riru
1
420
今年一年で頑張ること / What I will do my best this year
pauli
1
220
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
月間60万ユーザーを抱える 個人開発サービス「Walica」の 技術スタック変遷
miyachin
1
140
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
55k
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
160
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
160
dbtを中心にして組織のアジリティとガバナンスのトレードオンを考えてみた
gappy50
0
290
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Code Reviewing Like a Champion
maltzj
521
39k
Why Our Code Smells
bkeepers
PRO
335
57k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Done Done
chrislema
182
16k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Building Your Own Lightsaber
phodgson
104
6.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
How STYLIGHT went responsive
nonsquared
96
5.3k
Transcript
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP "MMPZ "MMPZ Titanium MVC Framework Introduction of
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP éĕđ éĕđ Ryutaro Miyashita ryugoo_ ryutaro.miyashita
imthinker.net 5JUBOJVN.PCJMFϢʔβʔձॻه
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ˇɬ ˇɬ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP Üĕćð Üĕćð JavaScript.call(Titanium API) Called “Titanium Classic”
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ÜĕÔĒ ÜĕÔĒ Alloy(JavaScript.call(Titanium API)) JavaScript.call(Titanium API) +
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ËĖÍ ËĖÍ ϩδοΫͱݟͨͱσʔλॲཧͷ ίʔυ͕ΰνϟΰνϟͯͯ͠ΠϠΠϠ ϕετϓϥΫςΟεͷܹ͍͠ҠΓมΘΓ 5JJODMVEFͩͬͨΓ$PNNPO+4ͩͬͨΓʜ+44 ͋Γ·͚ͨͬ͠ ͏;;ɻ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP "QQDFMFSBUPS 0DJBM.7$ 'SBNFXPSL "QQDFMFSBUPS 0DJBM.7$ 'SBNFXPSL ËĖÍ ËĖÍ
ϩδοΫ $ JavaScript ݟͨ 7 XML + TSS σʔλॲཧ . Backbone.js େৎ"QQDFMFSBUPSͷ.7$ϑϨʔϜϫʔΫͩΑ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ʔèԨŒŤ¦ ʔèԨŒŤ¦ ڞ௨ཁૉ·ͱΊͨΓ*%$MBTTׂΓͯͨΓ "Window": { backgroundColor: "#FFFFFF" }
<Alloy> <Window> <Label id="a" /> </Window> </Alloy> ݟͨ9.-Ͱ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ŬķłĮIJŲŇŬ¦Ũ¦ ŬķłĮIJŲŇŬ¦Ũ¦ ݟ͍ͨͬͨ͡ΓɺΠϕϯτॲཧ͠·͢ $.index.on("open", function (e) { $.a.title
= "Window is open!"; }); τοϓϨϕϧ6* ˣ Πϕϯτϋϯυϥ ˣ *% ˢ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ņ¦ľ͎ՓšņŪ ņ¦ľ͎ՓšņŪ σʔλϕʔεͱ͔1SPQFSUJFTͷ͓ࣄ var app = Alloy.createModel("user"); app.set({
username: "Foobar", password: "Hoge" }); app.get("username"); // -> Foobar app.save(); VTFSϞσϧΛΦʔϓϯ ˢ ˡϞσϧʹσʔλΛηοτ ˡอଘ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP "QQT%FNP "QQT%FNP վΊͯ(JU)VCͰίʔυΛެ։༧ఆͰ͢
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP òÏ˶Ï òÏ˶Ï Titanium Studio 3.0 (for User)ɹ
৽نϓϩδΣΫτͷςϯϓϨʔτ͔Β Node.js + npm (for ਓபPro)ɹ TVEPOQNJOTUBMMHUJUBOJVN TVEPOQNJOTUBMMHBMMPZ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ͜Μͳײ͡
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ˶ÑĔ ˶ÑĔ ˕ TSS͕ͱͬͯศར(´∀ʆ) ˚ ͪΐͬͱ͚ͩ໘͍͘͞(´Дʆ) ʷ Backbone.jsͷࣝඞཁ(‘A`)
ίʔσΟϯάϧʔϧͷ౷ҰԽͱ͍͏ϙΠϯτ ݸਓͷײͰ͢ɻޮՌΛอূ͢ΔͷͰ͋Γ·ͤΜɻ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP íćēø íćēø औѻʹ׳Ε͕ඞཁͰ͢ ׳ΕΔͱͦͦ͜͜ΩϨΠͳߏʹͳΓ·͢ Adobe Flex Ϣʔβऔ͖͍͔ͬͭ͢ ࠓ·Ͱͷํ๏͕ඇਪનʹͳΔΘ͚Ͱ͋Γ·ͤΜ
͔ͩΒօͰਓபʹͳΖ͏ ใڞ༗ϑΟʔυόοΫ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP ͰӰøòÜ ͰӰøòÜ (JU)VCͷ3FBENFඞಡ ϦϙδτϦʹςετ͋ΔΑ IUUQTHJUIVCDPNBQQDFMFSBUPSBMMPZ 2VJDL4UBSUඞಡ IUUQQSPKFDUTBQQDFMFSBUPSDPNBMMPZEPDT"MMPZCPPUTUSBQ #BDLCPOFKT
#BDLCPOF&WFOU#BDLCPOF.PEFM IUUQCBDLCPOFKTPSH ެࣜυΩϡϝϯτΛΕͪΌ͍͚ͳ͍ IUUQEPDTBQQDFMFSBUPSDPNUJUBOJVNBQJ"MMPZ
5JUBOJVN4UVEZ.FFUJOH5PLZP 5JUBOJVN4UVEZ.FFUJOH5PLZP $0%&4530/( $0%&4530/(