connect your clouds with force.com

30
Connect Your Clouds with Force.com Developer Track Jeff Douglas, Senior Technical Consultant, Appirio

Upload: luann

Post on 25-Feb-2016

44 views

Category:

Documents


7 download

DESCRIPTION

Connect Your Clouds with Force.com. Developer Track. Jeff Douglas, Senior Technical Consultant, Appirio. Safe Harbor. Safe harbor statement under the Private Securities Litigation Reform Act of 1995: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Connect Your Clouds with Force.com

Connect Your Clouds with Force.comDeveloper Track

Jeff Douglas, Senior Technical Consultant, Appirio

Page 2: Connect Your Clouds with Force.com

Safe HarborSafe 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, 2011. 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 forward-looking statements.

Page 3: Connect Your Clouds with Force.com

Jeff DouglasSenior Technical Consultant

AppirioDeveloper Evangelist

CloudSpokesCo-Author

“Salesforce Handbook”

http://blog.jeffdouglas.com@jeffdonthemic

Page 4: Connect Your Clouds with Force.com

What to Walk Away With

Solid understanding of Force.com integration options and patterns.

Strategies for connecting various cloud platforms with Force.com.

Best practices with Force.com integration options. A deep love and appreciation for the Force.com

platform.

Page 5: Connect Your Clouds with Force.com

Agenda

Cloud to Cloud Integration Patterns– Inbound– Outbound– Hybrid

Force.com Toolkits “RMAforce” Demo

– Microsoft Azure– Google App Engine– Amazon AWS– Heroku

Q&A

Page 6: Connect Your Clouds with Force.com

Integration Patterns with Force.com

Page 7: Connect Your Clouds with Force.com

Inbound Integration Options for Force.com

Force.com APIs– SOAP API, Bulk API, REST API, Chatter REST (Pilot)

Apex Web Services– SOAP, REST (Pilot)

Apex Inbound Email Services Force.com Toolkits

– Google App Engine (Java & Python), Ruby, PHP, Perl, .NET and Azure

Page 8: Connect Your Clouds with Force.com

Outbound Integration Options for Force.com

Apex Callouts Force.com Toolkits Outbound Message Apex Outbound Email Services

Page 9: Connect Your Clouds with Force.com

Apex Callouts – Don’t Forget!

Governor Limits!!– 10 callouts per transaction– 3MB payload maximum– 120 timeout for all callouts

Dreaded “You have uncommitted work pending” error Callouts from Triggers must be made asychronously -

@future(callout=true) The joy of writing test coverage for callouts Invoke WSDL/SOAP or REST services. Be careful

parsing returned JSON data. Parser is not yet native.

Page 10: Connect Your Clouds with Force.com

Force.com Toolkits for Services

Page 11: Connect Your Clouds with Force.com

Force.com Toolkits for Platforms/Languages

Page 12: Connect Your Clouds with Force.com

Demo Application – “RMAforce”

Page 13: Connect Your Clouds with Force.com

Demo Application – “RMAforce”

Page 14: Connect Your Clouds with Force.com

Demo Application – “RMAforce”

Page 15: Connect Your Clouds with Force.com

Demo Application – “RMAforce”

Page 16: Connect Your Clouds with Force.com

Demo Application – “RMAforce”

Page 17: Connect Your Clouds with Force.com

Salesforce.com ERD

Page 18: Connect Your Clouds with Force.com

Demo - Microsoft Azure

Inbound integration from SQL Azure Java app loads Sales Order data using the Bulk API

Page 19: Connect Your Clouds with Force.com

Recap - Microsoft Azure

Inbound integration from SQL Azure using Java and the Bulk API

CVS column names should be same as target org Consolidate data into SQL Views for easy querying Schedule the app (.jar file) to run periodically on a server

with email notifications for failures. Monitor imports (success & failures) in Salesforce

Best Practices

Page 20: Connect Your Clouds with Force.com

Demo - Google App Engine

Inbound integration using the Google App Engine Toolkit for Force.com (Java) to process customer RMAs.

Page 21: Connect Your Clouds with Force.com

Recap - Google App Engine

Inbound integration using the Google App Engine Toolkit for Force.com (Java)

Use the “GAE” version of the Toolkit for App Engine. Use the precompiled “Partner” jar URL fetch service limited to 5 seconds so streamline

queries and returned results Cache connection for improved performance

Best Practices

Page 22: Connect Your Clouds with Force.com

Demo - Amazon AWS

Outbound integration to Amazon S3 using the Amazon Web Services toolkit.

Customer service rep approves RMA, creates PDF and stores in Amazon S3.

Page 23: Connect Your Clouds with Force.com

Recap - Amazon AWS

Outbound integration to Amazon S3 using the Amazon Web Services toolkit.

Setup different S3 buckets for sandbox and production Watch bucket permissions Guard your AWS API keys!

Best Practices

Page 24: Connect Your Clouds with Force.com

Demo - Heroku

Platform/lauguage integration with Ruby and Heroku Customer checks the status of their RMA on mobile

device. Ruby on Rails application using the REST API.

Page 25: Connect Your Clouds with Force.com

Recap - Heroku

Inbound integration with Heroku. Ruby on Rails application using the REST API.

Use OmniAuth for authorization Use HTTPS for OAuth2 callback Use the Heroku SSL add-on for quick & easy encryption Treat access tokens like passwords!!

Best Practices

Page 26: Connect Your Clouds with Force.com

Recap – What Did We See?

Strategies for Force.com integration depending on use case.

Force.com Toolkits for different services and language How do develop integrations regardless of platform and

language. How to use different Force.com APIs depending on

application purpose. Best practices for technologies, toolkits and platforms

Page 27: Connect Your Clouds with Force.com

Additional Resources

Github code repohttp://www.github.com/jeffdonthemic/df11preso

Cloud to Cloud Integrations with Force.comhttp://wiki.developerforce.com/index.php/Webinar:_Cloud_to_Cloud_Integrations_with_Force.com

Loading Large Data Sets with the Force.com Bulk APIhttp://wiki.developerforce.com/index.php/Loading_Large_Data_Sets_with_the_Force.com_Bulk_API

Google App Engine Toolkit for Force.comhttp://code.google.com/p/sfdc-wsc/

Force.com Toolkit for Amazon Web Serviceshttp://wiki.developerforce.com/index.php/Amazon_Toolkit

OmniAuthhttps://github.com/intridea/omniauth

Page 28: Connect Your Clouds with Force.com

Questions?

Page 29: Connect Your Clouds with Force.com

But wait, the DevZone has more!

Open Source LabDiscover new & interesting open projects

Lightning ForumDrop in for a quick blast of knowledge

Tech Demos

See and learn the latest from the experts

Code Consultations Sign up for 1:1 sessions at the Welcome Desk

@forcedotcom

Page 30: Connect Your Clouds with Force.com

Watch your inbox at the end of each day for an email from our survey partner, Alliance Tech.

Click on the personalized link to be directed to the survey page for the sessions you attended.

How Could Dreamforce Be Even Better? Tell Us!

Every session survey you submit is a chance to win

an iPad 2!