5

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

So what is meant by convention based framework?

  • 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
6

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.

2

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".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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