dimanche 23 août 2015

Which layer the Bootstrap System should be in?

Following multilayered software architecture, a application should be consist of serveral layers.

(eg: Presentation layer, Business layer, Data access layer, ...)

For instance:

In a MV* application, we said "Presentation layer could see Model layer, but Model layer shouldn't be able to see Presentation layer".

OK, That's right!

But in a actual application (eg: a desktop application), there are some "Bootstrap System" code like: bootstrap application, application lifecycle management, load UI system, init resource, and so on...

It seems that the "Bootstrap System" could see everything in the application whether it is "model" or "presentation".

My quesiton is: Which layer the "Bootstrap System" should be in.

Very thank.

Aucun commentaire:

Enregistrer un commentaire