[plugin] firebase

Post your completed addons to share with the community

Post » Sat Feb 06, 2016 2:22 pm

@Tymberk

You might see my demo - "King of clicking" in the 1st post of this thread, source capx is included.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Sat Feb 06, 2016 3:11 pm

I saw it already, but I don't understand the definitions from like ""/ClickCount/" & Firebase.MyUserID & "/"".. I never had stuff like this to do, I don't know how networking works but I still want to make this, and I have the motivation to learn. To be honest, I checked every demo capx, every line but some things just don't make any sense to me as a newbie and I can't do it by myself.
B
3
S
1
Posts: 7
Reputation: 339

Post » Sat Feb 06, 2016 3:15 pm

@Tymberk

"ClickCount" is the total points of a player, you might increase this value by your logic. For example, player gains 1 coin in the game.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Mon Feb 08, 2016 2:10 pm

Update

Merge properties of api key and javascript key in my all rex_parse_* plugns, into a new plugin named "rex_parse_initialize". This plugin has 3rd property named "Server URL", which could be used to set the URL of unofficial parse server. (Since official parse server will be closed at Jan, 28, 2017.)
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Thu Feb 11, 2016 2:35 am

I had deployed open source parse server successfully following this blog -
Hosting Your Own Parse on AWS and Heroku

Now my rex_parse_* plugins could be used in my parse server.


@newt

It is very easy to deploy parse server on heroku service.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Thu Feb 11, 2016 2:53 am

Yep, that is what I call an elegant solution.
Excellent work.
Image ImageImage
B
170
S
50
G
178
Posts: 8,378
Reputation: 112,925

Post » Sun Feb 14, 2016 3:43 am

@jomo had wrote a tutorial for installing parse server on heroku platfrom.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Mon Feb 15, 2016 10:51 am

Hi Rex, is there a way to search for a key or value in firebase without knowing if they exist? It seems the plugins crash when searching. I tried the query and filter plugins. Any ideas?

I'm want to use fb for one user to enter a title (fb key) and text (fb value). Then enable another user to search for the title. If the title exists, I'd like the second user to download the text linked to the title.

Thanks
B
17
S
2
Posts: 88
Reputation: 1,503

Post » Mon Feb 15, 2016 4:21 pm

Update - rex_firebase_query plugin, add "Action:Order by value".



@hmott

Since the data structure in firebase is dictionary, add the key in path will get the respond value if the key is exited.
To search keys which has a specific value, you could use "Action:Order by value" ( sorry I had missed this action ),
create query
order by value
equal to -

then a 1d dictionary will be received.
B
109
S
27
G
276
Posts: 4,479
Reputation: 154,418

Post » Mon Feb 15, 2016 9:29 pm

rexrainbow wrote:Update - rex_firebase_query plugin, add "Action:Order by value".



@hmott

Since the data structure in firebase is dictionary, add the key in path will get the respond value if the key is exited.
To search keys which has a specific value, you could use "Action:Order by value" ( sorry I had missed this action ),
create query
order by value
equal to -

then a 1d dictionary will be received.


Thanks for such a quick update!
B
17
S
2
Posts: 88
Reputation: 1,503

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests