Firebase
Firebase ist Googles Plattform für Web- und mobile Anwendungen. Unter dieser Plattform laufen viele Anwendungen, wie zum Beispiel
Services
- Firebase Real Time Database as a Service (DBaaS): Firebase provides a realtime database and backend as a service. The service provides application developers an API that allows application data to be synchronized across clients and stored on Firebase’s cloud. The company provides client libraries that enable integration with Android, iOS, JavaScript, Java, Objective-C, Swift and Node.js applications. The database is also accessible through a REST API and bindings for several JavaScript frameworks such as AngularJS, React, Ember.js and Backbone.js. The REST API uses the Server-Sent Events protocol, which is an API for creating HTTP connections for receiving push notifications from a server. Developers using the realtime database can secure their data by using the company’s server-side-enforced security rules.
- Firebase Auth is a service that can authenticate users using only client-side code. It supports social login providers Facebook, GitHub, Twitter and Google. Additionally, it includes a user management system whereby developers can enable user authentication with email and password login stored with Firebase.
- Firebase Storage provides secure file uploads and downloads for Firebase apps, regardless of network quality. The developer can use it to store images, audio, video, or other user-generated content. Firebase Storage is backed by Google Cloud Storage.
- Firbase Hosting is a static and dynamic web hosting service that launched on May 13, 2014. It supports hosting static files such as CSS, HTML, JavaScript and other files, as well as dynamic Node.js support through Cloud Functions. The service delivers files over a content delivery network (CDN) through HTTP Secure (HTTPS) and Secure Sockets Layer encryption (SSL). Firebase partners with Fastly, a CDN, to provide the CDN backing Firebase Hosting. The company states that Firebase Hosting grew out of customer requests; developers were using Firebase for its real-time database but needed a place to host their content.
Open Source Projekte
- Firepad is an open source collaborative real-time editor. Released under the MIT License, Firepad is used by several editors, including the Atlassian Stash Realtime Editor and Koding.
- Firechat is an open source realtime chat application. It is released under the MIT License.
- GeoFire is an open source library that makes use of the Firebase realtime database, allowing app developers to store and query a set of keys based on geographic location.
Firebase und P5.js
Da Firebase eine JavaScript-API besitzt, läßt sie sich natürlich auch via P5.js ansprechen. In dieser Coding-Challenge zeigt Daniel Shiffman ein Beipiel. Weitere Einführungsvideos zu Firebase und P5.js sind:
- What is Firebase? (Database as a Service) - Programming with Text
- Firebase: Saving Data - Programming with Text
- Firebase: Retrieving Data - Programming with Text
Kosten
Für alle Firebase-Produkte gibt es einen limitierten, aber kostenlosen Account (frei wie 🍺 Freibier). Diese Limitationen sind zur Zeit (November 2017) sehr großzügig bemessen. Wer dennoch mehr benötigt, muß zahlen.
Literatur
- Julia Schmidt: Firebase soll universelle App-Plattform werden, heise Developer vom 19. Mai 2016
Links
- Firebase Home
- Firebase Pricing
- Firebase Docs
- Firebase @ GitHub
- Firebase @ Facebook
- Firebase Blog
- Firebase in der Wikipedia
Sie sind hier: Start → Webworking → Webservices → Google → firebase.txt