What is Firebase?

W

Have you heard about Firebase? If yes, then you must know that it is a Backend as a Service aka BaaS. But, relatively with the time, this service gained so much popularity that Firebase becomes the next generation app development platform on Google Cloud Platform.



It is a fantastic platform for developers to create amazing user-oriented apps. Developers can craft cool apps using Firebase and that’s without managing servers or writing APIs. Firebase can be your server, APIs and datastore. There are so many different levels present in this system to understand them, you can watch Hitesh Choudhary’s Firebase Youtube video.



It’s Real-time Database



Having real-time data is one of the most important future requirement. As today most of the database makes calls using HTTP, but when you are connecting using Firebase, then you are not using regular HTTP. You are connecting using web sockets which are very fast.


With Web socket, you won’t have to make individual calls as one socket is sufficient. All of your data syncs automagically through that single WebSocket as fast as your client’s network can carry it. Firebase sends you quick updates as soon as your client receives them.



It’s Storage System



Firebase offers a very easy way to save binary files, mostly images, but it can store anything Google Cloud Storage directly from the client. It has its own set of rules to preserve your GCloud bucket from the masses. And, offers detail authentic certification to your regular clients.


It’s Authentication



Firebase auth has created an email authentication system and also provides support to OAuth2 for Google, Facebook, Twitter and GitHub. Firebase’s OAuth2 system is well curated with the solid documentary base.



However, custom authentication is very bad, but you can’t find anything better than that. Firebase Auth integrates directly into Firebase Database, this way you can use it access control over your data.


It’s Hosting



It has easy to load hosting server for your all static files. It serves all your files from the global l CDN with HTTP/2. To make your hosting quick, Firebase uses Superstatic, which you can run locally for all of your testings. Following example is given using gulp, but it’s up to you.


var gulp = require(‘gulp’);
var superstatic = require(‘superstatic’);
var browserSync = require(‘browser-sync’).create();

gulp.task(‘serve’, function() {
 browserSync.init({
   server: {
     middleware: [superstatic({stack: ‘strict’})]
   }
 });
 gulp.watch(‘public/*.html’).on(‘change’, browserSync.reload);
});


It’s Fully Functional



Using Firebase, a bunch of lucrative google products have been created and will be more created in the near future. We don’t have information on the future products, but we have the name of a few already operating products like Remote Config, Test Lab, Crash, Notifications, Dynamic Links, AdMob. Some of these features are applicable in Android and iOS devices.


Pros

  • You can authorize Google, Email & password, Facebook and GitHub
  • Data can be stored in real time
  • You get already maid API
  • Built-in security at the data node level
  • File Storage is backed by Google cloud so your data always remains safe
  • It can easily host static files
  • Built-in security at the data node level
  • You don’t have to worry about your infrastructure



Cons

  • You have limited queries option because of Firebase data stream model
  • Traditional relational data models are not applicable to NoSQL; therefore, your SQL chops will not transfer
  • Don’t need to premise install



So, folks that were Firebase in nutshell, if you want to know more about it, then check out our experts take on it.

About the author

Arpit Agarwal

I am a freelancer content writer, web developer and Video editor who loves to write technical stuff and on the other hand makes awesome videos as well. I like to make people happy with my writing and also try to make sure, you come back to read more.

By Arpit Agarwal

Most common tags

%d bloggers like this: