spring12新機能webinar

33
Manager, Developer Programs Mitsuhiro Okamoto Spring 12’リリース 開発者向け新機能Webinar @mitsuhiro facebook.com/mokamoto [email protected]

Upload: salesforce-developers-japan

Post on 18-Nov-2014

2.229 views

Category:

Technology


3 download

DESCRIPTION

Salesforce Platform Spring '12リリースの新機能についてご紹介したWebinarのスライドです。 Developer Force JapanではForce.com開発者に必要な各種技術資料の公開や、Webinarセミナー等を定期的に開催しております。 http://jp.force.com/

TRANSCRIPT

Page 1: Spring12新機能webinar

Manager, Developer Programs

Mitsuhiro Okamoto�

Spring 12’リリース 開発者向け新機能Webinar

@mitsuhiro facebook.com/mokamoto [email protected]

Page 2: Spring12新機能webinar

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 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, 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 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, 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-K filed on April 30, 2008 and in other filings with the Securities and Exchange Commission. These documents 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 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 forward-looking statements.

Safe Harbor

Page 3: Spring12新機能webinar

@developerforcej / #forcedotcomjp Developer Force Japan facebook.com/developerforcejapan

Page 4: Spring12新機能webinar

Spring ’12リリースに関する情報を得るには?

Webinar録画 リリースノートへのリンク ディスカッションボード

#spring12 のハッシュタグでディスカッションボードへ http://boards.developerforce.com/sforce/?category.id=Developers_JP

Page 5: Spring12新機能webinar

本日ご紹介する内容

• Spring ’12リリースのプラットフォーム機能 – スキーマビルダの新機能 – Force.com Flow – 開発者コンソールの新機能 – 認証プロバイダ – Streaming API – Apex & Visualforce新機能 – その他の新機能

• Q & A

Page 6: Spring12新機能webinar

Schema Builder

Page 7: Spring12新機能webinar

Schema Builder ‒ ベータ

Page 8: Spring12新機能webinar

Force.com Flow

Page 9: Spring12新機能webinar

正式リリース: Cloud Flow Designer

Page 10: Spring12新機能webinar

開発者 コンソール

Page 11: Spring12新機能webinar

(From Apex PM) 容易性とスケーラビリティをエンタープライズプラットフォームに届ける

スケール 容易性 拡張性

• 信頼性の高いスケール方法 • ランタイムの継続的なチューニング • デプロイのスピードアップ

• ライブラリの充実 • 手順の簡素化 • ツールの提供

• 高度な機能の提供 • より高位のフレキシビリティ • APIの公開

Page 12: Spring12新機能webinar

開発者コンソール

長大なRawログをサポート

Page 13: Spring12新機能webinar

ブレークポイントのシュミレーション

場所を指定 ヒープをステップ毎に確認

Page 14: Spring12新機能webinar

VisualForceコード補完

Visualforce サポート

リアルタイム フィードバッ

Page 15: Spring12新機能webinar

認証プロバイダ

Page 16: Spring12新機能webinar

認証プロバイダ機能のフロー

ユーザが既存ユーザSSOリンク をクリック

ユーザはSSOサイトへ認証 リクエストと共に リダイレクトされる

ユーザはSSOサイトによって認証され, SSOサイトはユーザのクレデンシャルをコールバックURLへ

ユーザがサードパーティの リンクを確認

既存ユーザのSSO

ユーザはSSO初期リンクより ログイン可能となる

Page 17: Spring12新機能webinar

ユーザはSSOサイトによって認証され, SSOサイトはユーザのクレデンシャルをコールバックURLへ

認証プロバイダ機能のフロー

ユーザがSSO初期化リンク をクリック

ユーザはSSOサイトへ認証 リクエストと共に リダイレクトされる

ユーザがすでにリンクされている 場合はログイン

SSO 初期化 / ログイン

ユーザがリンクされていない場合 はユーザを新規作成してリンク

Page 18: Spring12新機能webinar

Streaming API

Page 19: Spring12新機能webinar

“Streaming”とは?

• Streamingとは、クライアントが単一のリクエストでサーバからの更新情報を連続的に複数回受け取る事のできる仕組み – Publish/subscribeモデル – “Push”のテクノロジに利用

• 例 – “新しい取引先レコードが作成されました” – “商談のサイズが$1Mを超えました”

Page 20: Spring12新機能webinar

どのような時にStreamingを使用するか?

