Firebase related

Source: Internet
Author: User


Google launched a new version of Firebase at the 2016 I/O conference. The Firebase platform provides a complete solution for creating back-end architectures for Mobile (iOS and Android) and Web-based.

From the start of the mobile backend as a service (Mobile-back-end-as-a-service, abbreviated MBAAS), Firebase has been transformed by Google into a complete back-end solution for mobile development and WEB development. Firebase provides an SDK and a console for creating and managing apps for multiple platforms, such as Android, iOS, and the Web. Firebase has the following features:

  • admob--integrates with Google AdMob
  • adwords--integrates with Google AdWords
  • Statistical analysis (Analytics)--for monitoring user behavior, demographic segmentation, and activity effectiveness analysis
  • Crash report (Crash Reporting)-Monitors errors applied on all types of devices. Integrate with statistical analysis features to assess user behavior when application crashes
  • Database--A NoSQL database for storing JSON data
  • Dynamic Links--deep links that bring users to the expected pages in the app
  • Hosting (Hosting)--a global CDN for WEB applications
  • Index (indexing)--index The app for Google search
  • Invite (Invites)--enables users to share information about the app with other users
  • Message (Messaging)-The previous Google Cloud Messaging, which was later renamed Firebase Cloud Messaging
  • Notifications (notifications)--Manage notifications to users
  • Offline (Offline)--enables apps to store data in the local cache so they can stay running while offline
  • Real time--data is saved to the cloud database in real time
  • Remote config-enables developers to modify the behavior and appearance of the app without requiring users to download the new version of the app. This feature modifies the visual theme of your app to meet the needs of different groups of users, run A/B testing, and more.
  • Storage (Storage)--store users ' voice, pictures, and videos
  • Sync (synchronization)--When the data on the device changes, it is pushed to Firebase and then pushed back to all associated devices. In addition, the device will automatically update to the nearest snapshot when it is re-online after being offline
  • Test lab-Test your app on real-world devices

All of the above features are available for Android and iOS development, except that the test lab does not support iOS devices. Some features do not yet support Web apps.

The Firebase SDK supports programming in languages such as C + +, Java, JavaScript, Javascript/node.js, Objective-c, and Swift. Support for Angular, Backbone, Ember, and React is implemented by binding to the database. Google offers a number of ancillary development libraries: Firebase UI, Geofire, Firebase Queue, Firebasejobdispatcher. The names of these libraries illustrate their purpose. Firebase also supports importing large-scale JSON datasets that can be integrated with ElasticSearch.

Firebase is maintained by Google and hosted in its cloud data center. For users who want to experience, FIrebase offers a free plan. It also provides a pay-as-you-grow plan that provides full integration with the Google Cloud platform.

If you want to learn more about Firebase's operations, we recommend watching these videos at the Google I/O Conference: Firebase Overview, migrating to Firebase, using Firebase analytics to develop great apps, Firebase validation Primer, Deep parsing of real-time databases.

View English Original: Https://


A few days ago translated a video about Firebase's introduction io, write an article here to summarize

The presenter is the co-founder of James Tamplin,firebase, who loves his accent (face xd)

James Tamplin Hot field

First, he was talking about the cumbersome software development process 10 years ago, which led to Firebase's purpose and their focus.

Then he drew out the firebase very important three points of concern 用户 , 数据 and任务


The first thing to do is 谷歌云服务平台(Google Cloud Platform) start

    • At its lowest level is the infrastructure layer, which means that the 谷歌计算引擎(Google Compute Engine GCE) physical machine presents a virtual form

    • Next is the container layer, which 谷歌容器引擎(Google Container Engine GKE) allows you to run the software without considering the underlying hardware

    • The next layer is the platform layer, that is 谷歌应用引擎(Google App Engine GAE) , with it you can not consider memory, CPU and system updates, you only need to give it back-end code, it can receive, deploy, run and process, which makes everything more efficient

Level Show Theme


Then it's time for firebase to play.


In short, it's a platform to help you quickly develop efficient mobile and web applications.

And I think it is a combination of backend and database, so that the original three-layer structure into a two-layer structure, that is, the integration of the back-end framework, so that development is faster

Three-layer structure

Device-->application Server-->database

Two-layer structure

Device-->firebase (Hook Server or third part API)

It has three main functions: 用户认证 , 实时数据库 and托管服务

    • User authentication: If you build an app, then you need to do a user authentication system, and Firebase allows you to connect to third parties with email and password, such as Facebook,twitter and so on. All you have to do is use a server-side library to generate JSON Web tags and another open standard so you can tell Firebase who your users are.

    • Real-time database: Firebase is a real-time NoSQL JSON database that has all the data in the database in JSON form, and they also map each key value (mapping), which enables millisecond-level data push. The other thing is that the client can not communicate with the server directly to access the database

Data synchronization
    • Managed Services: A typical example is when the British general election, Sky News uses Firebase to synchronize the election data, the application every day has millions of of traffic, and Firebase to host the data and synchronize to millions of of users, More exciting is that the application was developed and put into use within a few weeks.
New features
    • Phone offline support (mobile Offine supports)

All data will be present on your disk, not just memory

When you're offline, all your data is kept as up to date as you can.

When the network is reconnected, the app syncs right away to keep your data up to date

Everything will be restored when you re-open the app

    • Supports React Native (React Native support)

React native is an open source library for Facebook, and Facebook has a team that is using it

The firebase is the back end of the drive react native and works perfectly together

React changes your UI when your data model changes, while Firebase is responsible for real-time updates


Firebase gave me the deepest impression is that the integration of the backend framework, which greatly changed the original software process

In the past, software development was to design a database, then set up a server, and finally on the application side of the development

It's time for you to start a firebase project, hang up the server, and, if necessary, hang on to third-party APIs, and then you can develop

You just have to throw the backend code to firebase and it will automatically process and return the data you want.

James Tamplin A lot of examples of rapid development, and here I don't give an example.

If you are interested in children's shoes, you can click on the link below to download or watch James Tamplin's speech online

Don ' t worry, all translations I have done, if the viewing process found insufficient, also welcome correction

    • Trello Task Panel
    • Martin 20150817 early morning writing

Reference Links:



Firebase related

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: