Tagged articles
66 articles
Page 1 of 1
Top Architect
Top Architect
Apr 26, 2026 · Backend Development

Why the Service Layer Should Not Return a Result Object in Java

The article explains why returning a Result wrapper from the Service layer couples business and presentation logic, reduces reusability, complicates testing and transaction handling, and suggests keeping services pure by returning domain objects and handling errors via exceptions.

Exception HandlingJavaService Layer
0 likes · 12 min read
Why the Service Layer Should Not Return a Result Object in Java
java1234
java1234
Feb 7, 2026 · Backend Development

Why Service Layer Should Not Return a Result Object in Java

The article explains why returning a generic Result wrapper from a Java service layer breaks responsibility separation, harms reusability, complicates exception handling and testing, and obscures transaction boundaries, advocating for returning pure domain objects instead.

Domain-Driven DesignException HandlingJava
0 likes · 13 min read
Why Service Layer Should Not Return a Result Object in Java
Java Companion
Java Companion
Feb 7, 2026 · Backend Development

Why Should the Service Layer in Java Not Return a Result Object Directly?

The article explains that returning a Result wrapper from the Service layer mixes business logic with presentation concerns, leading to tighter coupling, reduced reusability, cumbersome error handling, harder testing, poorer DDD alignment, limited interface flexibility, and ambiguous transaction boundaries.

Domain-Driven DesignException HandlingJava
0 likes · 11 min read
Why Should the Service Layer in Java Not Return a Result Object Directly?
SQB Blog
SQB Blog
Nov 3, 2025 · Backend Development

Building a Scalable Product Middle Platform to Unify Retail, Hospitality & Education

This article describes how a company transformed its fragmented product systems into a unified, domain‑driven middle platform that supports multiple industries, detailing the architectural philosophy, modular design, service layering, template‑based modeling, and the reverse empowerment of legacy restaurant services.

BackendMicroservicesService Layer
0 likes · 16 min read
Building a Scalable Product Middle Platform to Unify Retail, Hospitality & Education
Architect
Architect
Jul 21, 2025 · Backend Development

Do You Really Need Interfaces for Service and DAO Layers in Spring?

While many developers add interfaces to every Service and DAO class, this article argues that with Spring’s dependency injection you can often omit them, examines common reasons for using interfaces, and proposes practical project structures and workflows for both single and multiple implementation scenarios.

Backend DevelopmentInterfaceService Layer
0 likes · 9 min read
Do You Really Need Interfaces for Service and DAO Layers in Spring?
DaTaobao Tech
DaTaobao Tech
May 14, 2025 · Backend Development

How a 2‑Year Journey Unified Java Backend Code Structure for Better Readability and Maintenance

This article shares a two‑and‑a‑half year effort to standardize code style and architecture across a large Java backend, detailing the origins, evolving patterns, a unified layered model, concrete implementation examples, measurable benefits, and future directions for continuous improvement.

Backend ArchitectureDomain-Driven DesignService Layer
0 likes · 16 min read
How a 2‑Year Journey Unified Java Backend Code Structure for Better Readability and Maintenance
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.

Backend ArchitectureJavaMVC
0 likes · 9 min read
Improving MVC Three‑Tier Architecture with a Manager Layer
Java Backend Technology
Java Backend Technology
Mar 4, 2025 · Backend Development

When Are Service‑Layer Interfaces Really Needed?

This article examines the three classic reasons for defining interfaces on Service and DAO layers, explains why they often fall short when using Spring's dependency injection, and offers practical structuring and workflow tips for projects that may or may not require multiple implementations.

BackendInterfaceService Layer
0 likes · 8 min read
When Are Service‑Layer Interfaces Really Needed?
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.

Database PerformanceJOINPostgreSQL
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.

Backend ArchitectureInterfacesService Layer
0 likes · 11 min read
Do Service Layers Need Interfaces? A Critical Discussion on Spring‑Based Projects
IT Architects Alliance
IT Architects Alliance
Jul 2, 2024 · Backend Development

