Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

django-salesforce Ploneconf 2016


Published on

From my presentation on the django-salesforce library at Ploneconf 2016

Published in: Technology

django-salesforce Ploneconf 2016

  1. 1. django-salesforce Bill Blanchard GitHub: chromakey, Twitter: @billisplumb October 20, 2016
  2. 2. Hynek Cernoch @hynekcer Phil Christensen @philchristensen
  3. 3. django-salesforce • Access Salesforce via the Django ORM • Converts ORM queries to SOQL • Useful for syncing data • Easily allow CRUD operations in your apps • Run python inspectdb —database=salesforce to view models
  4. 4. Disadvantages • Slow (relatively) • SOQL != SQL • “SOQL doesn’t support all advanced features of the SQL SELECT command. For example, you can’t use SOQL to perform arbitrary join operations, use wildcards in field lists, or use calculation expressions.” • Authentication/Licensing (oauth2 is experimental) • Lockouts/API Limits
  5. 5. Use Cases • Small number of users • Asynchronously • Limited field/record access • Basically, don’t pound on it and expect to maintain high performance
  6. 6. Other ways to use Salesforce with Django • Old Fashioned Way (Requests) • Beatbox Library (SOAP API, Automation) • Simple-Salesforce Library (REST API)
  7. 7. Questions?
  8. 8. Thanks! GitHub: chromakey Twitter: @billisplumb