Tag

Service Layer

1 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
Mar 25, 2025 · Backend Development

Improving MVC Three‑Tier Architecture with a Manager Layer

This article explains the classic MVC three‑tier architecture, identifies its drawbacks such as bloated service code and long‑running transactions, and proposes adding a Manager layer to separate generic business processing, improve code maintainability, and enhance performance in Java backend systems.

JavaMVCService Layer
0 likes · 9 min read
Improving MVC Three‑Tier Architecture with a Manager Layer
Architect's Guide
Architect's Guide
Jan 17, 2025 · Databases

Understanding MySQL Multi‑Table Join Performance Compared to PostgreSQL and Query Decomposition Strategies

The article compares MySQL and PostgreSQL multi‑table join capabilities, explains why MySQL’s nested‑loop joins can be less efficient for complex queries, and discusses how decomposing joins into separate single‑table queries or moving logic to the service layer can improve performance, scalability, and caching.

MySQLPostgreSQLService Layer
0 likes · 7 min read
Understanding MySQL Multi‑Table Join Performance Compared to PostgreSQL and Query Decomposition Strategies
Top Architect
Top Architect
Dec 22, 2024 · Backend Development

Do Service Layers Need Interfaces? A Critical Discussion on Spring‑Based Projects

The article examines whether a Service layer in a Spring‑based backend should be defined by interfaces, debunks common arguments for using interfaces, proposes a top‑down coding workflow, explores project structures for single and multiple implementations, and concludes that interfaces are only worthwhile when multiple implementations are required, while also containing promotional material for unrelated services.

Service LayerSpringbackend architecture
0 likes · 11 min read
Do Service Layers Need Interfaces? A Critical Discussion on Spring‑Based Projects
Top Architect
Top Architect
Jul 13, 2024 · Backend Development

Do Service Layers Need Interfaces? Arguments, Project Structure, and Practical Recommendations

This article examines whether a Service layer in a Spring‑based backend should use interfaces, critiques the common justifications, proposes a top‑down coding workflow, explores AOP proxy options, and presents modular project structures for single or multiple implementations.

Service LayerSpringbackend architecture
0 likes · 10 min read
Do Service Layers Need Interfaces? Arguments, Project Structure, and Practical Recommendations
Code Ape Tech Column
Code Ape Tech Column
Apr 27, 2024 · Backend Development

Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects

This article examines whether every Service and DAO class in a Spring‑based backend should implement an interface, discusses the three traditional reasons for using interfaces, explains why they often do not hold up, and proposes practical structuring alternatives for single‑ and multi‑implementation scenarios.

JavaService LayerSpring
0 likes · 8 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Architect's Tech Stack
Architect's Tech Stack
Apr 16, 2024 · Backend Development

Should the Service Layer Use Interfaces? A Critical Discussion

This article examines whether a Service layer in Java Spring projects truly requires interfaces, debunking common arguments, exploring development workflows without interfaces, discussing project structuring for single and multiple implementations, and concluding when interfaces are beneficial or unnecessary.

JavaService LayerSpring
0 likes · 7 min read
Should the Service Layer Use Interfaces? A Critical Discussion
Architecture Digest
Architecture Digest
Mar 11, 2024 · Databases

MySQL Multi‑Table Join Performance: When to Prefer Service‑Layer Merging Over Database Joins

The article examines MySQL's limited join types and performance drawbacks for multi‑table queries, compares them with PostgreSQL, and explains why many applications split joins into separate service‑layer operations to reduce RPC overhead, improve caching, and handle sharding constraints.

Database DesignMySQLService Layer
0 likes · 7 min read
MySQL Multi‑Table Join Performance: When to Prefer Service‑Layer Merging Over Database Joins
php中文网 Courses
php中文网 Courses
Oct 23, 2023 · Backend Development

Implementing a Service Layer in PHP: Benefits, Steps, and Example Code

This article explains the purpose and advantages of a service layer between presentation and domain layers, outlines step‑by‑step how to create one in PHP—including directory setup, class and interface definitions, dependency injection—and provides sample code for user management services and controller integration.

Code ExampleService Layerbackend development
0 likes · 4 min read
Implementing a Service Layer in PHP: Benefits, Steps, and Example Code
Architect
Architect
Jun 12, 2023 · Backend Development

Best Practices for Application Layering and Domain Model Design

The article explains why clear application layering—covering controller, service, manager, and DAO levels—is essential for maintainable backend code, reviews Alibaba's recommended layer structure, proposes an optimized layering model, and discusses domain model conversions to avoid excessive object transformations.

Service Layerapplication layeringbackend development
0 likes · 9 min read
Best Practices for Application Layering and Domain Model Design
Top Architect
Top Architect
Apr 6, 2023 · Backend Development

General Architecture Overview and Implementation for Scalable Backend Systems

This article presents a senior architect's comprehensive guide to evolving a classic three‑tier backend architecture into a flexible system composed of a gateway layer handling HTTP and TCP protocols, a business layer with services, processes and reusable components, and a foundation layer that defines interfaces and essential technical components such as storage, caching, messaging, transactions, and locking.

Service Layerarchitecturebackend
0 likes · 13 min read
General Architecture Overview and Implementation for Scalable Backend Systems
Architecture Digest
Architecture Digest
Oct 28, 2022 · Backend Development

