Mobile App Quiz 5 Flashcards
firebase is a
NoSQL JSON tree doc
can firebase be relational?
yes, but it does it differently - a nested tree
firebase uses ? database storage
key-value
explain offline support
any changes a user makes will be stored on the device until it can be uploaded to the database
firebase provides
authentication, hosting, realtime, and offline support
the goal is to keep the data structure as ? as possible
flat
firebase allows nesting up to ? levels deep, but nesting yields a ? issue
32; time
when you fetch data from a firebase tree, you also fetch
all of its child nodes
firebase uses ? and ? to retrieve data
web socks and REST API
web socket
computer communications protocol providing full duplex communication channels over a single TCP connection
what does full duplex mean
two-way; like phones, NOT like walkie talkies (you CAN talk over each other)
TCP stands for
transmission control protocol
TCP provides a
reliable, ordered, and error-checked delivery of a stream of data between applications via an IP network
REST API stands for
representational state transfer
REST API is
an architectural style that defines a set of constraints to be used for creating web services
REST API is sometimes called
RESTful
REST API is most commonly used with
HTTP request and respond traditional format (although it now allows streaming for some languages)
when using firebase’s email authentication, the email only checks
uniqueness and that it follows email format, not that it actually exists or is your own
OAuth is an open standard for
access delegation
OAuth is commonly used as a way for internet companies and users to
grant websites/apps access to their information on other websites but without giving them the passwords
companies that use OAuth
Amazon, Google, FB, Twitter, Microsoft
OAuth specifies a process for
resource owners to authorize third party access to their server resources without sharing their credentials
OAuth is designed to work with HTTP using
acces tokens
access tokens are essentially
a string
two versions of OAuth and the different
OAuth 1.0 and OAuth 2.0
1.0 has extra security but 2.0 is more widely used
firebase has cloud storage strictly for
storing photos/videos from users