Do You Really Need Interfaces for Service and DAO Layers in Spring?

This article examines whether defining separate interfaces for Service and DAO layers is necessary in Spring projects, debunks common justifications, proposes a bottom‑up development workflow, and outlines project structures for single and multiple implementations, highlighting both benefits and drawbacks.

Backend ArchitectureInterface DesignService Layer
0 likes · 8 min read
Do You Really Need Interfaces for Service and DAO Layers in Spring?
Architect
Architect
Jun 28, 2024 · Backend Development

Do Service and DAO Layers Really Need Interfaces? A Practical Spring Analysis

This article examines whether defining interfaces for Service and DAO layers is necessary in Spring projects, debunks common arguments for interfaces, proposes a top‑down coding workflow, and outlines strategies for handling multiple implementations without adding unnecessary abstraction.

Backend DevelopmentInterfaceService Layer
0 likes · 9 min read
Do Service and DAO Layers Really Need Interfaces? A Practical Spring Analysis
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.

InterfaceJavaService Layer
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.

InterfaceJavaService Layer
0 likes · 7 min read
Should the Service Layer Use Interfaces? A Critical Discussion
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.

Backend DevelopmentPHPService Layer
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 LayerSoftware Architectureapplication layering
0 likes · 9 min read
Best Practices for Application Layering and Domain Model Design
Java Backend Technology
Java Backend Technology
Apr 11, 2023 · Backend Development

Mastering Application Layering: Practical Guide to Clean Backend Architecture

Effective application layering, as outlined by Alibaba’s coding standards, separates concerns across controller, service, manager, DAO, and other layers, ensuring maintainable, reusable code; the article explains each layer’s role, domain model conversions, and practical tips for implementing a clean, team‑wide architecture.

Alibaba standardsBackendService Layer
0 likes · 9 min read
Mastering Application Layering: Practical Guide to Clean Backend Architecture
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 Layergatewaytechnical components
0 likes · 13 min read
General Architecture Overview and Implementation for Scalable Backend Systems
Liangxu Linux
Liangxu Linux
Oct 19, 2022 · Backend Development

Mastering Application Layering: From Alibaba Specs to Practical Backend Architecture

This article examines common misconceptions about application layering, outlines Alibaba's multi‑layer architecture—including Open Interface, Terminal Display, Web, Service, Manager, and DAO layers—offers optimized layering practices, explains domain model transformations, and provides actionable guidelines for building maintainable, reusable backend systems.

AlibabaBackendController
0 likes · 9 min read
Mastering Application Layering: From Alibaba Specs to Practical Backend Architecture
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.

BackendService Layerapplication layering
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 ArchitectureJOINService Layer
0 likes · 8 min read
When to Use MySQL Multi‑Table Joins vs. Service‑Layer Joins: Performance and Architectural Trade‑offs
Programmer DD
Programmer DD
Jul 14, 2022 · Databases

Why MySQL Joins Lag Behind PostgreSQL and How to Optimize Multi‑Table Queries

This article examines MySQL’s limited join capabilities compared to PostgreSQL, explains why multi‑table queries over three tables can be inefficient, and explores strategies such as service‑layer joins, query decomposition, and caching to improve performance and scalability in database‑centric applications.

JOIN optimizationQuery DecompositionService Layer
0 likes · 9 min read
Why MySQL Joins Lag Behind PostgreSQL and How to Optimize Multi‑Table Queries
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 ObjectsJavaLayered Design
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 guidelinesBackend DevelopmentService 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 LayerSoftware Architecture
0 likes · 8 min read
Application Layering Best Practices and Alibaba Specification
IT Architects Alliance
IT Architects Alliance
Apr 19, 2022 · Backend Development

Mastering Application Layering: From Alibaba Standards to Practical Optimizations

This article examines common misconceptions about application layering, outlines essential criteria for effective layering, details Alibaba's official multi‑layer architecture, proposes an optimized layering approach with clear responsibilities for controllers, services, managers, and DAOs, and explains domain model conversions across layers.

