Add Business Module Using Web Client Software Factory - Solution Preview Rocks!

Add Business Module Using Web Client Software Factory - Solution Preview Rocks!

by David Hayden ( Microsoft MVP C# ), Filed: Web Client Software Factory

 

I will be presenting the Web Client Software Factory at both the South Florida Code Camp and Orlando Code Camp in the near future. I am really excited about presenting the new factory, because in a nutshell - IT ROCKS!

The Composite Web Application Block that is the brains of the new framework helps you build enterprise quality websites with little effort. The concepts and technologies themselves aren't new as many developers have been using similar technologies and techniques in all our enterprise web applications. The beauty is that they are all nicely packaged, providing a seemless development environment for creating loosely-coupled n-layer web applications.

 

Adding Business Modules

Even with all the cool services provided by the Composite Web Application Block, sometimes it is the little usability features that can make all the difference.

For example, the Web Client Software Factory has a concept called Business Modules. Business modules are associated with web pages. Hence for a set of web pages that deal with various Customer Activities, for example, you have a Customers Business Module ( Class Library ) that handles the business logic for those activities.

 

Web Client Software Factory

 

The business module contains the application controller ( CustomersController ), presenters / interfaces ( Model-View-Presenter ), and local services used within the module.

The structure is all created for you by the Add Business Module Wizard that is part of the Web Client Software Factory:

 

Web Client Software Factory

 

Now as powerful and convenient as the Composite Web Application Block and Add Business Module Wizard are, do you know what is really exciting and cool about the image ( wizard ) above? The Solution Preview.

The Solution Preview shows you what will be added to your solution once you execute the Add Business Module Wizard using your current data and options. If you change the name or select different options, the Solution Preview will change based on your changes. Based on my current choices, it shows both the new Customers Business Module and the new Customers Folder and default pages that will be added to the website.

Now I realize this is easy to do, but you don't often see this cool usability feature in many applications. It totally caught me off guard and I smile everytime I see it. It is just too convenient!

Just another reason why the Web Client Software Factory rocks in my opinion.

 

Conclusion

Download it now :) If you are going to the South Florida or Orlando Code Camps in the next month or so, I hope to see you at my presentations. This stuff rocks!

Source:  David Hayden ( Microsoft MVP C# )

Filed: Web Client Software Factory

posted on Thursday, February 08, 2007 9:56 PM

Main

News

Green Tea

.NET Development

Enterprise Library

Patterns & Practices