Convention over Configuration
A software design paradigm in which a framework provides sensible default behavior for common cases, so developers need only explicitly configure the parts that deviate from convention, reducing configuration files and boilerplate code.
Core Facts
Timeline (last 90 days)
'Convention over Configuration' is Rails' core design philosophy: the framework provides defaults for routing, database mapping, middleware order, and so on, allowing developers to launch quickly without declaring each item individually.
Under Rails' 'Convention over Configuration' philosophy, security boundaries are defined by framework defaults rather than explicitly by application authors, so flaws in the default middleware stack or default serialization behavior affect all stock applications without additional hardening.
The convention-over-configuration paradigm was popularized by Rails around 2004, and its core claim is that the framework presets reasonable default behavior for common scenarios, so developers only need to write configuration when deviating from the default conventions.
The downside cost of convention over configuration is a sense of magic; when the default behavior does not meet requirements, developers need to understand the framework's internal inference rules in order to override it correctly.
Convention over Configuration is the core design principle for which Ruby on Rails is renowned.
The "convention over configuration" design principle can be applied to layering development environments: the infrastructure layer remains unified while the application layer allows personalized configuration.
All Facts (7)
Convention over Configuration is the core design principle for which Ruby on Rails is renowned.
65%VerifiedThe "Convention over Configuration" principle was first popularized by the Ruby on Rails framework in 2004.
65%UnverifiedUnder Rails' 'Convention over Configuration' philosophy, security boundaries are defined by framework defaults rather than explicitly by application authors, so flaws in the default middleware stack or default serialization behavior affect all stock applications without additional hardening.
50%Unverified'Convention over Configuration' is Rails' core design philosophy: the framework provides defaults for routing, database mapping, middleware order, and so on, allowing developers to launch quickly without declaring each item individually.
50%UnverifiedThe convention-over-configuration paradigm was popularized by Rails around 2004, and its core claim is that the framework presets reasonable default behavior for common scenarios, so developers only need to write configuration when deviating from the default conventions.
50%UnverifiedThe downside cost of convention over configuration is a sense of magic; when the default behavior does not meet requirements, developers need to understand the framework's internal inference rules in order to override it correctly.
50%UnverifiedThe "convention over configuration" design principle can be applied to layering development environments: the infrastructure layer remains unified while the application layer allows personalized configuration.
50%