Alibaba standardsBackend ArchitectureController
0 likes · 9 min read
Mastering Application Layering: From Alibaba Standards to Practical Optimizations
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 guidelinesBackend ArchitectureLayered Design
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.

Service Layercode organizationdomain model
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.

Backend ArchitectureService Layerapplication layering
0 likes · 10 min read
Application Layering Principles and Practices in Backend Architecture
Java Interview Crash Guide
Java Interview Crash Guide
Jan 24, 2022 · Backend Development

Optimizing a Single‑Database Order System: Core User Flow Walkthrough

This article walks through the core functionalities and business flows of a single‑database order system—covering user order placement, order list queries, detail views, and cancellations—while explaining how Controller, Service, Repository, and Mapper components interact within the backend architecture.

Backend ArchitectureControllerMicroservices
0 likes · 6 min read
Optimizing a Single‑Database Order System: Core User Flow Walkthrough
Senior Brother's Insights
Senior Brother's Insights
Dec 13, 2021 · Fundamentals

Why Good Code Structure Matters and How to Build One

A well‑designed code structure reduces hand‑off friction, eases collaboration, and turns tangled, messy code into a clear, modular system by applying single‑responsibility, reusability, and explicit definitions across layers such as Model, Util, Service, Dao, and Controller.

ModelService Layercode architecture
0 likes · 9 min read
Why Good Code Structure Matters and How to Build One
Top Architect
Top Architect
Dec 8, 2021 · Backend Development

Do You Need Interfaces in the Service Layer? A Top Architect’s Perspective

The article examines whether the Service layer in a Spring‑based Java project truly requires interfaces, debunks common justifications, proposes practical development workflows, and outlines project structures for both single and multiple implementations, concluding with recommendations on when to use interfaces.

JavaService Layerdependency-injection
0 likes · 8 min read
Do You Need Interfaces in the Service Layer? A Top Architect’s Perspective
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2021 · Backend Development

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

This article examines whether Service and DAO layers in Java Spring applications must always have interfaces, explains why dependency‑injection frameworks make interfaces optional, discusses development workflows, multiple‑implementation scenarios, project structuring options, and outlines the trade‑offs of using or not using interfaces.

Backend DevelopmentInterface DesignJava
0 likes · 9 min read
Do Service and DAO Layers Need Interfaces? When to Omit Them in Spring Projects
IT Architects Alliance
IT Architects Alliance
Aug 29, 2021 · Fundamentals

Understanding Three‑Tier Architecture and Layered Design Patterns

This article explains the classic three‑tier software architecture, detailing the responsibilities of the presentation, service, business, and data‑access layers, comparing MVC, MVP, and Presentation Model patterns, and discussing design considerations such as DTOs, WCF services, and common infrastructure for scalable enterprise systems.

Business LayerData AccessLayered Design
0 likes · 10 min read
Understanding Three‑Tier Architecture and Layered Design Patterns
Top Architect
Top Architect
Jul 15, 2021 · Backend Development

Best Practices for Application Layering: Alibaba's Architecture Guidelines and Optimized Design

The article discusses common pitfalls in application layering, presents Alibaba's clear multi‑layer architecture—including Open Interface, Terminal Display, Web, Service, Manager, and DAO layers—offers an optimized layering model with Thrift, explains domain model conversions, and provides practical recommendations for maintainable backend design.

Service LayerSoftware Engineeringbackend design
0 likes · 8 min read
Best Practices for Application Layering: Alibaba's Architecture Guidelines and Optimized Design
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 11, 2021 · Backend Development

How to Refactor an Order Service for Better Maintainability and Testability

This article walks through a simple e‑commerce order flow, highlights the drawbacks of tightly coupled service code, and demonstrates step‑by‑step refactorings—introducing repository abstractions, domain entities, an anti‑corruption layer, and a generic message producer—to achieve a clean, extensible, and testable backend architecture.

