database options and examples?

34 views
Skip to first unread message

Juan Patricio Di Bacco

unread,
Oct 3, 2016, 2:03:52 AM10/3/16
to Game Closure DevKit
Hi Guys,

How are you?

Not sure if the forum is still up, but I have to choose between one or the other. We want to make a social game (facebook) and save levels, coins, lives, etc in a database. We are not sure witch kind to choose or how to implemented yet. So far we got:
  • MySQL and PHP: we can make ajax calls with that, but we really would like to see an example in order to implement it.
  • Firebase: looks amazing, however we might need to create a functional plugin for that one.
  • Parse? we heard parse.com is moving opensource, plus we need to develop a plugin for that one.
Any help will be great for us!

Cheers!

Juan

Jishnu

unread,
Oct 3, 2016, 3:51:50 AM10/3/16
to game-clos...@googlegroups.com
Hi Juan,

We use MySQL-PHP for one game and NodeJS - MySQL for others. If you are 
asking for examples for the backend, look for REST api samples[1], if it is 
about client side, it is pretty straight forward[2].

I haven't used firebase or Parse yet, but seems like both have web support 
and should work with minor changes in their official js library.

Let me know if you need more info / code samples.


[1] https://www.google.com/search?q=php+rest
[2] http://docs.gameclosure.com/api/utilities.html#module-util.ajax
--
--
Regards,
Jishnu

https://j15h.nu

Ramprasad Rajendran

unread,
Oct 6, 2016, 2:43:59 AM10/6/16
to Jishnu, game-clos...@googlegroups.com
Hi Juan,

If you are using parse, we had written a parse plugin for gameclosure. We can opensource it and maybe you can extend on it if you like

Regards,
Ram

Juan Patricio Di Bacco

unread,
Oct 6, 2016, 3:07:02 AM10/6/16
to Game Closure DevKit, jis...@gmail.com, Ramprasad Rajendran
Hi Jishnu, Ram,

Thanks a lot for your answer, it's great to find people around.

I did some research with REST and it works great, however I'm still concern with security sending POST and GET through ajax, is there any way to protect the javascript code for facebook canvas or websites? I know devkit minifies all the code.

Ram, I would really like to see a parse plugin ! , I can help you with that. 

Parse supports push notifications and it's open source now.

Cheers !

Juan
Reply all
Reply to author
Forward
0 new messages