Tag

Repository Pattern

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Dec 24, 2024 · Backend Development

Implementing the Repository Pattern in Laravel: A Step‑by‑Step Guide

This guide explains the repository pattern for Laravel, detailing its benefits, step‑by‑step implementation for an e‑commerce product management module—including model, interface, repository, controller code—and offers best practices, caching tips, and common pitfalls to improve code structure, maintainability, and testability.

LaravelPHPRepository Pattern
0 likes · 9 min read
Implementing the Repository Pattern in Laravel: A Step‑by‑Step Guide
Sohu Tech Products
Sohu Tech Products
Dec 11, 2024 · Mobile Development

Understanding the Repository Pattern in Flutter

The Repository pattern in Flutter abstracts data access behind a type‑safe interface, isolating domain models from API, database, or device details, enabling easy swapping of implementations, simplifying testing with mocks, and promoting clean architecture by keeping UI code separate from business and networking logic.

DartFlutterRepository Pattern
0 likes · 15 min read
Understanding the Repository Pattern in Flutter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 4, 2024 · Backend Development

Refactoring Cloud Disk Upload Logic with Domain-Driven Design: Models, Factories, and Repositories

The article examines the difficulties of applying Domain-Driven Design to a cloud‑disk file‑upload scenario, demonstrates how to simplify the code by extracting business models, introducing factories and repositories, and explains how these patterns clarify the separation between business and technical concerns.

Domain-Driven DesignFactory PatternJava
0 likes · 20 min read
Refactoring Cloud Disk Upload Logic with Domain-Driven Design: Models, Factories, and Repositories
macrozheng
macrozheng
Jan 4, 2024 · Backend Development

How DDD and Spring Data JPA Simplify Order Management in Java

This article explains how Domain‑Driven Design (DDD) combined with Spring Data JPA enables clean, object‑oriented modeling of order workflows, introduces the Repository pattern for persistence, and demonstrates the full lifecycle—from creation to address modification and payment—through concise Java code and SQL examples.

DDDDomain-Driven DesignJava
0 likes · 21 min read
How DDD and Spring Data JPA Simplify Order Management in Java
macrozheng
macrozheng
Feb 6, 2023 · Backend Development

Mastering DDD with Spring Data JPA: Repositories, Lazy Loading, and Real‑World Order Example

This article explains how domain‑driven design (DDD) leverages object‑oriented principles and the Repository pattern, demonstrates integrating Spring Data JPA for persistence, and walks through a complete order lifecycle—including creation, address modification, and payment—showcasing lazy loading, automatic synchronization, and practical unit‑test examples.

DDDJavaRepository Pattern
0 likes · 22 min read
Mastering DDD with Spring Data JPA: Repositories, Lazy Loading, and Real‑World Order Example
High Availability Architecture
High Availability Architecture
Dec 19, 2022 · Backend Development

Applying Domain-Driven Design (DDD) to a Live E‑Commerce Service: Concepts, Architecture, and Practice

This article explains how a WeChat team used Domain‑Driven Design to improve the maintainability, scalability, and stability of a fast‑paced, multi‑team e‑commerce project, covering strategic and tactical modeling, layered architecture, subdomains, bounded contexts, anti‑corruption layers, domain events, aggregates, repositories, and a practical code scaffold with C++ examples.

C++CQRSDDD
0 likes · 18 min read
Applying Domain-Driven Design (DDD) to a Live E‑Commerce Service: Concepts, Architecture, and Practice
macrozheng
macrozheng
Jul 6, 2022 · Backend Development

Master Domain-Driven Design: From Theory to a Complete Java DDD Demo

This article explains the fundamentals of Domain‑Driven Design, compares it with traditional MVC, details layered architecture, data transformation objects, core concepts like aggregates and domain events, and provides a full Java SpringBoot DDD demo with code, project structure, database schema, and deployment steps.

DDDDomain-Driven DesignJava
0 likes · 32 min read
Master Domain-Driven Design: From Theory to a Complete Java DDD Demo
Architecture Digest
Architecture Digest
Apr 28, 2022 · Backend Development

Comprehensive Domain Interface Design and Its Application in Backend Systems

This article explores the concept of fully interface‑based domain modeling, demonstrates how to design domain objects as interfaces, shows repository implementations for JPA, MyBatis and Elasticsearch, discusses association handling, and explains how such designs enable seamless switching between monolithic, clustered and microservice deployments.

Domain-Driven DesignInterface DesignJava
0 likes · 11 min read
Comprehensive Domain Interface Design and Its Application in Backend Systems
Top Architect
Top Architect
Aug 19, 2021 · Backend Development

Comprehensive Domain Interface Design and Implementation in Java Backend Systems

This article explores comprehensive domain interface design in Java backend development, showing how to model domain objects as interfaces, implement repositories for JPA, MyBatis, and Elasticsearch, handle associations with JPA annotations, and apply these patterns in the open‑source Mallfoundry e‑commerce platform.

Domain-Driven DesignElasticsearchInterface Design
0 likes · 8 min read
Comprehensive Domain Interface Design and Implementation in Java Backend Systems
php中文网 Courses
php中文网 Courses
Jul 15, 2021 · Backend Development

ThinkPHP 6 Repository Package (think-repository) Usage Guide

This guide introduces the think-repository package for ThinkPHP 6, explains how to install it via Composer, demonstrates common repository methods for CRUD operations, routing, and transformer generation, and provides code examples for integrating the repository into multi‑application back‑end projects.

CRUDComposerRepository Pattern
0 likes · 4 min read
ThinkPHP 6 Repository Package (think-repository) Usage Guide
vivo Internet Technology
vivo Internet Technology
Feb 12, 2020 · Backend Development

Understanding Domain-Driven Design: Misconceptions, Principles, and Practical Implementation

Domain‑Driven Design, a mindset rather than a rigid methodology, clarifies business complexity through a central domain model, layered and hexagonal architectures, bounded contexts, and repository patterns—dispelling myths that it suits only large projects or adds excessive boiler‑plate, and showing practical Java implementation.

Domain-Driven DesignJavaRepository Pattern
0 likes · 20 min read
Understanding Domain-Driven Design: Misconceptions, Principles, and Practical Implementation
Architecture Digest
Architecture Digest
Nov 28, 2019 · Mobile Development

Designing Entity Classes and Architecture for Small Android Apps

This article shares practical experiences and techniques for Android app development, covering entity class organization, graceful network data handling with Retrofit, robust repository patterns, and clean UI layering using MVVM, DataBinding, and LiveData.

AndroidDataBindingEntity Design
0 likes · 8 min read
Designing Entity Classes and Architecture for Small Android Apps
Youzan Coder
Youzan Coder
Aug 30, 2019 · Backend Development

Domain-Driven Design Practice in Lead Management System: From Theory to Implementation

The article shows how to apply Domain‑Driven Design to construct an education‑sector lead management system, detailing the four‑layer architecture, a four‑color prototype analysis for requirements, core DDD concepts such as entities, value objects, aggregates and repositories, and a concrete implementation of domain models and services.

Aggregate DesignDDD ArchitectureDomain-Driven Design
0 likes · 18 min read
Domain-Driven Design Practice in Lead Management System: From Theory to Implementation