食わず嫌いの為のSalesforce1 Platform入門
Mitsuhiro Okamoto

Tuesday, February 18, 14
Safe Harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of
intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we
operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new
releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization
and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This
documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of
our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based
upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forwardlooking statements.

Tuesday, February 18, 14
自己紹介
‣ 名前 : 岡本 充洋
‣ 所属 : 株式会社セールスフォース・ドットコム
‣ 経歴 : 元々はJavaEEエンジニア、今はマーケティング
‣ コミュニティとか : 初期のSpringユーザグループ、Java
User Groupの立ち上げサポート、Eclipse Pluginの
ローカライズとか

@mitsuhiro
Tuesday, February 18, 14
Salesforce知ってる人?

Tuesday, February 18, 14
Salesforce知ってる人?
予想 : 80%以上

Tuesday, February 18, 14
Salesforce使った事ある人?

Tuesday, February 18, 14
Salesforce使った事ある人?
予想 : 20%以下

Tuesday, February 18, 14
Salesforceってどんな会社?

Tuesday, February 18, 14
Salesforceってどんな会社?
= 世界 No.1 のクラウドプラットフォーム企業

Tuesday, February 18, 14
アナリストの評価
Gartner社
Magic Quadrant for Enterprise
Application Platform as a Service

Salesforce.comがダントツで
”LEADER””VISIONARIES”
である

出典 : http://viewfromtheedge.progress.com/2014/02/gartner-magic-quadrant-enterprise-apaas/
Tuesday, February 18, 14
アナリストの評価
Gartner社
Magic Quadrant for Enterprise
Application Platform as a Service

Salesforce.comがダントツで
”LEADER””VISIONARIES”
である

出典 : http://viewfromtheedge.progress.com/2014/02/gartner-magic-quadrant-enterprise-apaas/
Tuesday, February 18, 14
Salesforce1 Platformは日々利用を拡大

960 億

トランザクションの総数
(四半期ベース)

Tuesday, February 18, 14

420 億

API によるトランザクション
(四半期ベース)

420 万

開発された
アプリケーションの数
(累計)

210 万

インストールされた
AppExchange
アプリケーションの数
(累計)
Tech Crunch

セールスフォース・ドットコムは、
まさに 'プラットフォームカンパニー' だ。
- アレックス・ウィリアムズ氏

Tuesday, February 18, 14
Salesforce1 Platformの特徴は?

Tuesday, February 18, 14
Salesforce1 Platformの特徴は?
= 宣言的開発、モバイル、APIに強いPaaS(Platform as a Service)

Tuesday, February 18, 14
Salesforce1 Platformの提供するサービス

API

モバイル
サービス

Tooling
API

Soap API

Rest API

Bulk API

Mobile SDK

開発者向け
Mobile Pack

オフライン
サポート

メタデータ

位置情報

カスタムの
アクション

Tuesday, February 18, 14

ソーシャル
API

Streaming
API

アイデンティティ
管理

モバイルでの
通知

Visualforce

API

Platform

Chatter

ワークフロー

分析機能

Apex

マルチテナント
インフラストラクチャ

中核
サービス

分析 API

クラウド
データベース

データレベルの
セキュリティ

スキーマ
ビルダー

トランスレーション
ワークベンチ

共有モデル

メール
サービス

検索

Heroku1

モニタリング
Salesforce1 Platformの提供するサービス

API

モバイル
サービス

Tooling
API

Soap API

Rest API

Bulk API

Mobile SDK

開発者向け
Mobile Pack

オフライン
サポート

メタデータ

位置情報

カスタムの
アクション

Tuesday, February 18, 14

ソーシャル
API

Streaming
API

アイデンティティ
管理

モバイルでの
通知

Visualforce

API

Chatter

ワークフロー

分析機能

Apex

マルチテナント
インフラストラクチャ

中核
サービス

分析 API

クラウド
データベース

データレベルの
セキュリティ

スキーマ
ビルダー

トランスレーション
ワークベンチ

共有モデル

メール
サービス

検索

Heroku1

モニタリング
Salesforce1 Platformの自動生成される画面
検索
タブ
標準コンポーネント
コーディングレス
クリックでカスタマイズ

コンテンツ
カスタムコンポーネント
HTML5でカスタマイズ

Tuesday, February 18, 14
Salesforce1 Mobileでの自動生成される画面
全文検索

データの概要

メイン画面
レコードの詳細
ナビゲーション
メニュー

Tuesday, February 18, 14
Let’s See Action

Tuesday, February 18, 14
Salesforce = PaaS + 自動生成UI + 便利機能

業務固有のUIセット
UIフレーム
サーバランタイム、開発フレームワーク&ツール
OS,言語ランタイム

