What is convention over configuration?
Convention over Configuration is a software development approach aimed at developing programs in accordance with typical programming conventions versus programmer-defined configurations. It enables quick and easy software creation while maintaining the basic software requirements. Convention over configuration is also known as encoding by convention.
Convention over configuration relies on developing a program using the native procedures, functions, classes, and variables of an underlying language. This approach reduces or eliminates the need for additional software configuration files, which ultimately facilitates and speeds up software development, code consistency, and maintenance. To these conventions too consequences, however, a software developer must be familiar with the underlying framework.
Software frameworks that support the convention versus the configuration development approach include Ruby on Rails, JavaBeans, and CakePHP.