• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Separating Structure , presentation and behavior in windows programing.

In the web design structure , presentation and behavior  are separated:

Structure: HTML;
Presentation: CSS;
Behavior: JavaScript ;

Which allows for great flexibility:
http://www.csszengarden.com/

Is there an equivalent for the presentation layer in windows programing?




0
noam_dz
Asked:
noam_dz
3 Solutions
 
cookreCommented:
About the closest I can think of is themes/skins.
0
 
DimkovCommented:
If using the Document/View Architecture in C++,
you have class Doc for the data
              class view for the UI
              class app for the application
and you add the code you are interested in

Another way woud be:

Use DLL's for the hard work functions, and create a wrapper in another project for UI?
my favorite is: Create the dll in C++ so it is very fast, and then in C# create the UI so it looks very nice

Hope I was from any help, Dimkov

             
0
 
codohertyCommented:
Microsoft have Enterprise Library for NET framework http://msdn.microsoft.com/practices/
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now