Introduction to Firebase/Cloud Firestore with PHP Laravel 8
In this tutorial, we will discuss basic knowledge of the Firebase / cloud Firestore database, and integration with PHP Laravel 8 Framework.
What is Firebase?
Firebase is a NoSQL document b database backend platform for developing Web (Android, and IOS) applications. Firebase easily store, sync, and query data for your mobile and web apps – at global scale.
Firebase is a backend platform developed by Google for building mobile (Android, and IOS) web applications. It was originally an independent company founded in 2011. In 2014, Google acquired the platform.
Firebase database Structure:
In MySQL database you have data tables and in tables Rows / Columns, While in Firebase have Collections and Documents.
MySQL > Databases > Tables > Columns/Rows
Cloud Firebase > Collections > Documents
- Real-time Database:
Firebase offer anonymous, password or different social authentication like Google, Facebook, Twitter, GitHUB and Email.
The applications can be deployed over secured connection to Firebase servers.
Firebase Database Types:
Firebase has two types of database:
- Realtime Database
- Cloud Firestore
Realtime and firestore both are same but the Realtime is old version and Cloud Firestore is the new updated version. Google also recommends Cloud Firestore for new projects. The Realtime database stores the data as one large tree in JSON while Firestore is collections of documents.
- It is simple and user friendly.
- No need for complicated configuration.
- The data is real-time, which means that every change will automatically update connected clients (Automatically Synchronize).
- Firebase offers simple control dashboard.
- There are a number of useful services to choose.
Next tutorial will discussed, Laravel 8 introduction and Installation.
Any Kind Of Help Or Needs So Contact Me:
Facebook Group: [ https://www.facebook.com/Tutorials-Ocean-185506455425271/ ]
Cloud Firestore, Real Time database, NoSql Database, Laravel 8, Tutorials Ocean