Click to See Complete Forum and Search --> : Presentation and business layer


laasunde
December 22nd, 2006, 01:22 PM
First a breif introduction, I'm in the process of developing an application for my company. I'd like to separate the presentation and business part of the application into two layers. The idea is to make the business layer independent of the presentation layer so that in the future we could easily change the way we present the data.

The presentation is fairly simple, consists of a treeview, label and textboxes (the usual stuff). The business layer consist of communcation with other application and a collection of data.

Can anyone recommend any pattern, design concepts or anything else that could help me out. Links to articles would be great.

Probably gonna use .NET and C# or C++ to implement the software.

MrViggy
December 22nd, 2006, 01:42 PM
Sounds like the ol' MVC (Model, View, Controller) pattern. Microsoft has reduced this to the "Document-View" framework in MFC.

Viggy

TheCPUWizard
December 22nd, 2006, 01:44 PM
If you are going .Net --- Look art the "Composite UI" pattern. Some really good stuff there (and alot of it is based on MVC pattern :) ]