Tag

code organization

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jun 5, 2025 · Fundamentals

Master Python Code Organization: Functions, Modules, and Packages Explained

Learn why organizing Python code with functions, modules, and packages is essential for maintainable, scalable projects, and follow step‑by‑step examples that cover basic syntax, practical tips, package structures, dynamic imports, and a hands‑on mini‑project to build your own utility toolkit.

Best PracticesFunctionsModules
0 likes · 6 min read
Master Python Code Organization: Functions, Modules, and Packages Explained
Test Development Learning Exchange
Test Development Learning Exchange
Mar 4, 2025 · Fundamentals

Understanding Python Modularization and Import Mechanisms

This article explains the fundamentals of Python modularization, covering basic concepts, various import styles, practical use‑case examples, and best‑practice guidelines such as avoiding circular dependencies and using clear package structures to improve code maintainability and scalability.

@ImportBest PracticesModularization
0 likes · 7 min read
Understanding Python Modularization and Import Mechanisms
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 9, 2025 · Frontend Development

Managing and Optimizing Import Statements in Frontend Projects

This article explains why import statements can fill an entire file, examines the problems caused by excessive imports, and presents practical techniques such as module re‑export, require.context, dynamic import, webpack ProvidePlugin, Vite plugins, TypeScript namespaces, aliasing, and Babel plugins to keep import sections concise and maintainable.

@ImportFrontendWebpack
0 likes · 11 min read
Managing and Optimizing Import Statements in Frontend Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 22, 2023 · Frontend Development

Front‑End API Management Strategies Using Mapping Tables and Export Patterns

The article presents a front‑end API management approach that organizes CRUD functions into unified export statements, object‑oriented modules, and a central mapping table, demonstrating how these patterns improve code readability, maintainability, and development efficiency for large backend‑driven projects.

APIExportFrontend
0 likes · 11 min read
Front‑End API Management Strategies Using Mapping Tables and Export Patterns
Python Programming Learning Circle
Python Programming Learning Circle
Aug 18, 2023 · Backend Development

Applying Layered Architecture to a Massive Python Backend Project

This article explains how a Python team managing a codebase of nearly 28,000 modules introduced a layered architecture, enforced it with Import Linter, tracked technical debt, and discusses the benefits and drawbacks of such a structure for large‑scale backend development.

Import LinterLayered ArchitectureTechnical Debt
0 likes · 13 min read
Applying Layered Architecture to a Massive Python Backend Project
Architect
Architect
Aug 12, 2023 · Backend Development

Understanding Code Architecture: Clean, Hexagonal, Onion, COLA and a Go Implementation Guide

This article explains why code architecture matters, compares Clean, Hexagonal, Onion and COLA patterns, describes their layered structures and separation‑of‑concerns principles, and provides a practical Go project layout with concrete code examples to illustrate how each layer interacts.

BackendGoclean architecture
0 likes · 19 min read
Understanding Code Architecture: Clean, Hexagonal, Onion, COLA and a Go Implementation Guide
政采云技术
政采云技术
Feb 14, 2023 · Frontend Development

Analysis of Remesh: A Frontend DDD Framework

This article provides an in-depth analysis of Remesh, a frontend framework implementing Domain-Driven Design (DDD) principles, exploring its core concepts, advantages, and practical implementation.

CQRSDDDDomain-Driven Design
0 likes · 13 min read
Analysis of Remesh: A Frontend DDD Framework
Architect's Guide
Architect's Guide
Jan 17, 2023 · Fundamentals

Why Managing Complexity Is Futile: Understanding Complexity Transfer and Local Consequence

The article argues that complexity in software systems cannot be eliminated but only shifted, emphasizing the inevitability of leaks, the limits of local consequence, and the practical value of layering and eliminating duplication to make frequent changes easier and code more understandable.

code organizationcomplexitydesign principles
0 likes · 8 min read
Why Managing Complexity Is Futile: Understanding Complexity Transfer and Local Consequence
Architecture Digest
Architecture Digest
Dec 28, 2022 · Backend Development

Methodology for Writing Complex Business Code: Structured Process Decomposition and Domain Modeling

This article presents a practical methodology for handling complex business scenarios by combining top‑down process decomposition with bottom‑up domain modeling, illustrating the approach with a retail product onboarding case, code examples, and guidance on capability sinking and model‑driven design.

Domain-Driven Designbackend architecturecode organization
0 likes · 14 min read
Methodology for Writing Complex Business Code: Structured Process Decomposition and Domain Modeling
Architect
Architect
Oct 30, 2022 · Fundamentals

Managing Complexity in Software Architecture

The article argues that complexity in software systems is unavoidable and must be consciously placed, managed, and reduced through thoughtful architectural decisions, prioritizing high‑frequency changes, eliminating duplication, and accepting that perfect local consequences are impossible.

code organizationcomplexitydesign principles
0 likes · 9 min read
Managing Complexity in Software Architecture
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
Tencent Cloud Developer
Tencent Cloud Developer
Mar 8, 2022 · Backend Development