Clean ArchitectureCode RefactoringJava
0 likes · 9 min read
How to Refactor an Order Service for Better Maintainability and Testability
Top Architect
Top Architect
May 31, 2021 · Backend Development

Do Service and DAO Layers Need Interfaces? A Practical Discussion for Java Backend Projects

This article examines whether Service and DAO layers in Java backend projects require interfaces, arguing that with dependency‑injection frameworks like Spring the interfaces are often unnecessary, while outlining development workflows, project structures, and scenarios where interfaces remain useful.

Backend ArchitectureInterface DesignJava
0 likes · 8 min read
Do Service and DAO Layers Need Interfaces? A Practical Discussion for Java Backend Projects
Top Architect
Top Architect
Mar 1, 2021 · Backend Development

Application Layering Best Practices and Alibaba Specification

This article explains the importance of clear application layering, compares common misconceptions with Alibaba's recommended multi‑layer architecture, discusses how to implement and optimize layers such as controller, service, manager, and DAO, and outlines domain model conversions to improve maintainability and reuse.

Alibaba standardsControllerService Layer
0 likes · 8 min read
Application Layering Best Practices and Alibaba Specification
Programmer DD
Programmer DD
Jan 27, 2021 · Backend Development

Why Service Layer Interfaces Matter: Boosting Maintainability and Testability

The article explains that while a Service layer may seem unnecessary for simple business logic, it becomes essential as applications grow, offering benefits such as handling complex operations, supporting reuse across controllers, facilitating unit testing, and enabling flexible business logic composition.

Backend ArchitectureService Layercode maintainability
0 likes · 3 min read
Why Service Layer Interfaces Matter: Boosting Maintainability and Testability
Java Architect Essentials
Java Architect Essentials
Jan 17, 2021 · Backend Development

Java Parking System Implementation Example

This article presents a complete Java-based parking system example, detailing functional requirements for users and administrators, and providing full source code for client interaction, entity definitions, service interfaces, and their implementations, illustrating backend development concepts such as singleton patterns, service layers, and basic CRUD operations.

Backend DevelopmentCode ExampleJava
0 likes · 17 min read
Java Parking System Implementation Example
Java Captain
Java Captain
Jan 9, 2021 · Backend Development

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

This article examines whether Service and DAO layers in Java Spring projects should always have interfaces, discusses the arguments for and against using interfaces, and proposes practical structuring and dependency‑injection techniques to decide when interfaces are truly necessary.

InterfaceJavaService Layer
0 likes · 8 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Java Backend Technology
Java Backend Technology
Dec 27, 2020 · Backend Development

Do You Really Need Interfaces for Service and DAO Layers in Spring?

This article examines whether Service and DAO layers in Spring projects truly require interfaces, debunks common justifications, explores alternative project structures for single and multiple implementations, and offers practical guidelines on when to use or omit interfaces.

Interface DesignService Layerdao
0 likes · 8 min read
Do You Really Need Interfaces for Service and DAO Layers in Spring?
Architecture Digest
Architecture Digest
Dec 21, 2020 · Backend Development

Do You Need an Interface for the Service Layer? A Critical Examination

This article examines whether a Service layer in a Spring‑based backend project truly requires an interface, debunks common justifications, proposes practical development workflows, and outlines the advantages and drawbacks of using or omitting interfaces in various architectural scenarios.

Backend ArchitectureInterfaceService Layer
0 likes · 8 min read
Do You Need an Interface for the Service Layer? A Critical Examination
Top Architect
Top Architect
Nov 3, 2020 · 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, evaluates the common arguments for using interfaces, explains why they often do not hold up, and proposes practical structuring and development approaches for projects that may or may not need multiple implementations.

InterfaceJavaService Layer
0 likes · 9 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Java Architect Essentials
Java Architect Essentials
Aug 16, 2020 · Backend Development

