coding my startup - next project | devlog 17

preview_player
Показать описание
Coding My Startup App

THE PODCAST

#startup
#building
#app
#GalaxyS22
#withGalaxy
#withGalaxy
#SamsungPartner
#TeamGalaxy
Рекомендации по теме
Комментарии
Автор

If you need to make changes to your database, one way to do it is to make additions to a table or an object, keep your old data there. If you need to, migrate over your old data then to the new structure. Make a one time script to move your data.
But if you're doing this in pre alpha, just tell everyone you're changing the structure and all data needs to be deleted. It's a pre alpha, it's expected. Hope that helps.

BlameAido
Автор

I'm currently working in Flutter myself, and I have made my own PHP api connecting to a mysql database, and ready code to access the database, and dataclasses, and for me now its pretty easy copy paste from one dataclass to make a new one and adjust it with the tables. I also known SQL for >20 years so for me thats easy.

Adjusting tables are easy, add columns without old data being affected. I typically have 3x databases, one in production, one for beta testing and one for my own development testing.
So I make changes to development database first, do all changes, which has separate API. Then when Im done with adjustments to both app code, api and database, I move it over to beta test for my collegues to test for a week, or I make new changes and repeat this process. When were happy, I already have either migration script in python ready for production, or just add the missing tables and columns.. fairly easy.

SunSin
Автор

when ever i watch your videos i get motivated and again get back to studying and coding my project !! thanks for sharing your knowledge man ... your awesome !!! looking forward for more videos ...

novaimsh
Автор

I just can't say any more about the quality and content of your videos/ channel than how AWESOME, ENTERTAINING, EDUCTIONAL, INSPIRING, MOTIVATIONAL and SOUL REACHING they are for me Bro! Thank you for BEING reel, keeping it real and taking us all along for the ride in your journey!!!!

Fun Fact: I literally have a Kalle Hallden Playlist! LOL!!!

THE.MICHAEL.ANGELO
Автор

So excited what u do and show us the result!!!

miliismyname
Автор

The camera shoot of the car at 2:44 was pretty fantastic and creative man 🔥

FlutterMapp
Автор

Hey Kalle,
I recommend you to release the pre alpha version to test the issues which might be not visible in the database restructuring after which there will a actual and clear view towards the performance of the application.
Anyways your experiences with application development is far more than a common Developer :p Perks of being an Self Taught Developer 💯

manmeetjuneja
Автор

I'd suggest moving away from real-time DB (Firebase) to smth like MongoDB or Postgres (which ever relation model you're comfortable with). These db-s introduce the notion of DB migrations, which basically allow you to apply structural changes which can be reverted if anything goes wrong. Would be happy to help you.

lisovyy
Автор

You can change the structure of your database at anytime in production. Wheather it'll break your app or not depends on the changes you make, if you're adding a new column, you can make it optional or add a default value to it.

gofullstack
Автор

Don't be afraid of database schema changes. You just need to version your database structures at the row level and you'll be able to tell which schema version it is apon reading the actual workout (or whatever entity it is), this is a very simple approach since it will allow you to have multiple versions coexisting within the same app, but it is very messy.
Another approach (and this is the one that i advise) which is a little more complexe than the previous one but a lot cleaner, is to change your schema altogether but, before going live, you need to put together a sql script (assuming you're using a sql database) to restructure the live data to reflect the new schema (always test in a staging database first). You'll want to do it during night time and by putting your server into "maintenance mode". You must also remember to check the app version from you fontend app in order to avoid schema mismatch.
Keep up the good work =)

FISS
Автор

Ah yeah, good old database schema updates in mobile apps, definitely not fun. Totally agree with your verdict on that one.

JapaneseJourney
Автор

I think you are making the right choice not to rush the app just for the sake of getting it out to the public.
It's human nature for people to complain when things don't go right and NOTHING goes smoothly as expected so don't worry about updates to your app later on. Greatness comes from patience persistence and perseverance.

kittykat
Автор

You can learn about migration scripts to know how you can restructure the database even after it has been published, it is an important topic to all backend developers when it comes to databases and it is not that hard

ayoubtrd
Автор

So, what database structure did you end up with?

midimusicforever
Автор

I worked in a startup for some years. It's normal to change the database even a few months. What are you using? some startups use MongoDB to make it easy to change the database structure. We used PostgreSQL with a Django server so only with changing the model most of the times the framework made the migrations for us. Sometimes they needed a few more steps but they were quite easy.

GaboLaTo
Автор

Omg. I am looking forward to your beautiful app. It even comes through about "setting up database".You inspired me a lot. Professional Freelancer and now who is coding his start-up.

lloydz
Автор

Lol when he said “you know I would nev...” immediately does code montage.

ARMadillo
Автор

Yea the database or how the data is passed through the app is vital on how the app is going to function and perform, this is why almost every time when I start a project I will start with the structuring database first because by doing so, I have basically structured my whole app too

riceymix
Автор

i love watching your starup journey, its like the best netflix series i ever watched. Greetings from Ger

eikeimnetz
Автор

Feels good watching you build your startup work on mine.

Flutter boys ✊

Ralphflowers
welcome to shbcf.ru