Tagged articles

Fluent API

13 articles · Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Jul 11, 2026 · Backend Development

Replace if…else with a lightweight rule engine – Introducing Easy Rules

The article explains why extensive if…else chains degrade code readability, maintainability, and testability, and introduces Easy Rules—a lightweight Java rule engine that externalizes business logic into reusable rule objects, offering annotation, fluent API, expression, and YAML/JSON definitions, plus composite rules and engine configurations.

AnnotationEasy RulesFluent API
0 likes · 18 min read
Replace if…else with a lightweight rule engine – Introducing Easy Rules
Open Source Tech Hub
Open Source Tech Hub
Nov 6, 2025 · Backend Development

Master PHP Date Handling with Carbon: Fluent API, Timezones, and Localization

This article introduces the Carbon library—a fluent, human‑readable wrapper for PHP's DateTime—explaining why it simplifies date calculations, how to install it via Composer, and demonstrating core concepts, common APIs, advanced features, and performance best practices with concrete code examples.

CarbonFluent APILocalization
0 likes · 9 min read
Master PHP Date Handling with Carbon: Fluent API, Timezones, and Localization
Cognitive Technology Team
Cognitive Technology Team
Jul 23, 2025 · Fundamentals

Can You Solve Java IO Tasks in One Line? Discover jd.commons Magic

This article presents a coding challenge that asks Java developers to perform common I/O operations—reading files, streams, URLs, sockets, and more—in a single line of code, and demonstrates how the jd.commons library provides concise fluent APIs to achieve these tasks while reducing boilerplate.

Fluent APIIOOne-liner
0 likes · 9 min read
Can You Solve Java IO Tasks in One Line? Discover jd.commons Magic
Ubiquitous Tech
Ubiquitous Tech
Nov 23, 2024 · Fundamentals

Rule Engine Basics: Getting Started with the Open‑Source EasyRule

The article walks through the problems of hard‑coded if‑else logic, introduces rule engines as a flexible solution, explains EasyRule’s concepts, advantages, and classifications, and provides step‑by‑step Java examples using annotations, fluent API, MVEL, and YAML configurations.

AnnotationEasyRuleFluent API
0 likes · 20 min read
Rule Engine Basics: Getting Started with the Open‑Source EasyRule
Java Architecture Diary
Java Architecture Diary
Jan 10, 2024 · Backend Development

Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure

This article introduces mica-http, a lightweight Fluent‑style HTTP client built on OkHttp, walks through dependency setup, synchronous and asynchronous usage, global logging, custom client and cookie management, presents performance benchmarks, and highlights its automatic resource handling for safe, high‑performance requests.

Fluent APIHTTPmica-http
0 likes · 7 min read
Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure
Programmer DD
Programmer DD
Dec 22, 2023 · Backend Development

Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations

This guide introduces Spring Boot 3.2's new JdbcClient, explains how to add the dependency, inject it, and perform fluent, chainable CRUD operations—including queries by ID, custom conditions, named parameters, map parameters, row mapping, and inserts—while highlighting its advantages over traditional ORM tools.

DatabaseFluent APIJdbcClient
0 likes · 7 min read
Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations
Programmer DD
Programmer DD
Mar 30, 2023 · Backend Development

Mastering Lombok @Accessors: Fluent, Chain, and Prefix Explained

Learn how Lombok's @Accessors annotation works by exploring its source code and understanding the three key attributes—fluent, chain, and prefix—so you can control getter and setter generation, customize method naming, and enable method chaining in your Java classes.

Fluent APILombokannotations
0 likes · 4 min read
Mastering Lombok @Accessors: Fluent, Chain, and Prefix Explained
Architect's Tech Stack
Architect's Tech Stack
Jan 20, 2021 · Fundamentals

Using a Generic Builder Pattern in Java to Simplify Object Creation

This article demonstrates how a universal Builder utility can replace verbose object construction in Java, allowing developers to instantiate a class and set multiple properties—including complex collections—in a single fluent chain, while also explaining the underlying implementation and usage examples.

Builder PatternDesign PatternsFluent API
0 likes · 7 min read
Using a Generic Builder Pattern in Java to Simplify Object Creation
Java Architecture Diary
Java Architecture Diary
Aug 1, 2019 · Backend Development

Mastering mica-http: Fluent HTTP Requests with OkHttp Wrapper

mica-http is a Java wrapper for OkHttp that offers a fluent‑style HTTP client, showing Maven/Gradle integration, global logging configuration, synchronous and asynchronous request examples, and advanced features like header, cookie, query, form handling, and response processing with Jackson and Jsoup.

Fluent APIHTTPjava
0 likes · 6 min read
Mastering mica-http: Fluent HTTP Requests with OkHttp Wrapper