Тёмный
No video :(

How to Connect Firebase Users to their Data - 3 Methods 

Fireship
Подписаться 3,3 млн
Просмотров 212 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@mountainslopes
@mountainslopes 3 года назад
I'm impressed with how much you've improved the speed and tone of your videos! Well done
@akam9919
@akam9919 Год назад
I agree with this 1 yo post. Here he sounds very...VERY tired.
@tommyasek
@tommyasek 2 месяца назад
@@akam9919 I agree with your one year old post
@alexbotham6245
@alexbotham6245 Год назад
Good stuff! Would love a redo of this video for Firebase SDK 9 and Next.js! 🔥
@theresemariesoriano3928
@theresemariesoriano3928 5 лет назад
can you plz do this with cloud firestore
@hashfromjc
@hashfromjc 5 лет назад
Is there any update to this tutorial to use firestore instead?
@AlienAndrew51
@AlienAndrew51 5 лет назад
Really would like to see how to do this in firestore!
@derekjeter1532
@derekjeter1532 4 года назад
How did you create the initial Items record and index it by uid? This information is missing from the video and it would be extremely helpful to know. Thanks.
@GeorgesMayrink
@GeorgesMayrink 7 лет назад
Great video. I believe it is exactly what I was looking for. Sadly for me, I am still struggling with moving from relational databases to NoSQL. I will get back to this when my understanding of the concepts is better. Anyway, thank you for the video.
@Fireship
@Fireship 7 лет назад
I hear you! I also come from a RDBMS background, so it has taken some time to get used to data duplication, denormalization, etc.
@akshy471
@akshy471 Год назад
you expert now?
@GeorgesMayrink
@GeorgesMayrink Год назад
@@akshy471 Hardly, but I started using NoSQL databases and fell in love with them. There are certain things I still prefer doing with RDBMS, but NoSQL databases are so flexible and easy to work with (after you shift your understanding) that I favour them to most activities nowadays.
@brianjumaquio6336
@brianjumaquio6336 7 лет назад
Keep the videos coming. Thanks a lot
@Fireship
@Fireship 7 лет назад
Thank you! Any Angular or Firebase topics you would like see?
@brianjumaquio6336
@brianjumaquio6336 7 лет назад
well I can't find good resources about implementing role-based security. It would be awesome if you can create one
@Fireship
@Fireship 7 лет назад
That's definitely on the list. I will do a video about roles/authorization or access control lists in the near future.
@brianjumaquio6336
@brianjumaquio6336 7 лет назад
You man rock! I supported your channel by liking all your videos
@SaneleSaziSibiya
@SaneleSaziSibiya 4 года назад
I don't normally comment on videos but this was brilliant! Thank you
@brentbauman4869
@brentbauman4869 5 лет назад
Gotta get the name of that song...what a chill beat.
@pillar6programming687
@pillar6programming687 7 лет назад
your videos and site really helped me out! will be sharing thx you
@Fireship
@Fireship 7 лет назад
Awesome, thanks for the feedback! Any specific topics you want to see on the channel?
@pillar6programming687
@pillar6programming687 7 лет назад
i am still looking through your videos/site so i am not sure if you have anything like this already. however, it would be cool to see a tutorial where you show us how to implement a feature where users could add their own files to the application and store data inside of them. along with a tutorial around having multiple themes and color schemes in an application. a settings page where users could select between 3-4 different themes and have their preferences saved with firebase
@Fireship
@Fireship 7 лет назад
Cool ideas, I have a file uploading video, but it just covers the basics. I plan on doing some more advanced file management stuff in the future.
@pillar6programming687
@pillar6programming687 7 лет назад
quick question, what theme are you using for windows?
@HAREESHmh
@HAREESHmh 7 лет назад
Thanks, good content, really helpful. But really need that background music??
@Fireship
@Fireship 7 лет назад
I agree. My latest videos only have music during the first 15 seconds or so.
@DanielRLuke
@DanielRLuke 7 лет назад
Wes Doyle has got bg music covered. Only a few seconds, of beautiful relaxing music, and then it fades out. Currently his is using music by a band named Foglake.
@sulrrfiegr1248
@sulrrfiegr1248 2 года назад
I am new to this, but for the third option, wouldn't the list of items be so large for the whole app that it would make retrieving data harder? I am trying to figure out how to structure data for a CRM app where multiple users have access to each matter, but then the list of matters would get so big that it would take forever to load? or maybe I am wrong. I was thinking of storing under matters/UID/item, but then other users would not be able to access the matter data
@kirangouds
@kirangouds 7 лет назад
Such an Exceptional video, Just became a fan of your channel
@Richard.halabi
@Richard.halabi 2 года назад
awesome explanation
@dcmarie3
@dcmarie3 5 лет назад
This solved my problem with how to call data of a user. I still have one problem, does anyone have any advice on how to allow users to create/login as a specific user, such as client and physician, for example. Would this be in the db as well?
@kestrel0007
@kestrel0007 7 лет назад
Great video as usual! Thanks!!
@Fireship
@Fireship 7 лет назад
Thank you!
@niamhmcnulty1774
@niamhmcnulty1774 4 года назад
Please do it for cloud firestore if able
@byronglendon3947
@byronglendon3947 5 лет назад
Does this apply and work the same in FireStore?
@herantd
@herantd 5 лет назад
Is there any guides out there which show relation between firebase user and firestore data using vue?
@FadiAsbih
@FadiAsbih 7 лет назад
Nice video, thank you very much. It would be really great, if you can also make a video about ACL or sth similar, and the relationship between the users and their roles in NoSQL/Firebase. just a suggestion :-)
@Fireship
@Fireship 7 лет назад
Good suggestion, I hadn't thought of that, but it would make a good video. A solution for ACL would probably look somewhat similar to the 3rd method in this video. Create a collection of users -| userId -| { itemFoo: true }, or the inverse based on items, items -| itemId -| { userBar: true }
@DanielRLuke
@DanielRLuke 7 лет назад
Great video. Perfect for your concise style. Super useful to know. Essential, actually.
@Fireship
@Fireship 7 лет назад
+Daniel Thank you! I appreciate the feedback.
@DanielRLuke
@DanielRLuke 7 лет назад
Happy to give credit where credit is due. You and Doyle ought to team up.
@iamsidd_j
@iamsidd_j 4 года назад
Hi jeff Please update this video for firestore
@mahamadoukone1845
@mahamadoukone1845 7 лет назад
Short and concise video. Can you please provide the security in Firebase for the third and last option (membership)? Maybe I missed that.
@Fireship
@Fireship 7 лет назад
I left it out because it there are many ways to do it. In this scenario, backend rules can be similar to method 2 based on the user that created the item. Alternatively, you could assign certain certain members at moderator attribute. You might find this lesson helpful angularfirebase.com/lessons/understanding-firebase-database-rules-by-example/
@hobbyturystaSEO
@hobbyturystaSEO 4 года назад
HI Fireship in my mobile app based on ionic 5 and angular 9, I can create booking on places. When I fill the form which is validated i have 200 respond from the server. After that, I go to menu click booking and I have error message { "error" : "Index not defined, add \".indexOn\": \"userId\", for path \"/bookings\", to the rules" } can You let me know what is the correct snippet for adding rules into the realtime database?
@Kev931
@Kev931 4 года назад
This statement is not true - "When you want to iterate over a user name, you have to load all the nested data further down the tree". I am not sure if it's just outdated, but it is simply not correct and is the crux of your whole argument for shallow data. Only "documents" are loaded in a query (not sub documents or sub collections)...This is why sub collections are a better alternative in many cases and there's no performance hit querying for user names on user documents while maintaining a more natural data model heirarchy.
@jimmyjavier7521
@jimmyjavier7521 3 года назад
Could you help me please? i need a method like the first method but i cant find de module "FireListObservable" help me please!
@ezstartup-team
@ezstartup-team 3 года назад
Is it good to go, if I want to build e-commerce web application and Accounting System with FireBase?
@rezaklink401
@rezaklink401 6 лет назад
I'm getting so confused trying to get these concepts working with angularfire2 v 5 and firestore, ${this.userId} seems to not be interpolating the uid string in my app. ngOnInit() { this.itemsCol = this.afs.collection(`users/${this.userId}/dietLogger`); this.items = this.itemsCol.valueChanges(); }
@PrinceSodhi
@PrinceSodhi 6 лет назад
very useful information. Thank you
@ravisoni9610
@ravisoni9610 6 лет назад
nice video, but would be nice if it's little slow.
@konfinoyair
@konfinoyair 5 лет назад
Why is it necessary to modify the real-time database rules if you are on cloud firestore ?
@ravirawat5860
@ravirawat5860 6 лет назад
if we want to show the total number of member per article while showing all item list? how can we do that
@danilopez8614
@danilopez8614 3 года назад
Thank you very much, very helpful
@danielcoyula8464
@danielcoyula8464 6 лет назад
Hi! Is there any way to restrict access to my db to specific domain(s) and/or IP(s)???
@drivooltrucks914
@drivooltrucks914 6 лет назад
Video naming convention is confusing, very difficult to understand the sequence of videos I should watch. Please have some numbering system to make it more comprehensive.
@Fireship
@Fireship 6 лет назад
Almost every video is a self-contained project, so you can watch in any order. There is no linear connection between topics.
@erised-_-3981
@erised-_-3981 6 лет назад
how do i access the propeties of the users stored in the data base , meaning how do i delete them , in your case how do i delete the active and the title propeties ??
@codigomagico
@codigomagico 6 лет назад
architecture NG project and database normalization pls!! thanks great video.
@bishoyezzat8545
@bishoyezzat8545 6 лет назад
too fast videos :/ ... can understand nothing
@timf0085
@timf0085 5 лет назад
If only there was a way to watch this video more than once with the ability to pause occasionally.
@legitMeastro
@legitMeastro 2 года назад
Please make this tutorial with reacjs/nextjs with firestore
@LS15QD
@LS15QD 3 года назад
Is there a way to set your own primary key?
@mrdiv8418
@mrdiv8418 5 лет назад
Thanks!!! Very helpfull stuff as usual!!!
@oscarzhang984
@oscarzhang984 7 лет назад
What about the firebase rules for the 3rd one?
@Fireship
@Fireship 7 лет назад
The third method has many possible rules depending on how the app is setup. Check out this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qLrDWBKTUZo.html
@codeaxen
@codeaxen 5 лет назад
Hello this is a Nice tutorial but how do i display comments on Every item ???
@codeaxen
@codeaxen 6 лет назад
Hello I need One on One Chat how can i ?? i am having A Project am stack at the same point you explains here
@northernlyricslights8173
@northernlyricslights8173 3 года назад
I've learned a lot of about firebase due to background song :D
@mtinelli5261
@mtinelli5261 6 лет назад
what is version angular/cli this video? . good video!
@moeidsaleemkhan7233
@moeidsaleemkhan7233 6 лет назад
love your work keep up the apce
@solixymanagement2871
@solixymanagement2871 5 лет назад
good job thnx ... i want to know how to retrieve those data stored in the userId in firebase i used the first method and i need to retrieve all users data in one table plz
@srikanthkudikyala
@srikanthkudikyala 7 лет назад
the code on firebase rules is not at all working for me for the step 2, can anyone help...
@Fireship
@Fireship 7 лет назад
+kudikyala Join the Angular Firebase Developers Slack team so we can chat in more detail. Here's your invite: join.slack.com/t/angularfirebase/shared_invite/MjA2NTgxMTI0MTk2LTE0OTg4NTQ4MDAtMjhhZDIzMjc0Mg
@olustrakenbp4167
@olustrakenbp4167 2 года назад
Can you do on for vanillajs? Please
@JeeteshNariya
@JeeteshNariya 7 лет назад
Nice video to storing relationship data , but never find how to display mean how to join where it's loaded ..!
@Fireship
@Fireship 7 лет назад
Normally, you don't need to join. The query should be optimized to load all the data you need for a given view. However, you can combine observables with the RxJS methods here: www.learnrxjs.io/operators/combination/
@codeaxen
@codeaxen 6 лет назад
create a Post and Comment App with Firebase ionic 2 Need Help
@soran2290
@soran2290 4 года назад
How get username ? From other doc users
@el3atmoney
@el3atmoney 3 года назад
it's A bit slower than now :D
@Cantreloso
@Cantreloso 4 года назад
great!.... can you do it on android ?
@carit.psicologo
@carit.psicologo Год назад
With 1.25x it's like now
@blackwhattack
@blackwhattack 4 года назад
AudioJungle :P
@musicarlos2001
@musicarlos2001 6 лет назад
Muito bom, ...realmente seria ótimo com ACL, rs
@Michelle-jq1pc
@Michelle-jq1pc 6 лет назад
thanks !!!
@thatsalot3577
@thatsalot3577 2 года назад
You used to sound really different from now.
@caonguyenvan4626
@caonguyenvan4626 6 лет назад
I don't understand very clear but it's nice video =))
@jessyndaya9487
@jessyndaya9487 6 лет назад
i love it, nice!!!
@kamohelolebona4666
@kamohelolebona4666 Год назад
You sound more tired and slow than often
@Kawakies
@Kawakies 5 лет назад
This probably makes sense to someone and probably a lot of people, but have no idea what hes taking about. sorry
@gustavoadolforamirezapache2053
Amor puro
@kevinclark443
@kevinclark443 3 года назад
Added a dislike just due to implicit any and poor null checking, yet the gist of the information was good. Thank you.
@brianrathbone6046
@brianrathbone6046 3 года назад
0:59
@brianrathbone6046
@brianrathbone6046 3 года назад
1:58
@RDaneelOliwav
@RDaneelOliwav 5 лет назад
great videos but the brevity is just crazy, any beginner will not be able to follow you. Maybe consider not undo-ing lots of code but typing yourself and explaining more
@husreihn1070
@husreihn1070 6 лет назад
way to fast, disliked. hopefully you will learn from the dislike and have more detailed explenation when you try to teach something
Далее
Firebase - Back to the Basics
25:23
Просмотров 588 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 354 тыс.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Просмотров 1,5 млн
Cute kitty gadgets 💛
00:24
Просмотров 15 млн
Кого из блогеров узнали?
00:10
Просмотров 333 тыс.
15 futuristic databases you’ve never heard of
8:42
Просмотров 667 тыс.
Security Rules! 🔑 | Get to know Cloud Firestore #6
22:39
7 Database Paradigms
9:53
Просмотров 1,6 млн
Firebase has SQL: Introducing Data Connect
16:29
Просмотров 61 тыс.
I tried 5 Firebase alternatives
10:31
Просмотров 784 тыс.
100+ Linux Things you Need to Know
12:23
Просмотров 1 млн
How to connect C# to SQL (the easy way)
1:20:40
Просмотров 1,1 млн
100 Firebase Tips, Tricks, and Screw-ups
24:31
Просмотров 187 тыс.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Просмотров 1,5 млн