Spring Data JPA. 1. Introduction

logo spring

Welcome to my course! In sixteen chapters, you’ll learn to harness the power of Spring Data JPA, always with a practical approach. Apart from being a progressive learning tool suitable for all levels, this course also serves as a quick reference guide.

If you’ve never used Spring Data, you’ll have many questions. What problems does it solve? How does it work? In this introductory chapter I give you the answers. Spoiler: Spring Data JPA is the best way to work with relational databases.

READ MORE

Android: Light and Dark Theme Selection with Preferences Screen

android

The app developed in the tutorial “Android Design: Light and Dark Theme with Material Components” features both a light and a dark theme—but it has a flaw. Users can only switch themes by turning Android’s dark or power-saving modes on and off. In this tutorial, I’ll explain how to create a theme selector like the one that WhatsUp —and many other popular apps— provides.

READ MORE

Android: Light & Dark Theme with Material Components

android

In essence, a dark theme displays mostly dark surfaces with lodw light. It contrasts with light themes, where white backgrounds and light surfaces predominate.

What are the advantages of dark themes? How are they implemented in Android? Can a light and a dark theme live together in the same app? In this post I give you the answers. A second part explains how to create a preferences screen with a theme selector. The approach is purely technical—we’ll talk about code, not graphic design.

READ MORE

Curso Spring Data JPA. 15: repositorios personalizados (métodos con cuerpo)

logo spring

Spring Data en una herramienta irresistible por la simplicidad de sus repositorios: interfaces con métodos sin cuerpo. Esto nos ahorra mucho código.

¿Y si las capacidades de esos métodos fueran insuficientes? Necesitaremos escribir código. ¡Ningún problema! En este breve capítulo te explico cómo incorporar cualquier método con cuerpo a una interfaz-repositorio. Así, seráz capaz de programar lo que quieras sin salir de Spring Data.


Seguir leyendo