Blazor Blog Data Structures | Build a Blog - Ep 05

preview_player
Показать описание
In this video I begin the process of designing our blog data structures in a way that will allow us to save the information to a database. I demo a couple ways of doing, including showing how Wordpress saves their data, how I'm doing using inheritance for each of the content block sections, and also using a json data column, which is how Notion saves their data.

Code from this episode can be found here:

Full code for the series can be found here:

Follow me on social media!

Check out my blog!
Рекомендации по теме
Комментарии
Автор

Thanks! I love seeing how developers tackle the same problem in different ways.

mtranchi
Автор

First, let your strings be nullable. Second, primary keys must include table name and end with capital D to differentiate them from foreign keys.

Edit: I know it’s a date, so just call it Created and Published.

Edit: It’s not like programming was just invented. It’s been too long since programming has existed. This should not have been said.

Edit: I hope you don’t work for Boeing.

denysolleik