|
Re: Firebase Authentication and Cloud Firestore [message #1818179 is a reply to message #1818109] |
Mon, 09 December 2019 14:19 |
|
Hi Mark,
I have no experience with Firebase Auth, but Scout uses the concept of access controllers to implement specific authentication requirements. If Firebase Auth has a Java API, I would use the FormBasedAccessController and provide an implementation of ICredentialVerfier for Firebase (which you must implement).
The ISqlService is an abstraction layer for various RDBMs. It allows a Scout application to run on various relational databases, without changes to the source-code, simply by instantiating the right SqlService class. Typically you pass an SQL query string to the ISqlService, which means when you want to switch between various database-types, every database should understand that query string (which is usually the case when you use ANSI SQL). I don't know Firestore, but it looks like it is a NoSQL database, which means you cannot run SQL statements there. So in my opinion using the ISqlService has no benefits. I would implement a custom service interface for Firestore, like IFirestoreService, or (if you plan to switch between various NoSQL databases) make a more generic IStorageService interface and provide a FirestoreStorageService implementation.
Cheers,
André
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
|
Powered by
FUDForum. Page generated in 0.06478 seconds