Parse.com plugin v2

Hi,

I have nearly finished the new Parse.com plugin for CoronaSDK which should be released in Nov.

If you want to get a jump start on how the plugin works, you can check out the Development Guide and API reference at parse.develephant.com.

The plugin is not backward compatible with mod_parse, so this will only work with new or retrofitted projects.

Cheers.

Chris,

As always, I’m extremely grateful for your laboring and sharing such incredible pieces of work that really make it so much easier for developers like myself to create bigger and better projects with richer back-ends.

I’m digging through your new site and API right now.

Thanks!

-Ed

@develephant, this is awesome news. Again, your contribution in helping the community is outstanding. We can’t wait to migrate to it as already we are using your current parse library for 2 projects.

If you need some beta user, don’t hesitate to ask :slight_smile:

Nick

Wow! Mod_parse, coronium, coronium gs, coronium ace, and now this plugin. You da man Chris! I see that this plugin uses the REST API just like mod_parse. Can you tell us what the advantages of the plugin are?

This is awsome news.

I gave the Parse mod a try couple weeks ago and it’s really good. 

What is the main difference between the old version and this new soon-to-be-released version?

Thanks !

Hi,

tl;dr  It’s current, simpler to use, and more full featured. :slight_smile:

Some of the advantages of the new plugin are:

  • Rebuilt code base from the ground up (mod_parse is aging in Internet years).
  • Full access to the Parse API, with a framework to add any new functionality easily.
  • A more ‘query’ like syntax to make it easier to work with the API, including full support for all query operators.
  • It’s a Corona Plugin (not a stand-alone module) so updates and distribution are easier to maintain.
  • Completely documented, with lots of conversion examples from Parse JSON to Lua.
  • Lots of under the hood improvements.

One of the main sticking points most reported with mod_parse is dealing with complicated queries, and how to format those properly. The aim of this plugin is to remove that friction as much as possible with a clearer and simpler syntax, and more in-depth documentation addressing that process.

In addition, the code base will be easier to keep up to date, allowing me to add new Parse functionality as it’s released (as long as it’s included in the REST API of course).

If mod_parse is working for you, you can keep on using it for the simpler use cases, but if you want to get more control over your queries, and access to Parse functionality in general, the plugin will be the way to go. Additionally, mod_parse will not recieve any more updates (except bug fixes) once the plugin releases.

Hope that helps. Thanks for the kind words.

Cheers.

** applause **

Hello !

Your work is awesome ! I discovered Parse mod 1 week ago and it was a very good experience. 

But I have a problem with your new plugin, I can’t download it using your publisherId = “develephant.com” in my build.settings.

Anyway thanks a lot with your great work !

Hi,

Thanks for the kind words.  The Parse plugin has not been released yet. It’s done, but going through the submission process now.

Should be soon!

Cheers.

I’m happy to announce that the Parse plugin for Corona SDK has been officially released.  :smiley:

https://store.coronalabs.com/plugin/parse

Support at http://support.coronium.io

Enjoy.

And… there was much rejocing!!!

Rob

…as long as it works.  :ph34r:

Thank you very much develephant…amazing work as always!!!

One question…can I use push notifications now with Parse and Android?

Thank you in advance.

Best regards,

Erich Grüttner D.

Hi,

Yes. Everything from the REST API is accessible. Take a look at these docs.

http://parse.develephant.com/CH2_Usage/#examples (Look at the “Creating an Installation” section)

https://www.parse.com/docs/rest/guide#push-notifications-uploading-installation-data (Look at the Android specifics).

Be sure to read through the developer guide on parse.develephant.com.

Cheers.

Hi,

Assuming I did everything properly, a new update to the Parse plugin should be propagating.

New additions include Macros and Batch Operations.

This update was generously sponsored by Nick (nmichaud) here on the forums. Thanks Nick!

If you find this plugin useful, consider a sponsor donation. You’ll even get your name on the sponsor list. :slight_smile:

Enjoy.

Hi develephant,

thank you for the huge contribution.

I am an Enterprise SDK user, and I was thinking to use Parse as native plugin, but then I saw your plugin and the positive comments about. so can you please help me figure it out.

  • can/how Enterprise user can use your plugin?

  • is there difference in performance between native plugin and REST API plugin, e.g. delay time?

  • and if possible are there complete examples for downloading parse Files and Parse.Config?

I will deeply appreciate prompt answer as I already working on it,

Thank you.`

Hi,

To answer your questions the best I can:

  1. I have no idea how to integrate the plugins with Enterprise projects. Hopefully someone from CoronaLabs will help answer that one.

  2. Again, not ever using a native plugin, I can’t really say. My guess is the network transfer speed isn’t going to change much, but there may be some caching benefits using a native plugin. Security may be more tightly integrated to the phone, etc.

  3. What kind of examples are you looking for specifically? Parse.Config works just like a regular Parse.Object. Managing files is up to each developers system. Downloading them is just a simple act of providing the uri that you receive from Parse.

My guess is a lot of the native plugins use the REST API as well, just in a more indirect way.

Hope some of that helps.

Cheers.

wow, thank you for the real time answer :slight_smile:

is the plugin a pure lua? 

I will check with @CoronaGuys. can anyone hear me here, to make answer clear for all.

for the file example, my use case is very simple I want to set static files in Parse server, and make user download them, without to be able to upload or remove files?

for the config File as I understand, there is one REST API call that return all Paramters as json file, which should be stored locally to be later used, is that correct?

Thank you again and again :slight_smile:

Hi,

Plugin is pure Lua. But Corona also adds a compilation step to the files. I’m not sure how that affects Enterprise use.

I have never uploaded files to Parse in advance, is that a newer feature? or were you thinking of uploading them from the desktop client? It’s really just a matter of creating an “Image” class and making sure to store the uri you receive from Parse after upload.

There are many ways to handle a “config” file. I believe Parse provides the Config class just to help give it structure. Because, again, it’s really no different than if you created your own “Config” class on Parse.

When you are using the Corona Parse plugin, all results are returned in a table. You can store that incoming “Config” table in your app for later use (however you decide to enable it). There is no need to think about the JSON part.

Hope that helps.

Cheers.

Hey,

yes I thought to upload them from “Master” client and then associate them with object that gives name to file-id mapping.

is the compiled lua file public?

Thank you.