Global Information Lookup Global Information

Convention over configuration information


Convention over configuration (also known as coding by convention) is a software design paradigm used by software frameworks that attempts to decrease the number of decisions that a developer using the framework is required to make without necessarily losing flexibility and don't repeat yourself (DRY) principles.[1]

The concept was introduced by David Heinemeier Hansson to describe the philosophy of the Ruby on Rails web framework, but is related to earlier ideas like the concept of "sensible defaults" and the principle of least astonishment in user interface design.

The phrase essentially means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sales in the model, the corresponding table in the database is called "sales" by default. It is only if one deviates from this convention, such as the table "product sales", that one needs to write code regarding these names.

When the convention implemented by the tool matches the desired behavior, it behaves as expected without having to write configuration files. Only when the desired behavior deviates from the implemented convention is explicit configuration required.

Ruby on Rails' use of the phrase is particularly focused on its default project file and directory structure, which prevent developers from having to write XML configuration files to specify which modules the framework should load, which was common in many earlier frameworks.

  1. ^ Doyle, Kerry (11 November 2021). "Programming in Ruby: A critical look at the pros and cons". Search App Architecture. Retrieved 17 December 2021.

and 23 Related for: Convention over configuration information

Request time (Page generated in 0.8448 seconds.)

Convention over configuration

Last Update:

Convention over configuration (also known as coding by convention) is a software design paradigm used by software frameworks that attempts to decrease...

Word Count : 701

Spring Boot

Last Update:

effort. Spring Boot is a convention-over-configuration extension for the Spring Java platform intended to help minimize configuration concerns while creating...

Word Count : 875

Spring Framework

Last Update:

Security sub-project (formerly Acegi Security System for Spring). Convention over configuration: a rapid application development solution for Spring-based enterprise...

Word Count : 6672

Ruby on Rails

Last Update:

well-known software engineering patterns and paradigms, including convention over configuration (CoC), don't repeat yourself (DRY), and the active record pattern...

Word Count : 4229

Convention over Code

Last Update:

semantics of the feature. Similar to Convention over Configuration, if a keyword can be implied by its absence due to convention, it becomes less a part of the...

Word Count : 252

Boilerplate code

Last Update:

the needed boilerplate code or insert it at compile time), convention over configuration (which provides good default values, reducing the need to specify...

Word Count : 1324

List of Java frameworks

Last Update:

Spring Roo Spring Roo is an open source software tool that uses convention-over-configuration principles to provide rapid application development of Java-based...

Word Count : 12

JUnit

Last Update:

approach to the build process. Maven follows the paradigm of "convention over configuration" for managing its dependencies. The Java source code (or "src")...

Word Count : 1825

Gradle

Last Update:

follows a convention over configuration approach, it is possible to describe all of these build phases in short configuration files. Conventions include...

Word Count : 626

Zen of Python

Last Update:

to refactoring tools to help programmers achieve this goal. Convention over configuration There's more than one way to do it The source code for the Zen...

Word Count : 1127

Spring Roo

Last Update:

Spring Roo is an open-source software tool that uses convention-over-configuration principles to provide rapid application development of Java-based enterprise...

Word Count : 2104

CakePHP

Last Update:

engineering concepts and software design patterns, such as convention over configuration, model–view–controller, active record, association data mapping...

Word Count : 865

COC

Last Update:

the Reorganized Church of Jesus Christ of Latter Day Saints Convention over configuration, a software design paradigm which seeks to decrease the number...

Word Count : 660

Web framework

Last Update:

Application server Application framework Application security Convention over configuration Don't repeat yourself (DRY) List of web service frameworks Rich...

Word Count : 2092

List of software development philosophies

Last Update:

Agent-oriented programming Aspect-oriented programming (AOP) Convention over configuration Component-based software engineering Functional programming...

Word Count : 1252

Play Framework

Last Update:

Java. It aims to optimize developer productivity by using convention over configuration, hot code reloading and display of errors in the browser. Support...

Word Count : 1128

Apache Maven

Last Update:

by embracing the idea of Convention over Configuration, that is, Maven provides default values for the project's configuration. The directory structure...

Word Count : 2063

Principle of least astonishment

Last Update:

makes an unsurprising user experience. DWIM (do what I mean) Convention over configuration Human interface guidelines Look and feel Occam's razor WYSIWYG...

Word Count : 1661

Apache Tapestry

Last Update:

developer productivity. It adheres to the Convention over Configuration paradigm, eliminating almost all XML configuration. Tapestry uses a modular approach to...

Word Count : 1574

Comparison of code generation tools

Last Update:

HTML, CSS Celerio Java Active Tier Database schema Convention over Configuration and Configuration Custom templates (velocity) Any textual language, but...

Word Count : 400

Web2py

Last Update:

these frameworks, web2py focuses on rapid development, favors convention over configuration approach and follows a model–view–controller (MVC) architectural...

Word Count : 2780

Configuration management

Last Update:

processes Configuration control and configuration-status accounting Naming conventions Audits and reviews Subcontractor/vendor CM requirements Configuration Identification...

Word Count : 3374

Jakarta Enterprise Beans

Last Update:

feature added to the Java language with its 5.0 release) and convention over configuration to enable a much less verbose coding style. Accordingly, in...

Word Count : 4981

PDF Search Engine © AllGlobal.net