13. Model 3/3
Delete
Counter
PFUser or PFRole, PFProduct
You manipulate object extending PFObject
Relationnal Data
one To Many (@"parent")
Many to Many (PFRelation object)
15. Queries 2/2
queries with NSPredicates
containsAllObjectsInArray/notContainedIn
greatherThan/LessThan/lessThanOrEqualTo…
relationnal queries
limit x result or skip x result
ordering on multiple keys
compound Queries : orQueryWithSubqueries
16. Caching
query.cachePolicy property
6 caches configuration, including:
kPFCachePolicyCacheElseNetwork:
The query first tries to load from the cache, but if that fails, it loads results from the network.
If neither cache nor network succeed, there is a PFError.
kPFCachePolicyCacheThenNetwork:
The query first loads from the cache, then loads from the network. In this case, the callback
will actually be called twice - first with the cached results, then with the network results.
Since it returns two results at different times, this cache policy cannot be used
synchronously with findObjects.
19. Social & sign-in
Easy authentication with :
Facebook based on FB SDK
Twitter
Login/pwd
Helpers & feature on PFUser
20. User interface
Parse provides a few subclasses of UIViewController that make logging in/
signing up PFUsers, and displaying PFObjects significantly easier.
24. Pricing & performances
Basic plan - free
Pro plan - 199$/month
1 million request/month + 7¢ per 1,000 over
15 million request/month + 5¢ per 1,000 over
1 million pushes/month + 7¢ per 1,000 over
5 million pushes/month + 5¢ per 1,000 over
20 request/second
40 request/second
1gb + 20¢ per 1GB over
10gb + 15¢ per 1GB over
Custom domain name & mail branding
Push mutliple certificate, push targeting, schedulin
More app&push metrics
Collaborators
+1 background jobs
25. Pricing & performances
Transparent pricing
For which kind of project & company size ?
Bought by Facebook in april 2013
Your data are free
26. Learn more
Much more to explore
Cloud Code & beforeSave/afterSave
Cloud Code modules (ParseImage, SendGrid,
Underscore…)
Rest API
Background job
Great documentation
Check tutorials https://www.parse.com/tutorials