Coding by Convention is a software design paradigm used by software frameworks helps to decrease the number of decisions, without necessarily losing flexibility.
Optimizing AI for immediate response in Smart CCTV
Convention Over Configuration
1. CONVENTION OVER CONFIGURATION (CoC)
“Convention over Configuration” (also called “Coding by Convention”) is
a software development approach or software design paradigm used by
software frameworks, it decrease the number of decisions without loosing its
flexibility. It geared toward developing programs according to typical
programming conventions, versus programmer defined configurations. It
enables quick and simple software creation while maintaining base software
requirements. This concept was introduced by David Heinemeier Hansson to
describe the philosophy of the Ruby on Rails web framework.
Convention over configuration relies on the development of a program
through the use of an underlying language’s native procedures, functions,
classes and variables. This approach reduces or eliminates the need for
additional software configuration files, ultimately facilitating and expediting
software development, code consistency and maintenance. However, to
follow these conventions, a software developer must be acquainted with the
underlying framework. Software frameworks that support the convention over
configuration development approach include Ruby on Rails, JavaBeans and
CakePHP.
Together with the DRY and CoC approach, the content in specifications
can be reduced to the minimum.