-
Book Overview & Buying
-
Table Of Contents
PHP Team Development
By :
You will run in to integration challenges, first and foremost, if you did not adhere to the principles in the design pattern. The simplest thing to remember is not to cross boundaries and that is the basic idea of the separation of concerns.
Pay attention to boundaries in your design. Do not cross domains. The view should not control data or store data. Rather, it should only display data. Similarly, controller and model should focus on their respective responsibilities.
Always make sure that the team members of your team consciously ask the question, 'Is this within my boundary?'. The idea is to not pass the balls across to the others, but to stick to good design norms. The idea is pretty simple. The presentation should never process data, but only present information to the user.
Today's powerful web browsers can do so much that we might tend to lose focus on boundaries. For example, the presentation layer can use AJAX and naturally tends to do some business logic...
Change the font size
Change margin width
Change background colour