SlideShare a Scribd company logo
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.

More Related Content

Similar to Convention Over Configuration

Jfokus Workshop: Code in the Cloud for the Cloud
Jfokus Workshop: Code in the Cloud for the CloudJfokus Workshop: Code in the Cloud for the Cloud
Jfokus Workshop: Code in the Cloud for the Cloud
Lauren Hayward Schaefer
 
How DevOps Services Can Accelerate the Software Development Process
How DevOps Services Can Accelerate the Software Development ProcessHow DevOps Services Can Accelerate the Software Development Process
How DevOps Services Can Accelerate the Software Development Process
Sterling Technolabs
 
PHP Frameworks
PHP FrameworksPHP Frameworks
PHP Frameworks
Dumindu Pahalawatta
 
Demystifying Programming Frameworks - A Step-by-Step Guide.pdf
Demystifying Programming Frameworks - A Step-by-Step Guide.pdfDemystifying Programming Frameworks - A Step-by-Step Guide.pdf
Demystifying Programming Frameworks - A Step-by-Step Guide.pdf
SeasiaInfotech2
 
The Role of DevOps in Modern Software Development.pdf
The Role of DevOps in Modern Software Development.pdfThe Role of DevOps in Modern Software Development.pdf
The Role of DevOps in Modern Software Development.pdf
MegataskWeb
 
How To Choose A PHP Web Development Framework In 2022
How To Choose A PHP Web Development Framework In 2022How To Choose A PHP Web Development Framework In 2022
How To Choose A PHP Web Development Framework In 2022
freitabrowing
 
Mastering Programming Frameworks - A Comprehensive Guide.pdf
Mastering Programming Frameworks - A Comprehensive Guide.pdfMastering Programming Frameworks - A Comprehensive Guide.pdf
Mastering Programming Frameworks - A Comprehensive Guide.pdf
SeasiaInfotech2
 
Databased Software Engineering
Databased Software EngineeringDatabased Software Engineering
Databased Software Engineering
Anas R.
 
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
DigitalOcean
 
Crucial Significance of DevOps in Contemporary Web Application Development.pptx
Crucial Significance of DevOps in Contemporary Web Application Development.pptxCrucial Significance of DevOps in Contemporary Web Application Development.pptx
Crucial Significance of DevOps in Contemporary Web Application Development.pptx
Catherine William
 
Technource - Zend framework Developers India
Technource - Zend framework Developers IndiaTechnource - Zend framework Developers India
Technource - Zend framework Developers India
Technource
 
A step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdfA step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdf
HuianAhLam
 
A step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdfA step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdf
OliviaEdna
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USA
technoprofiles
 
The Benefits of DevOps.pdf
The Benefits of DevOps.pdfThe Benefits of DevOps.pdf
The Benefits of DevOps.pdf
MPIRIC Software
 
Latest dev ops trends in 2021 you should know
Latest dev ops trends in 2021 you should knowLatest dev ops trends in 2021 you should know
Latest dev ops trends in 2021 you should know
Impressico Business Solutions
 
What is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdfWhat is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdf
komalmanu87
 
What is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdfWhat is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdf
komalmanu87
 
Software Architecture.docx
Software Architecture.docxSoftware Architecture.docx
Software Architecture.docx
MuhammadKhalil502533
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
Shelly Megan
 

Similar to Convention Over Configuration (20)

Jfokus Workshop: Code in the Cloud for the Cloud
Jfokus Workshop: Code in the Cloud for the CloudJfokus Workshop: Code in the Cloud for the Cloud
Jfokus Workshop: Code in the Cloud for the Cloud
 
How DevOps Services Can Accelerate the Software Development Process
How DevOps Services Can Accelerate the Software Development ProcessHow DevOps Services Can Accelerate the Software Development Process
How DevOps Services Can Accelerate the Software Development Process
 
PHP Frameworks
PHP FrameworksPHP Frameworks
PHP Frameworks
 
Demystifying Programming Frameworks - A Step-by-Step Guide.pdf
Demystifying Programming Frameworks - A Step-by-Step Guide.pdfDemystifying Programming Frameworks - A Step-by-Step Guide.pdf
Demystifying Programming Frameworks - A Step-by-Step Guide.pdf
 
The Role of DevOps in Modern Software Development.pdf
The Role of DevOps in Modern Software Development.pdfThe Role of DevOps in Modern Software Development.pdf
The Role of DevOps in Modern Software Development.pdf
 
How To Choose A PHP Web Development Framework In 2022
How To Choose A PHP Web Development Framework In 2022How To Choose A PHP Web Development Framework In 2022
How To Choose A PHP Web Development Framework In 2022
 
Mastering Programming Frameworks - A Comprehensive Guide.pdf
Mastering Programming Frameworks - A Comprehensive Guide.pdfMastering Programming Frameworks - A Comprehensive Guide.pdf
Mastering Programming Frameworks - A Comprehensive Guide.pdf
 
Databased Software Engineering
Databased Software EngineeringDatabased Software Engineering
Databased Software Engineering
 
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
Combining Cloud Native & PaaS: Building a Fully Managed Application Platform ...
 
Crucial Significance of DevOps in Contemporary Web Application Development.pptx
Crucial Significance of DevOps in Contemporary Web Application Development.pptxCrucial Significance of DevOps in Contemporary Web Application Development.pptx
Crucial Significance of DevOps in Contemporary Web Application Development.pptx
 
Technource - Zend framework Developers India
Technource - Zend framework Developers IndiaTechnource - Zend framework Developers India
Technource - Zend framework Developers India
 
A step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdfA step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdf
 
A step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdfA step-by-step guide to the development of back-end systems.pdf
A step-by-step guide to the development of back-end systems.pdf
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USA
 
The Benefits of DevOps.pdf
The Benefits of DevOps.pdfThe Benefits of DevOps.pdf
The Benefits of DevOps.pdf
 
Latest dev ops trends in 2021 you should know
Latest dev ops trends in 2021 you should knowLatest dev ops trends in 2021 you should know
Latest dev ops trends in 2021 you should know
 
What is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdfWhat is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdf
 
What is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdfWhat is DevOps Services_ Tools and Benefits.pdf
What is DevOps Services_ Tools and Benefits.pdf
 
Software Architecture.docx
Software Architecture.docxSoftware Architecture.docx
Software Architecture.docx
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
 

Recently uploaded

OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 

Recently uploaded (20)

OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 

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.