Application Layering: Principles, Alibaba Specification, and Domain Model Conversion

The article discusses the importance of clear application layering, outlines Alibaba’s multi‑layer architecture, proposes an optimized layering model, explains domain object types (DO, DTO, BO, AO, VO, Query) and offers practical guidelines to improve code maintainability and reuse in backend development.

Service Layerapplication layeringbackend
0 likes · 8 min read
Application Layering: Principles, Alibaba Specification, and Domain Model Conversion
Selected Java Interview Questions
Selected Java Interview Questions
Sep 30, 2022 · Backend Development

Best Practices for Application Layering and Domain Model Design in Backend Development

The article explains why clear application layering—covering controller, service, manager, and DAO levels—is essential for maintainable backend code, describes Alibaba's recommended layer structure, proposes an optimized layering model, and outlines domain object conventions such as DO, DTO, BO, AO, VO, and Query.

Service Layerapplication layeringarchitecture
0 likes · 10 min read
Best Practices for Application Layering and Domain Model Design in Backend Development
Top Architect
Top Architect
Sep 8, 2022 · Databases

When to Use MySQL Multi‑Table Joins vs. Service‑Layer Joins: Performance and Architectural Trade‑offs

The article compares MySQL's limited join capabilities with PostgreSQL's richer options, explains why multi‑table joins can be slower than separate single‑table queries performed in the service layer, and outlines how decomposing joins improves caching, scalability, and overall system performance.

Database ArchitectureMySQLService Layer
0 likes · 8 min read
When to Use MySQL Multi‑Table Joins vs. Service‑Layer Joins: Performance and Architectural Trade‑offs
Java Captain
Java Captain
Jul 6, 2022 · Backend Development

Guidelines for Developing Standard Java Web Applications: Layering, Responsibilities, and Data Types

This article explains how to design a well‑structured Java web application by defining clear three‑layer architecture (Controller, Service, DAO), outlining each layer's responsibilities, describing data type conventions such as PO, BO, VO, DTO, Model, and showing how these types map to the layers for maintainable, scalable development.

Data Transfer ObjectsJavaService Layer
0 likes · 13 min read
Guidelines for Developing Standard Java Web Applications: Layering, Responsibilities, and Data Types
Architecture Digest
Architecture Digest
Apr 27, 2022 · Backend Development

Application Layering Best Practices and Alibaba Specification

The article discusses common pitfalls in application layering, presents the Alibaba coding guideline for multi‑layer architecture, proposes an optimized layering model with clear responsibilities for controller, service, manager, and DAO layers, and explains domain model conversions to improve maintainability and reuse.

Alibaba guidelinesLayered ArchitectureService Layer
0 likes · 9 min read
Application Layering Best Practices and Alibaba Specification
Code Ape Tech Column
Code Ape Tech Column
Apr 22, 2022 · Backend Development

Application Layering Best Practices and Alibaba Specification

This article explains common misconceptions about application layering, outlines essential principles for maintainable layers, details Alibaba's multi‑layer architecture, proposes optimized layering with service and manager responsibilities, discusses domain model conversions, and concludes with practical guidance for clear, reusable backend design.

Alibaba guidelinesService Layerapplication layering
0 likes · 8 min read
Application Layering Best Practices and Alibaba Specification
Top Architect
Top Architect
Apr 14, 2022 · Backend Development

Best Practices for Application Layering in Backend Development

The article discusses the importance of proper application layering in backend development, critiques common misuse of controller and service layers, outlines Alibaba's recommended multi‑layer architecture—including open API, presentation, web, service, manager, and DAO layers—offers optimization suggestions, and highlights domain model conversions.

Alibaba guidelinesService Layerbackend architecture
0 likes · 9 min read
Best Practices for Application Layering in Backend Development
IT Architects Alliance
IT Architects Alliance
Apr 7, 2022 · Backend Development

Best Practices for Application Layering and Domain Model Design

This article explains the importance of clear responsibility separation in application layering, reviews Alibaba's recommended layer structure, proposes an optimized layering model, and discusses domain model conversions to improve code maintainability, reusability, and team collaboration.

Layered ArchitectureService Layerbackend development
0 likes · 9 min read
Best Practices for Application Layering and Domain Model Design
Architect
Architect
Apr 6, 2022 · Backend Development

Application Layering Principles and Practices in Backend Architecture

The article explains the importance of clear application layering, compares Alibaba's recommended multi‑layer architecture with practical optimizations, describes each layer’s responsibilities, discusses domain model transformations, and offers guidelines for maintaining clean, reusable, and maintainable backend code.

Service Layerapplication layeringbackend architecture
0 likes · 10 min read
Application Layering Principles and Practices in Backend Architecture
IT Architects Alliance
IT Architects Alliance
Feb 17, 2022 · Backend Development

Understanding Abstraction and Decoupling in Java Interface‑Based Development

The article discusses how abstraction and decoupling through Java interfaces—such as service layers, RPC APIs, and middleware adapters—can improve code maintainability, enable flexible implementation swaps, and clarify responsibilities, while also warning against over‑engineering in most business scenarios.

DecouplingJavaService Layer
0 likes · 8 min read
Understanding Abstraction and Decoupling in Java Interface‑Based Development