Online database options for swift and php application

Hi Guys,

I’m newbie in swift topic, so I need to ask. I’m looking for a common database solution for an ios app and a php website. Both stuff should create/update/retrieve data from a common database but I’m not sure which solution would be the best and easiest. My idea wouldn’t require big database, just db should be synced.

  • Mysql with php → custom api and reading json from swift side
  • realm, firebase or any other online tool?

Any suggestion would be appreciated!

@brobee Thanks very much for your question!

Realm is a lightweight third party solution for local storage, so I don’t think that’s something you’re looking for.

Firebase is a very popular (and free) service offered by Google which can support multiple platforms including Android and Web :slight_smile:

We have a free tutorial on Firebase which you can find here, and you can also find a full course on Firebase which we offer here.

I hope this helps!

All the best!

Thank you for your answer! Realm is local db, so it’s not good for me because I need to sync between apps. (ios-web) Firebase is my choice as well, but it has not php JDK and reading data from FB can be difficult. Any other option? :slight_smile:

@brobee You could consider the Parse server that is now open sourced. You can found the home page here. It’s an alternative to Firebase, however, I’m not sure if it offers the support that you’re specifically looking for :frowning:.

This topic was automatically closed after 166 days. New replies are no longer allowed.