MobileFirst Platform Foundation ( 旧 Worklight) ハイブリッド アプリケーション開発セミナー概要 2015 年 4 月 21 日日本 IBM( 株 ) 日本 IBM システムズ エンジニアリング ( 株 ) 2015 IBM Corporation
MobileFirst Platform におけるマルチ OS 対応開発の選択肢 2015 IBM Corporation 2
マルチ OS 対応開発の選択肢 Native Cordova Xamarin (Swift) 2015 IBM Corporation 3
IBM MobileFirst SDK for Xamarin Xamarin component store から使用可能 IBM MobileFirst Platform Foundation の SDK を使うことで Xamarin 開発者は C# 言語を使用して ios や Android 向けのリッチなネイティブ エンタープライズ グレードなモバイル アプリを構築できるようになる https://components.xamarin.com /view/ibm-worklight Xamarin Studio 統合されたサービス セキュリティ認証インテグレーション通知 Note : この機能はIBM MobileFirst Platform Foundation product の一部としては利用できません Xamarin component store でのみ利用可能です アプリ管理 アナリティック 2015 IBM Corporation 4
Worklight SDK for Xamarin-Studio Integration Worklight コンポーネントを Xamarin Studio に導入 Worklight のサーバー サイド モジュールを作成し Worklight CLI を利用してデプロイ 5 Xamarinによって アプリはC# で開発 アプリからWorklight API を利用可能 デバイスのネイティブ機能にアクセスする拡張ライブラリーやクライアントAPIを利用可能 アプリをビルドし Worklightにデプロイ 2015 IBM Corporation 5
Apache Cordova とは Hybrid アプリ (HTML,JS,CSS を使って開発したモバイルアプリ ) を開発するためのプラットフォーム WebView と Native 間の仲介層を提供し Native 機能の利用を容易にするための Plugin インタフェースなどを提供している 2015 年 4 月現在で 最新バージョンは 4.0.0 サポートするプラットフォーム : Android, ios, Windows Phone 8, Windows, BlackBerry, Firefox OS など 基本操作はコマンドラインから実施 $ cordova create myapp $ cd myapp $ cordova platform add ios $ cordova build ios $ cordova run ios Plugin の検索 Plugins Registry (over 900 plugins) $ cordova plugin search bar code com.phonegap.plugins.barcodescanner - You can use the BarcodeScann サポート状況 : http://cordova.apache.org/docs/en/4.0.0/guide_support_index.md.html#platform%20support 2015 IBM Corporation 6
MobileFirst Platform におけるハイブリッド開発の特徴 2015 IBM Corporation 7
ハイブリッドアプリでネイティブのカスタマイズ性 柔軟性を最大化 New OS によるアプリ起動 Custom native code new Worklight 初期化 Custom native code new Cordova 初期化 Custom native code new ネイティブ画面表示 Web 画面表示 ネイティブ画面表示 複数のポイントで実行可能 Worklight はデフォルトとしてユーザーからネイティブにカスタマイズできるように定義 異なる処理に複数のポイントで実行可能 ネイティブ画面と HTML 画面は タブやナビゲーション コントローラーなど 親ページにも子ページにもなれる リサイズやカスタマイズが容易に可能 アクションやデータを交互に送れる 2015 IBM Corporation 8
ハイブリッド開発の卓越した柔軟性 同じアプリの中で ネイティブと Web コードの完全に自由な混在が可能 同じ画面中のネイティブと Web コンポーネント ボタン タイトルとアイコンを含んだネイティブ ヘッダー Web コンポーネントを含んだ WebView ネイティブのスクロールするティッカー 2015 IBM Corporation 9
MobileFirst Platform におけるハイブリッド開発のテスト 品質向上 2015 IBM Corporation 10
モバイル機能テストツール Test Workbench 同じ操作を繰り返すことなく 簡単にテストを自動化! モバイルアプリ打鍵テスト自動化 モバイルデバイス上での打鍵テストを記録しデバイス上のテストの自動化を実現 記録したテストの 順や データを GUI から編集可能 画 ショット付きのテスト結果を 動出 ネイティブとハイブリッドアプリケーションのテストをサポート Android と ios で動作 3 Step で自動テストが可能に! 1. テスト実施 & 記録 2. テスト編集 3. テスト実 ( 繰返し可 ) モバイル アプリケーションの品質向上 テスト工数の削減 2015 IBM Corporation 11
IBM MobileFirst Platform Quality Assurance 開発のあらゆる段階で入手したエンドユーザーからのフィードバックや 品質メトリクスと断片化された環境全体のモバイルアプリの品質を提供します エビデンスに基づいた優先順位付け モバイル戦略とユーザー体験において ビジネスと IT のコラレーションをもたらします Over the air (OTA) アプリ配布 最新版の利 可能になった最新版のアプリを すぐテスターの手けます 競合しないバグ報告 最新のテストを絶え間なく い ビルドを手間なく最適化します アプリのクラッシュ レポート なぜアプリが異常終了したのか を早期に発 します センチメント分析 炎上してしまう前に 実用的なフィードバックを抽出するために アプリ評価ビューを分析します 2015 IBM Corporation 12
MobileFirst Platform におけるハイブリッド開発のセキュリティ 2015 IBM Corporation 13
MFP が提供するセキュリティー機能の範囲 MFP では アプリケーション レベルのセキュリティーと管理を提供 モバイルアプリ デバイス MEAP (MFP) MDM (MaaS360) セキュリティーオフラインキャッシュの暗号化アプリケーションの改ざん防止認証 / シングルサインオンセキュリティー構成管理端末画面ロックデータ消去 ( ワイプ ) 改造検出 管理自動更新利用制限アプリケーション管理デバイス状態の管理端末インベントリー位置情報取得端末構成 注 ) デバイスのセキュリティーと管理は別途 MDM 製品の適用が前提 2015 IBM Corporation 14
MFP との関係 MaaS360 MFP MAM(Mobile Applicaiton Management) MDM(Mobile Device Management) デバイス管理 MDM サーバー 端末登録 リモートワイプ プロファイル管理 アプリ配布 / 管理 Root 化 /Jailbreak 検知 動作記録 etc. デバイス単位では対応できない! モバイル OS アプリ管理 アプリ登録 リモートワイプ プロファイル管理 アプリ配布 / 管理 Root 化 /Jailbreak 検知 動作記録 etc. MCM(Mobile Content Management) コンテンツ管理 生成 / 保管 更新 / 削除 アクセス制御 etc. 2015 IBM Corporation 15
まとめ マルチ OS 開発の選択肢として Apache Cordova と Xamarin が用意されています この後のセッションでは Apache Cordova を中心としたハイブリッド開発に言及します ハイブリッド開発では ネイティブとハイブリッドを混在させるミックス開発が可能です そのため既存のネイティブアプリの移行が容易です さらにハイブリッドアプリを開発した後の テスト自動化やフィードバック管理 バグ報告 などのツール MDM との連携等セキュリティーの機能がとても充実しています 2015 IBM Corporation 16
Copyright IBM Corporation 2012. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others. 2015 IBM Corporation 17
2015 年 4 月 21 日日本アイ ビー エム株式会社クラウド ソフトウェア事業部 2015 IBM Corporation 18
3 つの質問 : 良いモバイル アプリ の条件は? 何がモバイル アプリを 悪く するのか? 悪いモバイル アプリは お客様のビジネスにどんな負担 ( コスト ) を与えるでしょうか? 19 19 2015 IBM Corporation 2015 IBM Corporation19
Finding the answers: Forrester 調査 : What makes a mobile app good? 北アメリカと英国インドの 1,000 ユーザー What makes it bad? What does a bad app really cost our clients businesses? 北アメリカと英国インドの200 ビジネスとIT 責任者 20 20 2015 IBM Corporation 20
What we learned: Good mobile apps enable Mobile Moments* * As defined by Forrester in the book, The Mobile Mind Shift 21 2015 IBM Corporation 21 2015 IBM Corporation 21
First, you think you know what your customers want, but you probably don t. 22 2015 IBM Corporation 22 2015 IBM Corporation 22
即時にトランザクション的な目的のサービスを提供 ( コンテキストが重要 ) 1 4 in クイックにいつでも使えて クラッシュしない( パフォーマンス ルール!) レスポンス タイム 安定性や性能を犠牲にせずに安全 ( セキュリティーとパフォーマンス ) 23 2014 IBM Corporation 23 2015 IBM Corporation 23
コンシューマー : モバイル アプリで最も有効な機能は何ですか? 1 4 in アプリが期待通りに動かなかったら 使うのを止めてしまうか別のアプリを利 する 24 2014 IBM Corporation 24 2015 IBM Corporation 24
Good App の良さ 1 4 in 25 2014 IBM Corporation 25 2015 IBM Corporation 25
正しいアプリを得られなかったコストは? 消費者はタッチポイントで悪い体験をすると決定的に反応 従業員 1 4 in 26 2014 IBM Corporation 26 2015 IBM Corporation 26
良いモバイル アプリから得られる利益は顕著 1 4 in 27 2014 IBM Corporation 27 2015 IBM Corporation 27
悪いモバイル アプリのネガティブ インパクト 企業が負うリスクは コストの 2 倍 1 4 in 28 2014 IBM Corporation 28 2015 IBM Corporation 28
まとめ モバイル アプリ利 は増加 ユーザーはどこでも " モバイル ムーブメント を作っている 1 4 in コンシューマー向けアプリを提供している企業にとって モバイルアプリは利益の機会とブランドのエンゲージメントが増加 従業員モバイルアプリでは最初からビジネス上の利益が得られている 企業にとっては 堅牢で安定し目的にあったアプリを作ることができる正しいモバイル基盤に投資すべき時です 29 2014 IBM Corporation 29 2015 IBM Corporation 29
Questions? 30 2015 IBM Corporation 30