Listen "Where and How to Store Data from Your React Application"
Episode Synopsis
As React Developers, we’ve definitely got the front-end under control, but what about the back-end? One of the core components of a successful application is your Database. What is a Database? How do you choose the right one? Where do you host it? We’ll answer all your questions and share some experiences on Where and How to Store Data from your React ApplicationShow NotesIntroNew Year’s ChatData is fundamental to solving every programming problemFirst thing I do, whether it is writing an app or designing an algorithm or creating a library is look at the dataWhat is the structure and how I will interact with itFrom Hard Coded Values to Your First DatabaseParalysis by Analysis due to lack of knowing optionsStarting with something that you don’t know well and it takes up all your timeMaking the wrong choice and sticking with it even though it causes more problemsMaking wrong assumptions on how you write your front-end, and it doesn’t sync up well with the way you are receiving dataMaking the Right ChoiceWhat is the structure of the data?Who is the data for?How is the data accessed?How to choose the right type of data storage?Types of Data StorageRelational DatabasesGreat for CRUDTypically the best to start withSimple data modelsNeed to know SQLGood enough to use for most thingsKey Value StoresFast access + updates to self contained datasets?Document StoresGood for specialized casesGraph DatabaseWhat is a graph?Network of Vertices and EdgesCommon AlgosShortest path between two verticiesAllows relations via whole networksFind the path between two nodesMaintenance resources?Choosing librariesSQL LiteFile Based Relational Storageoption for when Code changes every few yearsRunning your own Database ServerCheck if it’s runningUser AccountsApp logins, connection maintenanceoption for when Code changes frequently?How often does the code-base change?Where to Host Your DatabaseSelf HostedPrivacyMore “maintenance” but not really if you do it right.Databases As a ServiceNo Guaranteed PrivacyExtra costs associatedHerokuSanityWrap UpStarting with Something you knowMigrate when you needWhat to look for when researching new optionSupport the show
More episodes of the podcast The React Show
How To Build Secure React Apps
14/07/2023
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.