Ask tech team
From QuickBlox Developers (API docs, code samples, SDK)
Jump to: navigation, search


Parse to QuickBlox Tutorial

Parse to qb.png

The Parse hosted service will be retired on January 28, 2017. If you are planning to migrate an app, you need to begin work as soon as possible.

Why QuickBlox?

QuickBlox provides 2 big feature-sets:

  1. Complete backend service for your mobile apps with datastore, push notification services, location features and content storage.
  2. Communication platform with instant messaging, files attachments, video and audio chat.

If you’re moving from Parse to QuickBlox, here are a few initial points to bear in mind:

  • Data storage - Parse referred to data objects as Classes; we call them Custom Objects.
  • Access Control Levels - QuickBlox provides for ACLs for Custom Objects (we call it Permissions), similar to Parse.
  • Push Notifications - QuickBlox provides for full push notifications, very similar to Parse.
  • User base management - Parse can have anonymous users for almost everything; QuickBlox has explicit user requirements for some objects (such as custom object, chat messages/dialogs, file storage).
  • Cloud Code - it's not covered at the moment, we are working hard to release it.

For the full SDK reference, check out our:

  1. Quickblox iOS SDK documentation
  2. Quickblox Android SDK documentation
  3. Quickblox Web SDK documentation
  4. Quickblox REST API documentation

Data Storage migration guide

QuickBlox provides an easy way to migrate your Parse Data Store data to QuickBlox. In QuickBlox world, we call it Custom Objects. In order to start data migration it will be helpful to read Custom Objects documentation.

Let's start.

Parse data export

Go to Parse dashboard, select your app, navigate to Core->Browser. On this page, there are all your classes. You should migrate them one by one.

For example, We have a class called ToDo:

Parse datastore1.png

To export all records from the class ToDo click on Edit -> Export this data button:

Parse datastore2.png

You'll receive an email with a link to your exported data (a zip file with ToDO.json inside) when it's done.

QuickBlox data import

Go to QuickBlox admin panel, open Custom Objects module:

QuickBlox import1.jpeg

If you don't have an account or don't know how to create application - please follow 5 mins guide

In Custom Objects module click Add->Add new class button, enter class name and add all needed fields:

QuickBlox import2.png

Click Create class button. You have created a class with no records:

QuickBlox import3.png

Also, in order to import Parse's json file we have to do the following changes:

  • add objectId, createdAt, updatedAt fields of type String to a class schema above.
  • remove { "results": [ ... ]} wrapper from json file.
  • remove comma between records in json file.

To import data go to Import tab, choose the ToDo class, choose file to import (in our case it's todo.json) and click Import button:

QuickBlox import4.png

Your data will be processed and imported. Wait until status field will be complete in Jobs table.

Then back to List tab and check your data:

QuickBlox import5.png

Need migration support?

Just ping us anytime on – we are ready to help you.