Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm reading about ColdBox, and I came across this word.

So what is meant by convention based framework?

share|improve this question
1  
not sure but I heard something simular recently that might help you look... they were talking about convention-over-configuration –  Beth Whitezel Dec 11 '10 at 6:58

2 Answers 2

up vote 5 down vote accepted

Like BitOff mentions, it means what others convention over configuration. This seems to be confirmed by the ColdBox home page.

Basically, this means that instead of having configuration files describing details about a project - where to find files, which classes to instantiate, which URLs map to which classes, and so forth - the framework provides good defaults that allow you to just put the files and classes and methods in the right place and be done with it.

share|improve this answer

It means that details that usually do not carry any semantic (that is, any meaning) are used by the framework to generate a default configuration. It is also known as "convention over configuration".

For example, in Ruby on Rails, if you use a class named Customer, the generated database table will automatically be named "customers".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.