Go Microservices Architecture Best Practices Based on Clean Architecture and trpc-Go

The article presents clean‑architecture best practices for Go microservices built with trpc‑Go, recommending a four‑layer pyramid (gateway, logic, repo, entity), strict dependency inversion, interface‑based injection, gomock testing, centralized JSON configuration, and a three‑phase rollout to replace tangled packages and global imports while avoiding DDD complexity.

Go backendclean architecturecode organization
0 likes · 14 min read
Go Microservices Architecture Best Practices Based on Clean Architecture and trpc-Go
vivo Internet Technology
vivo Internet Technology
Aug 18, 2021 · Mobile Development

Android App Modular Development Practice: A Comprehensive Guide

This guide explains how to adopt a multi‑project modular architecture for Android apps—distinguishing components from modules, outlining vertical and horizontal design layers, showing ARouter‑based navigation and communication, and detailing a top‑down, bottom‑up migration process used to refactor the vivo official app.

ARouterAndroid DevelopmentApp Architecture
0 likes · 15 min read
Android App Modular Development Practice: A Comprehensive Guide
Baidu App Technology
Baidu App Technology
May 14, 2021 · Frontend Development

Deep Dive into Vue 3 Composition API: Design, Analysis, and Practical Implementation

The article thoroughly examines Vue 3’s Composition API, explaining its motivation over the Options API, detailing its function‑based design and TypeScript advantages, addressing concerns about complexity, and offering practical guidance on when and how to adopt it for cleaner, more maintainable component logic.

Best PracticesComponent DesignComposition API
0 likes · 12 min read
Deep Dive into Vue 3 Composition API: Design, Analysis, and Practical Implementation
Architecture Digest
Architecture Digest
Sep 12, 2019 · Backend Development

Methodology for Writing Complex Business Code: Process Decomposition and Domain Modeling

This article presents a practical methodology for handling complex business logic by combining top‑down process decomposition with bottom‑up domain modeling, illustrating the approach with a detailed product‑on‑sale use case, code examples, and guidance on avoiding over‑reliance on tooling.

BackendDomain-Driven DesignJava
0 likes · 12 min read
Methodology for Writing Complex Business Code: Process Decomposition and Domain Modeling
360 Tech Engineering
360 Tech Engineering
May 17, 2019 · Backend Development

Guidelines for Organizing Go Projects: Structure of the gobox-demo Template

This article shares practical guidelines and a detailed directory layout for organizing Go projects, illustrated with the gobox-demo template, covering configuration, source code organization, controller/action separation, service layer structuring, and best‑practice recommendations for clean, maintainable backend development.

BackendGoMVC
0 likes · 4 min read
Guidelines for Organizing Go Projects: Structure of the gobox-demo Template
Beike Product & Technology
Beike Product & Technology
Jan 24, 2019 · Frontend Development

Understanding and Applying the BEM Naming Methodology in Frontend Development

This article explains the BEM (Block‑Element‑Modifier) naming convention, why it is needed for style isolation, readability and maintainability, outlines its syntax and common patterns, and provides practical guidelines for page, shared, and local component naming in modern front‑end projects.

BEMCSSFrontend
0 likes · 10 min read
Understanding and Applying the BEM Naming Methodology in Frontend Development
Java Captain
Java Captain
Nov 26, 2018 · Backend Development

Design and Implementation of a Reusable Java Backend Framework (lyyzoo)

This article details the design of a reusable Java backend framework called lyyzoo, covering coding standards, Maven module hierarchy, dependency management, core utility classes, and Spring configuration for web, JPA, and transaction support, providing a comprehensive guide for building enterprise applications.

Dependency ManagementHibernateJava
0 likes · 25 min read
Design and Implementation of a Reusable Java Backend Framework (lyyzoo)
Architecture Digest
Architecture Digest
Dec 4, 2017 · Fundamentals

Rethinking Object‑Oriented Programming: From Myth to Practical Understanding

The article reflects on a decade of programming experience to demystify object‑oriented programming, arguing that OOP should be taught as a practical tool for reducing complexity rather than an abstract doctrine, and discusses how to organize functions into classes, avoid misuse of inheritance and design patterns, and focus on solving real problems.

code organizationdesign patternsinheritance
0 likes · 10 min read
Rethinking Object‑Oriented Programming: From Myth to Practical Understanding
Qunar Tech Salon
Qunar Tech Salon
May 23, 2017 · Mobile Development

Ctrip Technical Salon: Mobile Development Practices and Performance Optimization – MVC, MVP and the Extended MVCPI Architecture

This article presents a detailed analysis of the evolution from MVC to MVP in Android hotel‑business development, illustrates common pitfalls such as bloated controllers and context loss, introduces Ctrip's extended MVCPI pattern with weakly‑typed IView, Presenter and Interactor components, and provides concrete code examples for each architecture.

MVCMVPMobile Development
0 likes · 15 min read
Ctrip Technical Salon: Mobile Development Practices and Performance Optimization – MVC, MVP and the Extended MVCPI Architecture