• データの更新をリアルタイムに近いタイミングで通知する場合 –  状態の変化に応じて行動を起こす ‒ 例)送信アラート

–  状態の同期 ‒ 例)ブラウザ上でのUpdate • 現在pollingのAPIを使用している場合!

–  より効率的にAPIを良い出すことが可能

Page 21: Spring12新機能webinar

よく使われるケース

• コールセンターやサポートアプリケーション –  Salesforce Service Cloud –  Case上でのテクニカルコールセンタ

• 会計アプリケーション – ブローカが株式情報の最新情報を取得

• ソーシャルアプリケーション –  Live Chatter (将来のリリース)

• 軽量データの同期 –  社内データとの同期 –  他のクラウドシステムからの更新

Page 22: Spring12新機能webinar

Polling vs Streaming

• Streaming – クライアントはリアルタイムに更新を受け取れる

– Bayeuxプロトコル – クライアント毎に一回のAPI呼び出し(データが更新された時だけレスポンスを返す)

• Polling – クライアントは継続的にAPIを呼ぶ必要がある

– SOAP/REST API – クライアント毎に1回のデータ確認(Pulllリクエスト)のために1APIコールを行う (データがない場合でも)

Page 23: Spring12新機能webinar

Trigger vs Streaming

• Streaming – リアルタイムに近いデータの受け取りが可能

– クライアントはHTTPプロトコルが話せれば、サーバプロセスからブラウザ上のJavascriptまで対応.

– 1から1000以上のをサポート

– Bayeuxプロトコル

• Trigger + future – Trigger でデータの変更時に動作し、そこから ‘future’メソッド内でWebサービス呼び出し

– サーバはメッセージを受けるためにエンドポイントを露出する必要がある

– (一般的に) 一つのサーバに対して

– SOAP/REST API

Page 24: Spring12新機能webinar

VisualForce and

Apex

Page 25: Spring12新機能webinar

VisualForceに以下のコンポーネントが追加

• <social:profileViewer> – ソーシャル取引先及びソーシャル取引先責任者

• <chatter:newsfeed> – Chatterのニュースフィードを表示

• Chatter Answer及びLive Agent関連タグ

Page 26: Spring12新機能webinar

Dynamic Visualforce Components

• サーバ側でVisualforceページをプログラミングし、タグとして埋め込む仕組み – よりインタラクティブ性の高いデザインが可能

• Visualforce Page <apex:dynamicComponent componentValue="{!accountname}"/>

• Apex Controller public Component.Apex.OutputText getAccountname(){

Component.Apex.OutputText name = new Component.Apex.OutputText();

Name.expressions.value = 'test'; return name;

}

Page 27: Spring12新機能webinar

VisualForceのView Stateがより最適化

• View Stateとは – VisualForceがForm値 を画面間でやりとりする ためのハッシュ文字列 • Form要素が増えるとそのたびにView Stateがやりとりされる

• Single View State – 有効化すると複数のFormコンポーネントも単一のViewStateに合わせて格納される • パフォーマンスが向上

Page 28: Spring12新機能webinar

Testクラスの挙動変更及びアノテーション

• @isTestアノテーションがついたテストクラスを実行した場合、デフォルトでは実データを読まななくなった –  Test.startTest()呼び出し前にデータを作成

• @isTest(SeeAllData=true)オプションを付与することで、従来通り全てのデータを参照する

Page 29: Spring12新機能webinar

Apex and SOQL

• SOQLでのOFFSETのサポート SELECT Name FROM Account ORDER BY Name LIMIT 50 OFFSET 100

• 同時に実行できるApex jobの数が増加 – 10から25に増強

• ContentDocument Triggers – Chatterへのファイル添付を禁止するといった場合など

Page 30: Spring12新機能webinar

Q & A

Page 31: Spring12新機能webinar

Spring ’12 リソース – Developer Release情報 (英語) http://developer.force.com/releases/

– リリースノート http://successjp.salesforce.com/features/2012/01/lt.html

– (Blog)開発者向け新機能Top10 – http://blogjp.sforce.com/2012/01/spring-12-10-6f25.html – ディスカッションボード – http://boards.developerforce.com/sforce/?category.id=Developers_JP

Page 32: Spring12新機能webinar

今後のWebinar予定 • REST, Chatter and Streaming API • Site.com • Force.com開発ベストプラクティス • Mobile SDK Webinar

Page 33: Spring12新機能webinar

THANK YOU @developerforcej facebook.com/developerforcejapan

[email protected]