问题
I need to implement my CloudKit based app in Android too.
Which MBaas has the most similar architecture like CloudKit? I need these features:
- cascade deletes
- able to track insert / update / delete changes in tables up from a date represented with a token
- asset management
- cursor based record fetching / paging, skip
- scalable (no join like operation need / should be possible)
- able to get push notification about changes
- reasonable pricing for startups
- cloud based
- no server side logic
- don't offer client side storage, I have it
- simple dashboard / no performance graphs etc.
回答1:
I think the only way to use CloudKit from android is by creating an OS X app that will act like a web service to which the android devices can connect. The OS X app would then pass on that query to CloudKit. I'm not really sure if that would be possible since an OS X app can only connect to CloudKit if it's in the AppStore.
Other popular services that are used for data storage and push notifications are:
- parse
- Windows Azure mobile services
- AWS mobile services
- Mobile Solutions on Google Cloud Platform
And some less popular:
- CloudMine
- Appcelerator
- App42
I have played around with Azure and AWS but those are far from the easy experience that you have using CloudKit. Google seems to be even more work. I have not played with parse, but what I read and see for demo's it's the easiest to use out of these 4.
If anyone else knows other technology that could fit the list above, then let us know so that we can add it.
回答2:
Parse
- cascade delete, called [afterDelete Triggers][1] - OK
- cursor based record fetching / paging, skip - OK
- able to track changes in tables: https://stackoverflow.com/questions/30151103/is-parse-able-to-notify-track-changes-in-tables - not really
I think the right workaround is to do it by yourself: You can start it here: https://github.com/j4nos/REST-Node.js-MongoDB-OpenShift
来源:https://stackoverflow.com/questions/29818527/multiplatform-mbaas-similar-to-cloudkit