Showing posts with label architecture. Show all posts
Showing posts with label architecture. Show all posts

Saturday, November 8

Long Running Conversation with NHibernate

I am implementing a Windows Application which use WPF for presentation layer and NHibernate for O/R mapping. Off course I'm diving the application for MVC or more accurately Model/View/ViewModel due to the use of WPF.
I have been reding the book "NHibernate In Action" to try and learn how to use NHibernate in a good practice sort of way.
I have fail to find good documentation which explain how to use NHibernate in Windows Application, and more specifically how to create a separation  to layers including NHibernate (how NHibernate incorporate to MVC design pattern).

So, I've ask that question in the forum of the book and got an answer.
You are welcome to read the thread and I'll keep on update here as I'll implement the solution.

Saturday, October 28

Gantt - The current project

Hello,
As a starter for my blog I am going to share with you my up-coming task of architect and develope a gantt system using C#, .NET 2.0, WCF and hopefully WPF. I am a team-member and there are other great people working on this task.

Background

Gantt is a way to communicate progress of task between managers and workers.
The system will be much like Microsoft Project. The reason we are not going to use Microsoft Project is because our business model is much different and we have a lot of security issues like permissions to see activity, permission to report activity times and so on.

The Architecture

We are using a 3-tier architecture to develope our application. It means we have a database, middle-tier and presentation layer. We prefer to do most of the calculations in the middle-tier and send to the client a clean read-to-use objects (or tables).
On the client we get the object model and we present it to the client, allowing it to examine it and to act on it.
Our previous version of this application was written in C++ and use GDI for drawing. This off course lead to pretty dull interface in which alpha-blend is the most exiting feature.
In this version of the application I hope we will use WPF because it suppose to make our life much easier. As someone said, the same way .NET make memory management "Managed" WPF will make graphics "Managed". It means we will create the seine which needs to be display and the WPF engine will display it, no OnPaint and WM_PAINT any more.

To be continued...

As the project will progress I will keep posting with news.