Geeks With Blogs

@pliekhus
  • pliekhus @RoryBecker @MillerMark You guys rock! The wasted time was for not installing it sooner. The DuplicateCodeCheck is SWEET!!! about 1049 days ago
  • pliekhus @MillerMark The shame on me was for not using it earlier. I love every minute of the tool. I should have installed it on release date. about 1049 days ago
  • pliekhus #DevExpress DXv2 has been out for a little bit and I just installed it. Shame on me for wasting my own time. #Coderush is a must have! about 1049 days ago
  • pliekhus @mikejmonahan Enjoy the turkey festivities. We are definitely on for ribs, fun and luminary walk. My peeps will contact your peeps. Thx about 1065 days ago
  • pliekhus Looking for good deals and a TV and ran across this. You could win some new Samsung toys by following #SamsungBlackFriday about 1065 days ago

Patrick's Blog Technical Ramblings and More

I have a simple goal.  I want to be able to work with domain experts and quickly diagram the application area.  This should be similar to the class diagram tool already built into Visual Studio. 

Once the diagram is built and approved, the ability to code generate should be next.  My idea here is to generate the Data Access Layer (DAL) by using NHibernate.  This would allow the application to be database agnostic by generating dynamic SQL on the fly.  The Business Persistence Layer (BPL) would be generated using CSLA (Composite Scalable Logical Architecture) by Rocky Lhotka. This allows the domain to take advantage of communication layer within CSLA which now utilizes Windows Communication Foundation (WCF).  It also allows the N-Level undo and security layer utilizing the Principal and Identity objects built into Visual Studio.  These layers working together provide for a rather robust and flexible middle tier(s) of the application. 

My next idea for the domain model is to provide a swim lane diagram to document each of the interactions between the user and the application.  These interactions would then be generated into Model View Presenters (MVP) so that the application could be wired to the domain.  By using the Passive View, as described by Martin Fowler, the view becomes a dumb implementation that should handle just the specific UI logic and not any of the business logic.  By doing this, the same presenter could be used between a Windows interface and Web interface, as well as a Mobile interface.  All these working together would be able to deliver the same user experience regardless of the UI implementing the interaction.

And finally, the implementation model would be modeled using the Component diagram.  This would allow the user to model how the application is implemented on the server(s), how the layers would communicate and where the database is located.  This model would then code generate the configuration file(s) needed. 

So, as you can see, this is a simple goal, but I plan on documenting the process as it progresses.  If you have any comments or questions, feel free to send me a note.

Model

Posted on Thursday, December 13, 2007 3:52 PM Tech Talk , Domain Builder | Back to top


Comments on this post: Initial Design of Domain Builder

No comments posted yet.
Your comment:
 (will show your gravatar)
 


Copyright © Patrick Liekhus | Powered by: GeeksWithBlogs.net | Join free