300 likes | 462 Views
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:
E N D
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: 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.
Jeff Douglas Senior Technical Consultant Appirio Developer Evangelist CloudSpokes Co-Author “Salesforce Handbook” http://blog.jeffdouglas.com @jeffdonthemic
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.
Agenda • Cloud to Cloud Integration Patterns • Inbound • Outbound • Hybrid • Force.com Toolkits • “RMAforce” Demo • Microsoft Azure • Google App Engine • Amazon AWS • Heroku • Q&A
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
Outbound Integration Options for Force.com • Apex Callouts • Force.com Toolkits • Outbound Message • Apex Outbound Email Services
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.
Demo - Microsoft Azure • Inbound integration from SQL Azure • Java app loads Sales Order data using the Bulk API
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
Demo - Google App Engine • Inbound integration using the Google App Engine Toolkit for Force.com (Java) to process customer RMAs.
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
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.
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
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.
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
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
Additional Resources • Github code repo http://www.github.com/jeffdonthemic/df11preso • Cloud to Cloud Integrations with Force.com http://wiki.developerforce.com/index.php/Webinar:_Cloud_to_Cloud_Integrations_with_Force.com • Loading Large Data Sets with the Force.com Bulk API http://wiki.developerforce.com/index.php/Loading_Large_Data_Sets_with_the_Force.com_Bulk_API • Google App Engine Toolkit for Force.com http://code.google.com/p/sfdc-wsc/ • Force.com Toolkit for Amazon Web Services http://wiki.developerforce.com/index.php/Amazon_Toolkit • OmniAuth https://github.com/intridea/omniauth
But wait, the DevZone has more! Open Source Lab Discover new & interesting open projects Lightning Forum Drop 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
How Could Dreamforce Be Even Better? Tell Us! Every session survey you submit is a chance to win an iPad 2! 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.