I develop Native iOS and ANDROID projects. And I am using PARSE.com. It is great for synching data to mobile devices. I am guessing that PARSE.com is actually a mongoDB system. I have it working perfect on my Mobile apps. Both iPHONE and ANDROID.

https://parse.com/docs/rest

However, I want to synch data back to DRUPAL. And I am stuck. So I thought I would break this into a couple of questions.

1... Can I post Data FROM DRUPAL to PARSE.COM. this seems to be pretty simple. Just use SERVICES module, and write some kind of Process that Will read a JSON file, and POST or PUT it to the PARSE.com DB.
Options include, writing an external node.js, or php program that will just fire events.
Perhaps doing a CRON module of some type that will do the same thing.
Any other options?
However, there is some pretty tricky security to include in the CODE.
But how do you determine which Fields to synch and Not synch. I think this is case specific.

2... How can I synch the data from PARSE.COM to drupal. This seems like a FEEDS project.
But I am not sure how to just pull the records that have note been synched. These records are just log events, and are not updated. I was thinking of using the date field, but it seems like there should be a better way.

Anyway, I wanted to do some thinking out-loud before I try to do something. Any thoughts, suggestions would be very helpful. This should probably become a WIKI page someday.

Comments

redsd’s picture

Hi, well there is a php libary for parse found here: https://parse.com/docs/api_libraries

You could probally use REST server to communicate, but I think you would still have to create a module in drupal to sync data with whatever you need.

avdan’s picture

Hi, I am having more or less the same issue as you, not being sure as how to handle the Drupal integration with Parse.

I was wondering if you manged to do the Parse integration the way you described it, or used a different approach.

Any response will be greatly appreciated!
Thanks!

banquo’s picture

Hi,

I am also stuck with the same thing. Did you find a solution to this?

Would be super happy if you could help,
thanks in advance!

issa.haddadin’s picture

i kinda faced the same problem, so i wrote a module for it, https://www.drupal.org/project/parse_crud.

Please check it, your contributions is welcomed and appreciated.

Issa Haddadin.