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.

CloudKit as a backend

2,764 views

Published on

Usage of CloudKit as a backend ‘off the shelf’ for an iOS app and Android by Dimitri Dupuis Latour.

Published in: Software
  • Be the first to comment

  • Be the first to like this

CloudKit as a backend

  1. 1. CloudKit Back-Office clé-en-main Dimitri Dupuis-Latour 
 @dupuislatour
  2. 2. Les Apps My Little Paris My Little App My Little Beauty Hook 50 Gifts 50 Rendez-Vous My Little Mood
  3. 3. Alimentées par un BO • Applis Média • Contenus mis à jour fréquemment • Equipes Edito veulent
 un BO ‘user-friendly’
  4. 4. Nouvelle Appli Le Meilleur des Adresses Merci Alfred x My Little Paris
  5. 5. Beta Publique aujourd’hui
  6. 6. CloudKit Back-Office clé-en-main
  7. 7. CloudKit • Le « Parse » d’Apple (iOS 8) • BaaS : Backend-as-Service • ‘Off-the-shelf’ solution • Skill NOT required: JS, PHP, SQL, Node, REST… • Devenez un vrai « Full-Stack Developer »
  8. 8. Solution Traditionelle Objet ‘Natif’ Swift/ObjC Parsing JSON API JSON PHP
 Node.js Java Ruby … SQL MongoDB … Admin Web
  9. 9. CloudKit (théorie) Objet ‘Natif’ Swift/ObjC Admin Web
  10. 10. CloudKit Dashboard
  11. 11. CloudKit DashboardString Date/Time Int(64) Double Bytes Location Reference Asset —————— [String] [Date/Time] [Int(64)] [Double] [Bytes] [Location] [Reference] [Asset]
  12. 12. CloudKit Dashboard
  13. 13. API Features • Fields: (NS)Date, CLLocation, CKAssets… • Query: NSPredicates • Sort: NSSortDescriptors • Pagination (batches of ≅100 records at a time)
  14. 14. Availability • CloudKit Framework (Swift / ObjC) • CloudKit JS (Javascript) • API HTTP / REST (Server-to-server et Android !)
  15. 15. Other Features • Push Notification (onInsert, onCreate, onPredicate) • Private Database : • Transparent Authentification : no SignIn/Up • Store user data (ex: favorites…)
  16. 16. Future Avoiding Parse fate… CloudKit One year later 
  17. 17. Limitations ! • CloudKit handles Transport, not Persistence • Dashboard User-Friendlyness: good, but can be improved (better than manual editing JSON) • Image bandwidth limit rapidly approaching
 => images hosted on Amazon S3 • Bug in iOS 10.0/10.1 (fixed 10.2):
 iCloud account required to read public database
  18. 18. Objet ‘Natif’ Swift/ObjC Parsing JSON API JSON Admin Web Python CloudKit (pratique)
  19. 19. Questions ? Dimitri Dupuis-Latour 
 @dupuislatour
 dupuislatour@me.com
  20. 20. Prices
  21. 21. Prices
  22. 22. Prices

×