Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Say I have a student class, in my observation creating and populating the test scores of a student (from a DB/Service) should be handled in a different class (possibly a factory pattern) is that a best practice? or should I populate the data from the student class?

Please advice!

-Vallarasu S.
Posted

1 solution

MVVM if best practice for WPF prospect. By using this u can manage u application more efficiently. Because it separate ur UI with ur code files. So multiple user can work on same module. If u have change in ur UI the it will not much bother ur code. Coupling between module is very loose so every thing is very much independent.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900