Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Parse.com plugin v2
Started by Develephant Oct 24 2015 08:58 AM

- - - - -
70 replies to this topic
parse cloud coronium api develephant users database
[TOPIC CONTROLS]
Page 1 of 3 1 2 3
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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.

 

 



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,585 posts
  • Corona SDK

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



[TOPIC: post.html]
#3

nmichaud

[GLOBAL: userInfoPane.html]
nmichaud
  • Contributor

  • 492 posts
  • Corona SDK

@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 :)

 

Nick



[TOPIC: post.html]
#4

Vince_

[GLOBAL: userInfoPane.html]
Vince_
  • Contributor

  • 305 posts
  • Enterprise

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?



[TOPIC: post.html]
#5

undecode

[GLOBAL: userInfoPane.html]
undecode
  • Contributor

  • 198 posts
  • Corona SDK

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 !



[TOPIC: post.html]
#6

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

Hi,

 

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

 

 

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.



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,791 posts
  • Enterprise

** applause **



[TOPIC: post.html]
#8

jojo83

[GLOBAL: userInfoPane.html]
jojo83
  • Observer

  • 1 posts
  • Corona SDK

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 !



[TOPIC: post.html]
#9

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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.



[TOPIC: post.html]
#10

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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

 

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

 

Support at http://support.coronium.io

 

Enjoy.



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,791 posts
  • Enterprise

And..... there was much rejocing!!!!

 

Rob



[TOPIC: post.html]
#12

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

...as long as it works.  :ph34r:



[TOPIC: post.html]
#13

egruttner

[GLOBAL: userInfoPane.html]
egruttner
  • Enthusiast

  • 76 posts
  • Corona SDK

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.



[TOPIC: post.html]
#14

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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.



[TOPIC: post.html]
#15

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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. :)

 

Enjoy.



[TOPIC: post.html]
#16

tony leung

[GLOBAL: userInfoPane.html]
tony leung
  • Enthusiast

  • 46 posts
  • Corona SDK

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.`



[TOPIC: post.html]
#17

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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.



[TOPIC: post.html]
#18

tony leung

[GLOBAL: userInfoPane.html]
tony leung
  • Enthusiast

  • 46 posts
  • Corona SDK

wow, thank you for the real time answer :)

 

is the plugin a pure lua? 

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

 

3.

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 :)



[TOPIC: post.html]
#19

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

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.



[TOPIC: post.html]
#20

tony leung

[GLOBAL: userInfoPane.html]
tony leung
  • Enthusiast

  • 46 posts
  • Corona SDK

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.



[TOPIC: post.html]
#21

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

[TOPIC: post.html]
#22

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,791 posts
  • Enterprise

I've asked engineering....

 

Rob



[TOPIC: post.html]
#23

Michael W.

[GLOBAL: userInfoPane.html]
Michael W.
  • Contributor

  • 276 posts
  • Alumni

You should be able to drop the "plugin" folder into your project (the Corona folder in your Enterprise solution) using Develephant's link above.



[TOPIC: post.html]
#24

tony leung

[GLOBAL: userInfoPane.html]
tony leung
  • Enthusiast

  • 46 posts
  • Corona SDK

Thank you Guys,

so far so great.

 

develephant, last two questions, I think will be interesting for many guys:

- I saw in some place that in order to use Push notification (register users to channel, and later send them notification from Parse server) there is a need to use parse SDK, how that works with the parse plugin?

- In general, if we found for some reason that we need to implement some parse functionality in native plugin, would that Co-exist with the parse plugin?

 

thank you for your time

and for your helpful answers.



[TOPIC: post.html]
#25

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,450 posts
  • Corona SDK

Hi,

 

Parse eventually added the ability to handle Android registrations in the REST API, so that is completely supported in the plugin.

 

Though I have no concrete evidence, I don't think you should have any issues using both if needed.

 

Hope that helps.

 

Cheers.




[topic_controls]
Page 1 of 3 1 2 3
 
[/topic_controls]