CloudKit Facebook Y Y N Google N Y N Username/Pass Y Y N Anonymous Y Y Y* Twitter Y Y N Github N Y N iCloud N N Y OAuth Y Y N * Based on publicly available documentation as of 11/6/2015.
= new ParseUser(); user.setUsername("username"); user.setPassword("pass"); user.setEmail("[email protected]"); user.signUpInBackground(); // ref is a reference to your Firebase URL ref.createUser("[email protected]", "pass", new Firebase.ValueResultHandler<Map<String, Object>>() { // callbacks }); FIREBASE PARSE
called before Parse.initialize()! retrospective.saveEventually(); // when the network is available, it will save. FIREBASE PARSE // Automagic... mostly. Firebase.getDefaultConfig().setPersistenceEnabled(true); // between app restarts
EASY ▸ ParseQueryAdapter - Connects a list of parse data to an Android ListView (ParseUI-Android) ▸ FirebaseListAdapter - Same for Firebase (FirebaseUI- Android) CC flickr.com/photos/groovenite
webhooks: a URL gets hit when beforeSave and afterSave gets called on a ParseObject ▸ Cloud Code: custom endpoints, triggers. ▸ Static hosting and Heroku support, too. CC flickr.com/photos/infomastern/14719723237
CLIENT ▸ Node.js server listens for events using the firebase node library, then *does other stuff* ▸ More code, but still really useful. ▸ https://github.com/firebase/flashlight (Firebase Elastic Search) ▸ New: Google Cloud modules.
MOBILE HUB (IN BETA) ▸ Exposes AWS Lambda Functions easily to mobile apps. ▸ Lambda: event driven, integrates with other major AWS services. ▸ Write once, run on multiple platforms. ▸ Current (late 2015) languages: node.js, python, java.
FIREBASE'S DATABASE ▸ Track how long it takes to get a success response for the server. ▸ Run the operation in JavaScript, track with a simple timer. ▸ Run the code in Singapore, Sydney, Sao Paulo, Dublin, Frankfurt, Washington DC and San Francisco.
WEB PAGE (USING BAAS JAVASCRIPT SDKS) CREATE OBJ PARSE API FIREBASE API PUSH INSIGHTS (NRDB = METRICS DATABASE) CREATE OBJ SYNTHETICS (RUNS A WEB PAGE IN DIFFERENT PLACES)
UNDERSTAND) Type Parse Firebase* CloudKit* File Transfer 2 TB 100 GB 2 GB File Storage 20 GB 1 GB 10 GB Database Storage 20 GB 1 GB 100 MB Requests per sec 30 100 40 * Based on publicly available documentation as of 11/6/2015. CloudKit limits grow with active user count.