getting started with firebase - inovex gmbh · johannes reuter master student hs karlsruhe...
TRANSCRIPT
![Page 1: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/1.jpg)
Getting Started with Firebase
![Page 2: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/2.jpg)
Johannes Reuter
Master student HS Karlsruhe
currently writing my thesisneural networks in the web
@johannes_reuter
Günter Josef Radig (https://upload.wikimedia.org/wikipedia/commons/7/7d/Karl-Friedrich-Denkmal_am_Schlossplatz_Karlsruhe_%28cropped%29.JPG)
![Page 3: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/3.jpg)
The Problem● Fat clients
● Backends always very similar (“dumb backend”)
● Lots of code for a simple backend
● Hosting ($$$)
● Security
● Monitoring
● Scaling
● ...
![Page 4: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/4.jpg)
The Solution● BaaS - “Backend as a Service”
● a.k.a Serverless Apps
● Hosted Service
● Generic APIs (get and set)
● Register and ready to go (“in the cloud”)
![Page 5: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/5.jpg)
Firebase ● Maintained by Google since 2014
● Realtime-Database
● Lots of auxiliary features
● Free for small apps
● iOS, Android and Web ...
![Page 6: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/6.jpg)
Features
Authentication by Google, Facebook, GitHub, E-Mail
Integrated Hosting
File-Storage
Security Rules for Database
Cloud Messaging
![Page 7: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/7.jpg)
Web-like features for Android and iOS
Analytics → Google Analytics
Dynamic Links → <a href=”myapp.com/deep/link”>Click me</a>
App Indexing → Webmaster Tools
AdWords Integration → AdWords
![Page 8: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/8.jpg)
Example● Twitter-Clone● 30 mins from scratch● HTML / CSS / Javascript
Features:
● Login via Google● Realtime-Updates● Search-Function
![Page 9: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/9.jpg)
Demo-Time
![Page 10: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/10.jpg)
Takeaways● Very fast prototyping
● Security can be tricky
● No full-fledged database○ Advanced Indexing○ Aggregation○ ...
→ Possible solution: Microservices connected to Firebase
![Page 11: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/11.jpg)
(Almost) Serverless Apps
Aggregation
Indexing
Batch-Jobs
User
Firebase
App Engine
![Page 12: Getting Started with Firebase - inovex GmbH · Johannes Reuter Master student HS Karlsruhe currently writing my thesis neural networks in the web email@johannes-reuter.de @johannes_reuter](https://reader033.vdocument.in/reader033/viewer/2022042209/5ead520738d9594b1210b577/html5/thumbnails/12.jpg)
Upshot● Fast development
● Easy to use
● Focus on the business logic
● Lots of features
● Not suited for all apps