Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

django-salesforce Ploneconf 2016

592 vues

Publié le

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

Publié dans : Technologie

django-salesforce Ploneconf 2016

  1. 1. django-salesforce Bill Blanchard GitHub: chromakey, Twitter: @billisplumb bill@plumbdev.com 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 manage.py 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! bill@plumbdev.com GitHub: chromakey Twitter: @billisplumb