Is Convention Over Configuration “Knowledge in the World” or “Knowledge In Your Head”?

In Don Norman’s seminal work “The Design of Everyday Things”, the author coined the phrases and explains the difference between “Knowledge in the World” and “Knowledge In Your Head”; an example of this is a multi-switch light panel that can either incorporate “Knowledge in the World” by being a model/map of the room, with the switches in the corresponding location, or “Knowledge In Your Head” (which is how they are almost always designed/implemented) when you have to memorize which switch toggles which light.

You could think of “Knowledge in the World” as something you can deduce by using observation and logic, and “Knowledge in your Head” as something that has to be memorized.

In the world of DI, and “Auto-Registration,” which relies on the “Convention Over Configuration” pattern, would using this process be a case of the programmer using “Knowledge in the World” (the functionality is expected, as the framework provides it) or is it “Knowledge In Your Head” (the programmer has to be aware of and learn the convention).

I am taking the wishy-washy/middle-of-the-road view that Convention Over Configuration is a midway world twixt the two.

Am I wrong?

1

Convention Over Configuration is pretty much by definition “Knowledge in the World” – the convention is always meant to be so “obvious” that you don’t have to learn much: things like having URLs automatically mapped to controller classes and DB tables to model classes. The same for auto-registration DI – you have objects automatically instantiated and injected into others based on naming conventions. It “just works”.

Of course, the problem is that in practice it’s not always (and almost never in sufficiently large systems) that simple. You have special requirements and edge cases not covered by the conventions, and it stops working. The problem then is that all this “magic” you’re supposed to depend on is opaque to you and relies on mechanisms that are quite complex by themselves. And you have to invest a lot of time to learn how it works so you can make it work the way you need and fix it when it breaks. And then it has become “Knowledge in your head”.

But in a well-designed and correctly-used system, this should be rare enough that it’s still worthwhile.

4

Although Convention over Configuration is supposed to be ‘Knowledge in the World’ it invariably isnt.

public class MyController(IMyService service)...

public class DefaultService : IMyService...

public class ASpecialService: IMyService...

Which service is used?

How do you acquire that knowledge?

“Knowledge in the world”: mostly by experience and conventions. In your switch example, you know already what a plan is and how to map it to the actual room.

“Knowledge in your head”: mostly by experimentation – in the switch example, you try them.

From that perspective, convention over configuration is definitely “knowledge in the world”.

(Note that while most house switches end up ‘knowledge in your head’, they still respect some ‘knowledge in the world’ conventions such as being – generally – in the same room as the lights and – if your electrician is any good – roughly ordered like the lights in a multi switch configuration)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa

Is Convention Over Configuration “Knowledge in the World” or “Knowledge In Your Head”?

In Don Norman’s seminal work “The Design of Everyday Things”, the author coined the phrases and explains the difference between “Knowledge in the World” and “Knowledge In Your Head”; an example of this is a multi-switch light panel that can either incorporate “Knowledge in the World” by being a model/map of the room, with the switches in the corresponding location, or “Knowledge In Your Head” (which is how they are almost always designed/implemented) when you have to memorize which switch toggles which light.

You could think of “Knowledge in the World” as something you can deduce by using observation and logic, and “Knowledge in your Head” as something that has to be memorized.

In the world of DI, and “Auto-Registration,” which relies on the “Convention Over Configuration” pattern, would using this process be a case of the programmer using “Knowledge in the World” (the functionality is expected, as the framework provides it) or is it “Knowledge In Your Head” (the programmer has to be aware of and learn the convention).

I am taking the wishy-washy/middle-of-the-road view that Convention Over Configuration is a midway world twixt the two.

Am I wrong?

1

Convention Over Configuration is pretty much by definition “Knowledge in the World” – the convention is always meant to be so “obvious” that you don’t have to learn much: things like having URLs automatically mapped to controller classes and DB tables to model classes. The same for auto-registration DI – you have objects automatically instantiated and injected into others based on naming conventions. It “just works”.

