We like database listeners and we use Firebase. We like these so much that we have been putting plenty in our code at some point and we quickly understood that was not a good idea.
First to set up a listener with Firebase Real-Time database, you just need to use the “.on()” function provided by Firebase library and define 3 parameters:
An ‘OnAdded’ function that will be called each time a new entry will be added into the database path you defined, an ‘OnModify’ and ‘OnDelete’ function.
You will find this so easy and useful when building a reactive application…
You want to use Firebase but you don’t have a bank account full of money?
Prepare yourself for not being able to pay your bills and go to jail… or read further!
When we built our last app, we, as most developers would do, looked at the pricing table and the different Firebase Pricing plans we had there. This looked very reasonable first.
Unfortunately, quickly we found that building a simple Chat application with firebase was easy, but we also found that this could easily turn into thousands of dollars bill with just few users logged in and chatting….
When we built our last app, we did not want to spend time in buying servers or Kubernetes instances on the cloud. And spend days or weeks in building either images, servers, setting these up, configuring these,…
But still!! Like everyone, we needed to have:
We decided to use Firebase:
Developer / Designer