Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to create an app in wpf. And it is about calorie calculations and find the total calories of selected foods But i cannot choose a design pattern. So if you are any idea in my situation please help me. thank you guys.
Posted
Comments
Sergey Alexandrovich Kryukov 23-May-15 21:55pm    
Aha, so, instead of thinking at your project, you are thinking at design patterns? Don't you feel leads you in wrong direction from the very beginning?
—SA

1 solution

The question does not make any sense. There is nothing to help with. Your approach is wrong in principle. Your goal is not to use some design pattern. Why? To please the authors of the design pattern? Don't choose anything, just design your application.

It's good to know major design pattern and keep an eye on them when you do your design, but you only need to use them when you see that they can be useful because they solve some problem similar to ones you have. At this moment, you don't have any problems, or you did not formulate the. It's to early to think about design patterns. But more importantly, remember: this cannot be one of your goal. Design pattern are published to help your projects, not that your project is created to use design patterns. Don't mix up the goals with tools.

—SA
 
Share this answer
 
Comments
Member 10310838 24-May-15 7:22am    
i want to use design pattern. because i its very important i know couple design pattern. but i can not implement to my app. this is very big problem. So i need a at least one desgin pattern that i can use in my app. i want to learn more about design pattern. AND anyway thank for advice. but i neeed one design pattern
Sergey Alexandrovich Kryukov 24-May-15 11:09am    
You are lost.

Please tell me: it it because your school assignment requirement includes the use of design patterns? But even if this is so, design the project the way I advised. The design patterns will come at its time. If this is a school requirement, they probably taught you some patterns.

—SA

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