SlideShare a Scribd company logo
​
​
​
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 any
litigation, risks associated with completed and any 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-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These
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 forward-looking statements.
​
​
​
​
​
​
​
​
​
Performance Best Practices for Lightning Component Development Advanced Lightning Component
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
•
•
•
•
•
•
•
​
​
​
​
​
​
​
​
var action = component.get("c.getItems");
action.setStorable();
action.setCallback(this, function(response) {
// handle response
});
$A.enqueueAction(action);
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
Component Framework Client Cache
​
Component Framework Client Cache
​
Component Framework Client Cache
​
<force:recordData recordId="{!v.recordId}"
targetFields="{!v.contact}"
fields="['Id', 'Name', 'Phone', 'Mobile']" />
Component A
Component B
Component C
Lightning
Data Service
Component A Custom Cache
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
​
​
​
​
•
•
•
•
​
​
​
​
​
<aura:attribute name="step" type="Integer"
default="1"/>
<div class="{!v.step==1 ? null : 'slds-hide'}">
Step 1
</div>
<div class="{!v.step==2 ? null : 'slds-hide'}">
Step 2
</div>
<div class="{!v.step==3 ? null : 'slds-hide'}">
Step 3
</div>
​
<aura:attribute name="step" type="Integer" default="1"/>
<aura:if isTrue="{!v.step==1}">
Step 1
</aura:if>
<aura:if isTrue="{!v.step==2}">
Step 2
</aura:if>
<aura:if isTrue="{!v.step==3}">
Step 3
</aura:if>
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
​
​
​
​
<aura:component controller="ContactController>
<aura:attribute name="contacts" type="Contact[]"/>
<aura:iteration items="{!v.contacts}" var="property">
<lightning:input value="{!contact.firstName}" />
</aura:iteration>
</aura:component>
contact.addEventListener("change", function(event) {
inputElement.value = contact.firstName;
});
inputElement.addEventListener("change", function(event) {
contact.firstName = inputElement.value;
});
​
<aura:component controller="ContactController>
<aura:attribute name="contacts" type="Contact[]"/>
<aura:iteration items="{!v.contacts}" var="property">
<lightning:input value="{#contact.firstName}" />
</aura:iteration>
</aura:component>
<aura:attribute name=“contact” type=”Contact”>
<force:recordData aura:id=“service”
recordId-”{!v.recordId}”
targetFields=“{!v.property}”
fields=“[‘Id’,’Name’]” />
/*これは動作しない */
<p>{#v.contact.Name}</p>
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
​
​
​
​
​
​
​
•
•
•
•
•
​
​
•
•
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
​
​
//Child
<aura:method name=“showPopup” action=“”>
<aura:attribute name=“fund” type=“Fund__c” />
<aura:attribute name=“x” type=“Decimal” />
<aura:attribute name=“y” type=“Decimal” />
</aura:method>
//Parent
component.find(“popup”).showPopup(fund,10,20);
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
•
•
•
​§
​
•
​
•
​
​
•
•
•
•
•
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
​
​
​
​
​
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
•
•
•
•
•
•
•
•
Thank Y u

More Related Content

PDF
はじめようLightning Component開発
PDF
Winter '19 開発者向け新機能
PDF
Winter '18 開発者向け新機能
PDF
Lightning時代のService Cloud概要とカスタマイズ
PDF
Spring '18 開発者向け新機能
PDF
アプリケーション開発をモダンに変える Salesforce DX
PDF
Summer '17 リリース開発者向け新機能Webinar
PDF
モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門
はじめようLightning Component開発
Winter '19 開発者向け新機能
Winter '18 開発者向け新機能
Lightning時代のService Cloud概要とカスタマイズ
Spring '18 開発者向け新機能
アプリケーション開発をモダンに変える Salesforce DX
Summer '17 リリース開発者向け新機能Webinar
モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門

What's hot (20)

PDF
MuleSoft Anypoint Platformのコンセプトとサービス
PDF
アプリを作った後の運用は万全? Heroku リリース & 運用セミナー
PDF
Spring '17開発者向け新機能
PDF
IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜
PDF
Salesforce開発入門 Webセミナー
PPTX
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
PDF
Dreamforce18 update platform
PDF
ここまでできる!Salesforce Connect 最新機能 (Winter'17) のご紹介
PDF
Heroku CIを触ってみる
PDF
次世代のパッケージング Packaging 2(Pilot)
PDF
Wave : Analytics Cloudとは
PPTX
Orchestrate all of your salesforce automation with the trigger actions framework
PDF
Lightning Platform Product Managers: Ask Us Anything!
PDF
Introduction to Einstein Bots
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
PDF
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
PPTX
Intro to Apex Testing - Dreamforce 2016
PPTX
I Built in Lightning and I Liked It
PPTX
Kitchener Developer Group's session on "All about events"
PDF
Docker on Heroku のはじめ方
MuleSoft Anypoint Platformのコンセプトとサービス
アプリを作った後の運用は万全? Heroku リリース & 運用セミナー
Spring '17開発者向け新機能
IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜
Salesforce開発入門 Webセミナー
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Dreamforce18 update platform
ここまでできる!Salesforce Connect 最新機能 (Winter'17) のご紹介
Heroku CIを触ってみる
次世代のパッケージング Packaging 2(Pilot)
Wave : Analytics Cloudとは
Orchestrate all of your salesforce automation with the trigger actions framework
Lightning Platform Product Managers: Ask Us Anything!
Introduction to Einstein Bots
Integrate CMS Content Into Lightning Communities with CMS Connect
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
Intro to Apex Testing - Dreamforce 2016
I Built in Lightning and I Liked It
Kitchener Developer Group's session on "All about events"
Docker on Heroku のはじめ方
Ad

Similar to アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips (20)

PPTX
Developers Introduction To Lightning
PDF
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
PPTX
Authentic Connections in an Online World by Mary Scotton
PPTX
Detroit ELEVATE Track 1
PDF
Lightning Components - Advanced Features
PDF
世界的クラウド企業がコミュニティを育てるために考えていること
PPTX
Unleash the Power of Apex Realtime Debugger
PDF
Elevate workshop track1
PPTX
Building first lightning component at udaipur admin group session
PDF
Summer17新機能 Einstein周り
PPTX
S1 Tour Paris Developpeurs
PPTX
Intro to Lightning Components - Dreamforce 2016
PPTX
Platform Events: How developers and admins work together to implement busines...
PDF
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
PDF
Developing Interactive Tables and Charts in Visualforce
PPTX
Startups need Admins, too
PPTX
Salesforce Labs - Hidden Gems on the AppExchange
PPTX
AppExchange for Components (General Components Information)
PDF
Integrating With Force.com Using Webhook Handlers
PPTX
Build lightning components with salesforce dx
Developers Introduction To Lightning
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Authentic Connections in an Online World by Mary Scotton
Detroit ELEVATE Track 1
Lightning Components - Advanced Features
世界的クラウド企業がコミュニティを育てるために考えていること
Unleash the Power of Apex Realtime Debugger
Elevate workshop track1
Building first lightning component at udaipur admin group session
Summer17新機能 Einstein周り
S1 Tour Paris Developpeurs
Intro to Lightning Components - Dreamforce 2016
Platform Events: How developers and admins work together to implement busines...
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Developing Interactive Tables and Charts in Visualforce
Startups need Admins, too
Salesforce Labs - Hidden Gems on the AppExchange
AppExchange for Components (General Components Information)
Integrating With Force.com Using Webhook Handlers
Build lightning components with salesforce dx
Ad

More from Salesforce Developers Japan (20)

PDF
Salesforce DX の始め方とパートナー様成功事例
PDF
データ連携の新しいカタチ - 変更データキャプチャ/プラットフォームイベントを MuleSoft Anypoint Platform と組み合わせて試してみよう
PDF
Einstein Analyticsでのデータ取り込みと加工
PDF
GMOペパボのエンジニアが語るHeroku活用ノウハウ
PDF
Salesforce Big Object 最前線
PDF
Salesforce 開発者向け最新情報 Web セミナー 〜 TrailheaDX での新発表 & Summer '19 リリース新機能 〜
PDF
Einstein Next Best Action を試してみよう
PDF
Salesforce DXとLightning Web ComponentsでモダンSalesforceアプリ開発
PDF
Spring '19リリース開発者向け新機能セミナー
PDF
業務課題の解決に、データ分析・予測結果の活用を - Einstein Discovery / Einstein 予測ビルダーのご紹介 -
PDF
Einstein analyticsdashboardwebinar
PDF
Heroku seminar winter19
PDF
Lightning時代のレポート ダッシュボード & Flow 最前線
PDF
Summer18 開発者向け新機能Webセミナー
PDF
使ってみよう、Salesforce Big Object!
PDF
AIアプリはこう作る!-独自の識別モデル作成も簡単 Einstein Platform Services の使い方
PDF
Einsteinvision - object detection を試してみよう
PDF
Einstein Analyticsによるユースケース別機能、実現例のご紹介(後編)
PDF
Apache Kafka on Herokuを活用したイベント駆動アーキテクチャの設計と実装
PPTX
Einstein Analyticsによるユースケース別機能、実現例のご紹介(前編)〜Winter’18 新機能紹介を交えて
Salesforce DX の始め方とパートナー様成功事例
データ連携の新しいカタチ - 変更データキャプチャ/プラットフォームイベントを MuleSoft Anypoint Platform と組み合わせて試してみよう
Einstein Analyticsでのデータ取り込みと加工
GMOペパボのエンジニアが語るHeroku活用ノウハウ
Salesforce Big Object 最前線
Salesforce 開発者向け最新情報 Web セミナー 〜 TrailheaDX での新発表 & Summer '19 リリース新機能 〜
Einstein Next Best Action を試してみよう
Salesforce DXとLightning Web ComponentsでモダンSalesforceアプリ開発
Spring '19リリース開発者向け新機能セミナー
業務課題の解決に、データ分析・予測結果の活用を - Einstein Discovery / Einstein 予測ビルダーのご紹介 -
Einstein analyticsdashboardwebinar
Heroku seminar winter19
Lightning時代のレポート ダッシュボード & Flow 最前線
Summer18 開発者向け新機能Webセミナー
使ってみよう、Salesforce Big Object!
AIアプリはこう作る!-独自の識別モデル作成も簡単 Einstein Platform Services の使い方
Einsteinvision - object detection を試してみよう
Einstein Analyticsによるユースケース別機能、実現例のご紹介(後編)
Apache Kafka on Herokuを活用したイベント駆動アーキテクチャの設計と実装
Einstein Analyticsによるユースケース別機能、実現例のご紹介(前編)〜Winter’18 新機能紹介を交えて

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?

アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips