Skip to content

api-evangelist/convention-over-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convention Over Configuration

Convention over Configuration (CoC) is a software design principle that prefers sensible defaults and standard patterns over explicit, repetitive configuration. Frameworks that adopt CoC reduce the number of decisions a developer must make to start a new project while still allowing overrides for non-standard cases. CoC was popularized by Ruby on Rails but predates Rails, drawing on UI principles like the principle of least astonishment and conventions in JavaBeans, Maven, and other Java ecosystems.

URL: Visit APIs.json URL

Tags

  • Conventions, Design Principle, Frameworks, Software Design

Timestamps

  • Created: 2025-01-01
  • Modified: 2026-04-28

APIs

Ruby on Rails

The framework that popularized convention over configuration with ActiveRecord, RESTful routing, and an opinionated app/ directory layout.

Human URL: https://rubyonrails.org/

Spring Boot

Auto-configuration based on classpath, starter dependencies, and externalized configuration via application.yml/properties.

Human URL: https://spring.io/projects/spring-boot

Apache Maven

Strict project layout (src/main/java, src/test/java, target/) and a convention-driven build lifecycle.

Human URL: https://maven.apache.org/

Next.js

File-system-based routing with app/ conventions for layouts, loading, error boundaries, and API routes.

Human URL: https://nextjs.org/

Hugo Static Site Generator

Content, layouts, archetypes, and partials defined by directory convention.

Human URL: https://gohugo.io/

Common Properties

Maintainers

FN: Kin Lane

Email: kin@apievangelist.com

About

Convention over Configuration (CoC) is a software design principle that prefers sensible defaults and standard patterns over explicit, repetitive configuration. Frameworks that adopt CoC reduce the number of decisions a developer must make to start a new project while still allowing overrides for non-standard cases.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors