Perhaps my question should be reformulated as follows: how do I reorganize these behaviors into CRUD, what is Firebase superior to?
I get CRUD to work well. I also see how the Firebase declarative security model allows me to provide proper server-side security where it should exist.
Say I have a subscription service. Each time a person subscribes to a service, they need to automatically add the “appropriate” line item added to their account. In simple words:
/users/john /services/goodstuff
So, john can register for goodstuff , I could let him in for 30 days without payment, but he will remind him when 30 days expire, "hey, you need to pay or lose your goodstuff subscription."
With server-side content, I would POST before /services/goodstuff/members , for example, have a part of the POST handler, adding a "you should" position to my john account, ensuring that no one can join goodstuff without designating it as.
In a Firebase BaaS application, where these server logics do not exist, how will I reorganize the application to get the same effective behavior?
firebase
deitch
source share