Posts

Showing posts from December, 2024

Flyway in Spring Boot and Gradle: flyway-core vs Flyway Gradle Plugin

 Have you ever wondered about the best way to integrate Flyway into your Gradle project? Let me break it down into two main approaches: using Flyway as a dependency and applying the Flyway plugin . The Dependency Approach: implementation 'org.flywaydb:flyway-core' Adding Flyway as a dependency essentially embeds it within your application. Think of it as equipping your application with a built-in toolbox to handle database changes during runtime. This approach is ideal when you want your application to take charge of migrations. When to Use It Your application needs to manage database changes while it’s running. You’re working with a Spring Boot application that integrates seamlessly with Flyway. Key Features Spring Boot Auto-Configuration: Spring Boot automatically detects the Flyway dependency and configures it. You can custo...

"BACKABLE" - book by Suneel Gupta

Image
  "Backable" by Suneel Gupta explores how to inspire belief in your ideas, combining storytelling, resilience, and practical strategies to succeed. While I recommend you to read it here are some Concepts from Backable I found interesting: The Backable Mindset : The book highlights the importance of adopting a mindset that attracts support. Gupta discusses how successful people who are often seen as "backable" tend to approach challenges, communicate their vision, and create momentum. Below is an extract from first chapter he talks about how we should convince ourselves first with an idea before even sharing it with others: " When an idea first enters your mind, it's not fully formed, and certainly not prepared to interact with the real world. But because we're excited about the possibility, we make the mistake of inviting people in when the idea isn't ready. Every time I'm fired up about a new idea, I feel an impulse to share it immediately. But...