Designing a High‑Availability Service Layer: Stateless Architecture, Timeout Settings, Asynchronous Calls, Idempotence, and Service Degradation

This article explains how to build a high‑availability service layer for large‑scale web systems by vertically splitting business domains, adopting stateless design, configuring timeouts, using asynchronous messaging, ensuring idempotent operations, and applying service degradation techniques to maintain stability during traffic spikes.

AsynchronousBackendIdempotence
0 likes · 11 min read
Designing a High‑Availability Service Layer: Stateless Architecture, Timeout Settings, Asynchronous Calls, Idempotence, and Service Degradation
Big Data Technology Architecture
Big Data Technology Architecture
Aug 5, 2020 · Backend Development

Application Layering Best Practices and Alibaba Specification

The article explains common misconceptions about application layering, presents Alibaba's multi‑layer architecture (open‑interface, terminal display, web, service, manager, DAO), proposes an optimized layering model with RPC, and discusses domain‑model conversions such as DO, DTO, BO, AO, VO and Query to achieve clear responsibilities and maintainable code.

Alibaba standardsBackend DevelopmentService Layer
0 likes · 8 min read
Application Layering Best Practices and Alibaba Specification
Programmer DD
Programmer DD
Mar 30, 2020 · Backend Development

Why Your Java Base Controllers Are Misused and How to Refactor Them

The article examines common misuse of base Controller and Service classes in Java micro‑service projects, explains why they violate design principles such as Liskov Substitution, and provides concrete refactoring steps—including moving injections, constants, and utility methods to appropriate layers—to achieve a clean three‑tier architecture.

JavaService LayerSpring MVC
0 likes · 24 min read
Why Your Java Base Controllers Are Misused and How to Refactor Them
macrozheng
macrozheng
Aug 23, 2019 · Backend Development

Why Your Java Controllers Misuse Service Layers—and How to Fix It

This article examines common misuse of base Controller and Service classes in Java Spring projects, explains why they violate the Liskov Substitution Principle, and provides practical steps to split, refactor, and properly structure code across the three‑tier architecture.

BackendJavaService Layer
0 likes · 22 min read
Why Your Java Controllers Misuse Service Layers—and How to Fix It
Java Captain
Java Captain
Jul 28, 2019 · Backend Development

Application Layering: Principles, Alibaba Specification, and Optimized Practices

The article explains why clear application layering—controller, service, manager, DAO—is essential for maintainable backend code, reviews Alibaba's official layer definitions, proposes an optimized layering model with a Thrift TService layer, and discusses domain model conversions to balance reuse and simplicity.

Alibaba specificationControllerService Layer
0 likes · 8 min read
Application Layering: Principles, Alibaba Specification, and Optimized Practices
Java Captain
Java Captain
Dec 12, 2018 · Backend Development

Design and Implementation of the Service Layer for a High‑Concurrency Seckill Application Using Java Spring

This article explains the purpose of the Service layer in a Java SSM‑based high‑concurrency seckill project, walks through interface design, DTO/VO/PO concepts, provides full Service implementation with transaction management, custom exceptions, enumeration for status codes, Spring XML configuration, and unit testing examples.

Backend DevelopmentJavaSeckill
0 likes · 15 min read
Design and Implementation of the Service Layer for a High‑Concurrency Seckill Application Using Java Spring
21CTO
21CTO
Sep 15, 2018 · Backend Development

Laravel Architecture Deep Dive: Repositories, Services, Presenters, Transformers

The article summarizes a video on Laravel project structuring, explaining how separating responsibilities into layers such as Repository for data access, Service for business logic, Presenter for view preparation, Transformer for data shaping, and Formatter for consistent API responses improves maintainability and scalability.

Backend ArchitectureLaravelPresenter
0 likes · 6 min read
Laravel Architecture Deep Dive: Repositories, Services, Presenters, Transformers
Java Backend Technology
Java Backend Technology
Jul 23, 2018 · Backend Development

Mastering Application Layering: Best Practices for Clean Backend Architecture

