Advantages of using Firebase - sahajss/knowledge_base GitHub Wiki
Because my project required a lot of backend database scripting, I considered many options and received a few suggestions- Parse, PHP and SQL, Heroku, to name a few. It came down to Firebase and Parse, and seeing as Parse is shutting down, I ended up going with Firebase.
Firebase encompasses a lot while remaining easy to use. There are many advantages to using Firebase that I've found, such as:
- Simple App hosting
- Ability to set User authentication
- Manipulating, reordering, deleting data in database
- Data analytics available
- Flexible front-end (can be designed with simple languages like HTML, JS)
Hosting an app through Firebase is not difficult to set up. You first sign up for an account, create a web-based application, and then have a few small steps to set your app up. To enable Firebase into your app, you'll need to install the libraries with just 2 lines of code. This is easier and much more simple compared to downloading a folder of a ton of scripts, packages, and using a separate command prompt.
<script src='https://cdn.firebase.com/js/client/2.2.1/firebase.js'></script> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>Once you have that in your code, save that file into the folder in which you build your app. Transferring the code that you work on remotely/on your computer to the Firebase server is very simple, as there are only a few command prompt arguments. Firebase install will set up firebase within your folder/app, Firebase deploy will move all your remote files to the Firebase server, and Firebase open will open up your app and show you how it is on the web.
Like I mentioned earlier, you can build the front-end in a very flexible manner - using HTML makes the most sense because that opens the door for you to use other languages too and HTMl is pretty straightforward.
I've encountered certain challenges when it comes to the thought process of my app - I want to find relevant and reflective information and relay that to my users in an effective manner. Furthermore, I want the app to be user-friendly and beneficial to the user's decision making. Firebase has a lot of features that at least give me a shot of addressing these problems. For instance, Firebase allows users to format, manage, delete their own data. Furthermore, I can manage the database either manually (going onto the Firebase website, expanding/deleting,reordering data), or I can set a script to manage it.