-
Basic Design Pattern – P5: Mastering Dependency Injection
Welcome back to our design patterns series! Today, we’re diving into Dependency Injection (DI), a powerful technique that’s essential for writing flexible, testable, and maintainable code. If you’ve ever struggled with tightly coupled classes or wished for an easier way to manage dependencies, this post is for you. In this guide, we’ll explore: Let’s get…
-
Basic Design Pattern – P4: Understanding the Builder Pattern
What Is the Builder Pattern? The Builder Pattern is a creational design pattern that lets you build complex objects step by step. Instead of stuffing every possible parameter into a constructor (and ending up with a mess), it uses a separate builder object to handle the construction process. This keeps your code clean, flexible, and…
-
Basic Design Pattern – P3: Exploring the Repository Pattern
Welcome back to our design patterns series! Today, we’re tackling the Repository Pattern, a data access pattern that keeps your application’s data logic organized, decoupled, and easy to maintain. If you’ve ever found your business logic tangled up with database queries or wished for an easier way to test your code, this pattern is for…
-
Basic Design Pattern – P2: Mastering the Singleton Pattern
Welcome to our design patterns series! In this post, we’re exploring the Singleton Pattern, a creational design pattern that ensures a class has only one instance and provides a global point of access to it. Whether you’re managing configurations, handling database connections, or coordinating system-wide actions, the Singleton Pattern is a go-to solution when you…
-
Basic Design Pattern – P1: Understanding the Factory Pattern
Imagine you’re at a car dealership. You request a vehicle—say, a sedan or an SUV—and the factory builds it for you. You don’t need to know the intricate details of how the car is assembled; you just specify what you want, and the factory delivers. In software, the Factory Pattern operates similarly: it lets you…
-
Speeding Up Date-Based Queries in Amazon Athena: Simple Partition Tips
Amazon(AWS) Athena is a handy tool for digging into data stored in Amazon S3. When your data is split into partitions (like folders), writing smart queries can save time and money. This blog explains how to filter date-based partitions effectively, showing what works best for speed and efficiency. What’s Partition Pruning? Partition pruning is like…
All Categories
- AI (2)
- AWS (2)
- Data (1)
- Data Structure and Algorithm (2)
- Design Pattern (7)
- Python (3)
- Web (0)
My Personal Knowledge Archive
This blog serves as my personal knowledge archive, where I store articles that I find interesting or generate content on topics I want to explore. The posts here are either AI-generated based on subjects I’m curious about or articles I’ve come across and wish to save for future reference. Since the content hasn’t been fully verified, this blog is not intended to be an authoritative source but rather a space for personal learning and storage.