hi vivienne / other bubblers.
I’ve followed the spotify clone tutorial, but I don’t understand why there is a need for the 2 data types: “Song Content” = Song File and “Song” Which has artist/song title info.
In the workflow for “When Button upload is pressed”
Create new Song Content:
Song content = Fileuploader A’s value
Create new Song:
Song Content= Results of step 1
Artist, Song title, cover photo inputs go here too.
" Bubble’s pre-built database makes it easy to create different data types with unique fields. When creating a database, we recommend splitting large items into separate data types to enhance the speed of your application.
For example, we’ll create two separate data types for our songs. One data type will include the basic details of our song (including the name, artist, and cover photo), while the other data type will include the song file itself.
By creating these as separate data fields, it allows us to only load the necessary information when it’s needed, reducing how much content the Bubble editor will need to render."
How does this approach differ to the Udemy tutorial? Where each module actually contains the module file too.
I am building an app that holds breathwork courses, and within a course there are breathwork sessions which are audio files up to an hour long.
Can i use the Udemy approach without slowing down the app?