®…­¸ç’ Firebase

  • View
    59

  • Download
    0

Embed Size (px)

Text of ®…­¸ç’ Firebase

Firebase

Firebase

outline 1

GoogleFirebaseAndroid/iOS/Web apps

Web,android,IOS Quickstart (sdk)

2

Firebase's primary product is a realtime database which provides an API that allows developers to store and sync data across multiple clients. 3

NoSQL(Not only SQL)NoSQL

Key-value StoresDocument Databases(firebase)Graph DatabasesColumn Family StoreNoSQL

4

Key-value Storeshashkeyex: int , string , a document 5

Document DatabasesJSON6

JSON{}[]

7

8

9

Graph Databases10

SQLforeign key primary key , join 10

11Column Family StoreKey-value Storeskeycolumn

12RDBMS NoSQL RDBMSNoSQLSQLSQLjoin()CPU,RAM,SSD

RDBMSNoSQL

13

AnalyticsAuthenticationRealtime databaseStorageHostingRemote ConfigAndroidTest Lab for Androidcrash

14

NotificationsDynamic LinksAdMob15

AnalyticsFirebasemobile app analyticswebGoogle Analytics

16

Authentication

ex:google , facebook code

17

Realtime databasejsonAPIREST API

18

Storage,,()

19

Hostingcodingfirebase20

Remote Configfirebase

21

AndroidTest Lab for Androidandroiddebug$$

22

crash23

Notificationsfirebase24

Dynamic Links(ios,android)25

AdMob

testad

26

firebase()Authentication Realtime database Storage Hosting

27

mkdir filenamecd filename

npm install -g firebase-tools(firebase )

firebase login (google)firebase init()28

()

web-startfilename publicex:public directory ./

29

()firebase use --add

firebase deploy(firebase)

(locat)firebase serve30

web

firebasewebindex.html

auth->google->active31

main.jsfirebasecodeSignin , Signout codeCheckcodecode

32

Database

.write.read.validate.IndexOn(orderByValue())

33

34Write

35

36

37

38

39

40

firebase.json,public

hosting"ignore": [ "firebase.json", "database-rules.json", "storage.rules" ]41

Android androidRemote configNotificationsAdMobCrash

42

Android Remote configLong friendly_msg_length = mFirebaseRemoteConfig.getLong(friendly_msg_length);appappstore , playstore43