I'm new to the noSQL-Thing (I use firebase Realtime-Database for starters) and I'm writing a react-js app to manage Meetings and their Agenda Points.
The meeting has some attributes(name, planed duration, Start time, ... ) and the Agendaitems as well (name, planed duration, ... ).
So, my first intuition was to make a class Meeting with a Map of AgendaItems - but the Map doesn't get save in the firebase.
Then I tried a simple array - this works but I read "Arrays are bad in firebase"
So, whats the best strategy here? (I know that is probably a very Basic question)
And, would you put more "advanced" functions in the same Class? - e.g.: "nextAgendaItem", "addAgentaItem" to capsulate these implementation or would you build a own "HandlerClass" witch has a Meeting as member