I am doing authentication with AngulareFire2, I have followed the steps 
using the authentication API, nevertheless, it only supports email and 
password when a new user account is created. I googled it a bit and I found 
out that people usually push additional info under /users. 

So far so good, I did the basic registration using the firebase auth API, 
but when I needed to store the additional information, I had to 
use AngularFireDatabase.object, which returns 
an FirebaseObjectObservable... I read on the docs 
<https://github.com/angular/angularfire2/blob/master/docs/2-retrieving-data-as-objects.md>
 that 
it synchronizes the client with the firebase db in real time, but thinking 
about a big users database, it would synchronize the *whole *users database?, 
currently I am not binding it to any component, just calling the *update 
*method 
to add data... My question is: By default (without any binding) does it 
synchronize the whole database?, if yes, is there a better way to do 
push-only operations, without the additional overhead of keep all the db on 
the client?.

PD: I am using the user.uid as key to store the data under /users. I was 
thinking on not storing db.object('/users') but rather creating 
db.object('/users/my.uid') and then pushing the data. But I am not sure if 
that works or if it is the best way to do it...

I am a newbiew to angularfire, I hope is not a silly question,

Thanks, AF is great!

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to