Of course, the problem is that in practice it’s not always (and almost never in sufficiently large systems) that simple. You have special requirements and edge cases not covered by the conventions, and it stops working. The problem then is that all this “magic” you’re supposed to depend on is opaque to you and relies on mechanisms that are quite complex by themselves. And you have to invest a lot of time to learn how it works so you can make it work the way you need and fix it when it breaks. And then it has become “Knowledge in your head”.

But in a well-designed and correctly-used system, this should be rare enough that it’s still worthwhile.

4

Although Convention over Configuration is supposed to be ‘Knowledge in the World’ it invariably isnt.

public class MyController(IMyService service)...

public class DefaultService : IMyService...

public class ASpecialService: IMyService...

Which service is used?

How do you acquire that knowledge?

“Knowledge in the world”: mostly by experience and conventions. In your switch example, you know already what a plan is and how to map it to the actual room.

“Knowledge in your head”: mostly by experimentation – in the switch example, you try them.

From that perspective, convention over configuration is definitely “knowledge in the world”.

(Note that while most house switches end up ‘knowledge in your head’, they still respect some ‘knowledge in the world’ conventions such as being – generally – in the same room as the lights and – if your electrician is any good – roughly ordered like the lights in a multi switch configuration)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa

Is Convention Over Configuration “Knowledge in the World” or “Knowledge In Your Head”?

In Don Norman’s seminal work “The Design of Everyday Things”, the author coined the phrases and explains the difference between “Knowledge in the World” and “Knowledge In Your Head”; an example of this is a multi-switch light panel that can either incorporate “Knowledge in the World” by being a model/map of the room, with the switches in the corresponding location, or “Knowledge In Your Head” (which is how they are almost always designed/implemented) when you have to memorize which switch toggles which light.

You could think of “Knowledge in the World” as something you can deduce by using observation and logic, and “Knowledge in your Head” as something that has to be memorized.

In the world of DI, and “Auto-Registration,” which relies on the “Convention Over Configuration” pattern, would using this process be a case of the programmer using “Knowledge in the World” (the functionality is expected, as the framework provides it) or is it “Knowledge In Your Head” (the programmer has to be aware of and learn the convention).

I am taking the wishy-washy/middle-of-the-road view that Convention Over Configuration is a midway world twixt the two.

Am I wrong?

1

Convention Over Configuration is pretty much by definition “Knowledge in the World” – the convention is always meant to be so “obvious” that you don’t have to learn much: things like having URLs automatically mapped to controller classes and DB tables to model classes. The same for auto-registration DI – you have objects automatically instantiated and injected into others based on naming conventions. It “just works”.

Of course, the problem is that in practice it’s not always (and almost never in sufficiently large systems) that simple. You have special requirements and edge cases not covered by the conventions, and it stops working. The problem then is that all this “magic” you’re supposed to depend on is opaque to you and relies on mechanisms that are quite complex by themselves. And you have to invest a lot of time to learn how it works so you can make it work the way you need and fix it when it breaks. And then it has become “Knowledge in your head”.

But in a well-designed and correctly-used system, this should be rare enough that it’s still worthwhile.

4

Although Convention over Configuration is supposed to be ‘Knowledge in the World’ it invariably isnt.

public class MyController(IMyService service)...

public class DefaultService : IMyService...

public class ASpecialService: IMyService...

Which service is used?

How do you acquire that knowledge?

“Knowledge in the world”: mostly by experience and conventions. In your switch example, you know already what a plan is and how to map it to the actual room.

“Knowledge in your head”: mostly by experimentation – in the switch example, you try them.

From that perspective, convention over configuration is definitely “knowledge in the world”.

(Note that while most house switches end up ‘knowledge in your head’, they still respect some ‘knowledge in the world’ conventions such as being – generally – in the same room as the lights and – if your electrician is any good – roughly ordered like the lights in a multi switch configuration)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật