EF Core “Underneath The Hood”

Getting up and running with EF Core is easy, but it often pays dividends to understand how underlying technologies work. My aim is to provide a solid mental model of what’s going on when you actual access the database. Modeling When we first start programming, rarely do we ever start…

read more

Application DbContext Explained Simply

Arguably the most important part of Entity Framework is the DbContext. It’s basically a giant object you create with methods to get things out of a database. Another important aspect of the Application DbContext is that it configures things like the database address, tables, and event advanced relationships for the…

read more

SCSS And BEM Explained Simply

Being able to correctly organize and abstract code into smaller pieces is essential for all code, but especially CSS. When it comes to large, complex frontends SASS is one of the best ways to correctly structure CSS. Nothing pairs better with SASS then BEM methodology. Which stands for: A block…

read more

Spring Data JPA One-To-Many Explained Simply

One-to-many relationships are used when a single entity is associated with many other entities. For example, a Blog can have many associated Posts, BUT each Post is only associated with one Blog. This simply means you map child entities (Posts) as a collection in the parent object (Blogs). Spring Data…

read more

useReducer Vs Redux Explained Simply

If you program long enough, you will make the mistake of “premature optimization”. Premature optimization simply means you put the cart before the horse and made your application too complex. Redux is a framework where this happens quite frequently. The useReducer hook is a way to manage state in React….

read more