Tagged articles
9 articles
Page 1 of 1
php Courses
php Courses
Feb 21, 2024 · Backend Development

Deep Dive into Laravel Accessors and Mutators

This article provides an in‑depth exploration of Laravel’s Eloquent Accessors and Mutators, explaining their purpose, demonstrating advanced usage with price conversion, encryption, hashing, and offering practical blog‑model examples such as title casing, excerpt generation, date formatting, slug creation, and email normalization to ensure data integrity.

AccessorsBackend DevelopmentEloquent
0 likes · 6 min read
Deep Dive into Laravel Accessors and Mutators
Java Architect Essentials
Java Architect Essentials
Sep 29, 2023 · Backend Development

Why Lombok @Builder Is Discouraged and @Accessors Is a Better Alternative

The article explains the pitfalls of Lombok's @Builder annotation—such as loss of required‑parameter enforcement, mutable builders, and limited flexibility—and demonstrates how using @Accessors (or manually crafted fluent setters) provides a safer, more expressive way to construct Java objects.

AccessorsBackend DevelopmentBuilder
0 likes · 10 min read
Why Lombok @Builder Is Discouraged and @Accessors Is a Better Alternative
Code Ape Tech Column
Code Ape Tech Column
Sep 12, 2023 · Backend Development

Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors

The article explains the pitfalls of Lombok’s @Builder annotation—such as loss of default values, mutable builders, and limited applicability—and demonstrates how using @Accessors with chainable setters provides a safer, more flexible alternative for Java backend development.

AccessorsBackend DevelopmentBuilder
0 likes · 10 min read
Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors
Selected Java Interview Questions
Selected Java Interview Questions
Aug 28, 2022 · Backend Development

Using Lombok Annotations for ORM Entities, Builder, Wither, and Accessors in Java

This article explains how Lombok annotations such as @Data, @Builder, @Wither, and @Accessors can simplify Java bean creation for ORM entities, builder pattern utilities, wither-style object modification, and fluent accessor methods, while addressing common pitfalls like missing constructors and default values.

AccessorsBuilderJava
0 likes · 10 min read
Using Lombok Annotations for ORM Entities, Builder, Wither, and Accessors in Java