SaaS

Tuesday, February 18, 14

Salesforce

PaaS,mBaaS

IaaS,Hosting
Salesforce1 Platformにまつわる良くある誤解

Tuesday, February 18, 14
すべてブラウザからしか設定できないくて開発しづらい

Tuesday, February 18, 14
すべてブラウザからしか設定できないくて開発しづらい
-> Eclipseプラグイン、メターデータAPIを提供

Tuesday, February 18, 14
Eclipseプラグイン

Tuesday, February 18, 14
Force.com CLI ‒ コマンドラインからAPIでSalesforceを操作

$> force CLI

Tuesday, February 18, 14
Let’s See Action

Tuesday, February 18, 14
Visualforceという独自タグ言語でしか拡張できない

Tuesday, February 18, 14
Visualforceという独自タグ言語でしか拡張できない
VisualforceはJavascriptとCSSが自由に使える

Tuesday, February 18, 14
Visualforce
HTMLベースのタグ言語 - 独自タグ “も”利用可能
<apex:page docType="html-5.0" showHeader="false" standardStylesheets="false">
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.0.js" />
<c:remoteTK />
<script type="text/javascript">
$j = jQuery.noConflict();
var client = new remotetk.Client();
client.query("SELECT Name FROM Account LIMIT 10", function(response){
for (var i =0;i<10;i++){
$j('#accountname').append("<li>" + response.records[i].Name + "</li>");
...

Tuesday, February 18, 14
Let’s See Action

Tuesday, February 18, 14
Apexという独自のプログラミング言語でしか拡張できない

Tuesday, February 18, 14
Apexという独自のプログラミング言語でしか拡張できない
Heroku Connectを使えば、データベースを同期できる

Tuesday, February 18, 14
Heroku connect

Heroku Postgres と Salesforce を
自動で同期

顧客のアプリケーションのデータ
から Salesforce レポートを作成
煩雑な作業が不要に

Tuesday, February 18, 14
Apexという独自のプログラミング言語でしか拡張できない

Tuesday, February 18, 14
Apexという独自のプログラミング言語でしか拡張できない
Apexも慣れれば便利なので、使ってみよう

Tuesday, February 18, 14
ApexでREST APIを自動生成
REST APIを自分で作成できる
@RestResource(urlMapping='/stockservice/*')
global class WarehouseStockRestResource {
@HttpPost
global static Product StockCount(Product p) {
/** Businesss Logic */
return p;
}
global class Product{
String productId;
Integer StockCount;
}
Tuesday, February 18, 14
ApexでClient Javascriptを自動生成
サーバサイドで定義したメソッドが、自動的にJavascriptメソッドになる
global class InternalEventController{
@remoteAction
global static Task createTaskAndPost(){
Task t = new Task();
t.ActivityDate = System.date.today().adddays(2);
t.Subject = 'この社内行事の参加可否を返事をして下ください';
....
InternalEventController.createTaskAndPost(
function(result, event){
if(event.status){
Sfdc.canvas.publisher.publish({name: "publisher.close", payload:{ refresh:"true"}});

Tuesday, February 18, 14
まとめ
‣ Salesforce1 Platform
‒ 世界No1のエンタープライズクラウド開発プラットフォーム
• 宣言的ツールが使いやすい
• モバイル画面も自動生成
• データはすべてAPIとしてWebサービスからアクセス可能

‒ 良くある誤解

• ×ブラウザでしか開発できない ○ EclipseやAPI, CLIで開発可能
• ×拡張は独自タグ ○ HTML5を使ってJavascriptとCSSが利用可能
• ×独自言語でしか拡張できない ○ Herokuと組み合わせて活用

Tuesday, February 18, 14
Salesforce1 Platform 関連リソース
Developer Force Japan
http://jp.force.com
開発用途のDeveloper Editionは全て無料
今すぐサインアップ
Salesforce1 開発リソース(英語)
http://developer.salesforce.com/
Salesforce1サンプルアプリケーション
https://github.com/DeveloperForceJapan/demos1app-jp

Tuesday, February 18, 14

jp.force.com
Developer Force
@developerforcej / #forcedotcomjp
Developer Force Japan
+Developer Force Japan
Developer Force
Developer Force Group
Tuesday, February 18, 14
是非アプリケーションを開発してみて下さい
Salesforce1 Platform
モバイルハックチャレンジ開催中!!!

優勝賞金100 万円
準優勝 50 万円
3等 10万円

応募条件
1、モバイルアプリである
1、Salesforce1 Platformを利用している
是非ご参加下さい!!
http://jp.force.com/hack
Tuesday, February 18, 14
ご清聴ありがとうございました

Tuesday, February 18, 14

食わず嫌いの為のSalesforce1 Platform入門