狠狠撸

狠狠撸Share a Scribd company logo
Titanium
JavaScriptでネイティブアプリ
Titaniumユーザー会 八木都志郎 @yagi_
Titanium
? 478,101人の開発者が利用
? 145,539,021台の端末でTi製アプリが動作中
? 56,843個のアプリで開発に利用されている
2013/07/04 15:50
Zaim
サイボウズ
Live
チャットワーク
Titaniumとは?
? JavaScriptでネイティブアプリ
? iOS
? Android
? Tizen
? Mobile Web
? ???
アプリ开発?2つの选択肢
アプリ开発?2つの选択肢
? HTML5、ハイブリッド
? ネイティブ(Objective-C, 闯补惫补)
アプリ开発?2つの选択肢
? HTML5、ハイブリッド
? 簡単にクロスプラットフォーム対応
? 既存の知識を活かせる
? ネイティブ(Objective-C, 闯补惫补)
? プラットフォームの性能を全て引き出せる
? 最適なユーザー体験
アプリ开発?2つの选択肢
? HTML5、ハイブリッド
? ニセモノっぽい外観
? 端末の性能を引き出せない
? ネイティブ(Objective-C, 闯补惫补)
? クロスプラットフォーム対応は無理
? むずかしい
アプリ开発?2つの选択肢
? HTML5?ネイティブ(Objective-C, 闯补惫补)?
両方。そう、罢颈迟补苍颈耻尘ならね。
罢颈迟补苍颈耻尘のしくみ
罢颈迟补苍颈耻尘のしくみ
???
実際の例
var win = Ti.UI.createWindow({
backgroundColor: ‘#fff’,
title: ‘ホーム’
});
var label = Ti.UI.createLabel({
text: ‘こんにちは、こんにちは!’,
color: ‘#000’
});
win.add(label);
win.open();
実際の例
var win = Ti.UI.createWindow({
backgroundColor: ‘#fff’,
title: ‘ホーム’
});
var label = Ti.UI.createLabel({
text: ‘こんにちは、こんにちは!’,
color: ‘#000’
});
win.add(label);
win.open();
実際の例
var win = Ti.UI.createWindow({
backgroundColor: ‘#fff’,
title: ‘ホーム’
});
var label = Ti.UI.createLabel({
text: ‘こんにちは、こんにちは!’,
color: ‘#000’
});
win.add(label);
win.open();
罢颈迟补苍颈耻尘って何?
JavaScript、むずかしいよね…
いっぱい書くの、大変だし…
Alloy
? HTML / CSS / JavaScript でウェブページを作るよう
にアプリを作成できる
Alloy
<Alloy>
<Window class="container">
<Label id="label" onClick="doClick">Hello,
World</Label>
</Window>
</Alloy>
Alloy
".container": {
backgroundColor: "white"
},
"Label": {
width: Ti.UI.SIZE,
height: Ti.UI.SIZE,
color: "#000"
}
レイアウト情報をCSSのように記述
Alloy
function doClick(e) {
alert($.label.text);
}
$.index.open();
イベント発生時の動作をJavaScriptで記述
Alloy
function doClick(e) {
alert($.label.text);
}
$.index.open();
イベント発生時の動作をJavaScriptで記述
う、うん…ちょっとやってみようかな…
リソース
? 公式サイト
? http://www.appcelerator.com/
? ユーザー会
? http://titanium-mobile.jp/
? サポート(ボランティア)
? http://support.titanium-mobile.jp/
? Twitter
? http://twitter.com/TitaniumMobileJ
? #TitaniumJP
Titanium
? プラットフォーム
? 有償サポート
? Marketplace
? ACS
? Node.ACS
? Analytics
? 資格認定、教育
Marketplace
ACS
? Backend as a Service
? 500万API呼び出し / 月 まで無料
Introducing Lanica - Platino
OpenGL ES 2.0 Game Engine
http://lanica.co/
罢颈迟补苍颈耻尘って何?
罢颈迟补苍颈耻尘って何?
!
Windows 8対応
Currently we plan to release Window 8
support in the second half of this year for
both Windows RT and Windows Phone
platforms.
http://developer.appcelerator.com/blog/2013/01/titanium-support-plans-for-windows-8.html
ユーザー会
? 初心者向け講習(無料)開催
? 8/17 (土) 共催 クリーク&リバー社様
? メーリングリスト、ウェブサイト、公式ハッシュタグ
#TitaniumJPにて詳細をお知らせします
worth nothing…
罢颈迟补苍颈耻尘って何?

More Related Content

罢颈迟补苍颈耻尘って何?