This article explains why clear application layering matters, outlines Alibaba's recommended layer structure, proposes an optimized layering model with distinct responsibilities, and details domain model conventions to improve code reuse, maintainability, and team collaboration in backend development.

Backend ArchitectureControllerLayered Design
0 likes · 8 min read
Mastering Application Layering: Best Practices for Clean Backend Architecture
Java Captain
Java Captain
Jul 14, 2018 · Backend Development

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

The article explains why clear separation of responsibilities among controller, service, manager, and DAO layers is essential for maintainable backend code, outlines Alibaba's layered architecture guidelines, proposes an optimized layering model, and discusses domain model conversions across layers to avoid excessive object transformations.

Service Layerdaodomain model
0 likes · 9 min read
Best Practices for Application Layering and Domain Model Conversion in Backend Development
dbaplus Community
dbaplus Community
Jun 5, 2018 · Backend Development

Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency

This article explains how to build a highly available service layer by vertically splitting business domains, adopting stateless architecture, configuring timeout policies, using asynchronous calls with message queues, ensuring idempotent operations, and applying service degradation techniques to handle traffic spikes and failures.

AsynchronousBackendIdempotency
0 likes · 13 min read
Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency
Meituan Technology Team
Meituan Technology Team
Dec 28, 2017 · Big Data

Design and Implementation of a Scalable Scenario Query System for Meituan

Meituan built a scalable scenario‑query platform that unifies traffic, activity and investment data by layering RPC services, a Storm‑driven pre‑computation tree stored in Redis/Tair, and a middle‑platform API with circuit‑breaker logic, cutting response times from seconds to under one second while dramatically reducing code coupling and simplifying future feature development.

Apache StormBig DataNoSQL
0 likes · 12 min read
Design and Implementation of a Scalable Scenario Query System for Meituan
Architecture Digest
Architecture Digest
May 1, 2016 · Backend Development

Weibo's Third‑Generation Backend Architecture: Layers, Frameworks, and Monitoring

The article describes how Weibo evolved from a LAMP‑based first generation to a third‑generation, orthogonal‑decomposed backend architecture featuring three horizontal layers (interface, service, resource) and vertical technical components such as Web V4, MCQ queue, Motan RPC, object storage, SSD cache, and the WatchMan distributed tracing system for monitoring and service governance.

RPCService LayerWeibo
0 likes · 11 min read
Weibo's Third‑Generation Backend Architecture: Layers, Frameworks, and Monitoring
21CTO
21CTO
Mar 30, 2016 · Backend Development

Designing a Scalable Notification System: Models, Services, and Subscriptions

This article details the design and implementation of a notification system, covering data models for notifications, user queues, subscription configurations, and a service layer with methods for creating, pulling, and managing announcements, reminders, and messages.

Notification SystemService Layerbackend design
0 likes · 10 min read
Designing a Scalable Notification System: Models, Services, and Subscriptions
21CTO
21CTO
Nov 16, 2015 · Mobile Development

Native Mobile App Architecture: MVC, MVVM, HMVC & Layered Patterns

This article examines common architectural patterns for native mobile applications—including classic MVC, its MVVM extension, hierarchical HMVC, and various layered designs such as three‑, four‑, and five‑tier architectures—explaining their structures, advantages, and appropriate use cases to help developers choose the most efficient model.

HMVCLayered DesignMVC
0 likes · 7 min read
Native Mobile App Architecture: MVC, MVVM, HMVC & Layered Patterns
Architect
Architect
Aug 27, 2015 · Fundamentals

IoT Architecture Model and Layered Design for the Lan Platform

This article presents a practical IoT layered architecture model, contrasting the classic three‑tier view with a four‑tier structure (hardware, coordination, service, and application layers), explains the role of each layer, and advocates using hexagonal architecture for the service layer in the Lan platform.

Hexagonal ArchitectureIoTLayered Design
0 likes · 4 min read
IoT Architecture Model and Layered Design for the Lan Platform