Thursday, November 19, 2009

Keep your presentation models small

Large classes are harder to read, harder to test and harder to maintain. Especially PresentationModels can easily get of hand and grow very large.

Components to rescue! One way to make them smaller is to split off a sub component from your view and create a specific PresentationModel just for this part.

No comments:

Post a Comment