User controls in the software factory world - how to use them effectively?

Topics: Web Client Software Factory, Project Management Forum, User Forum
Nov 29, 2008 at 9:00 PM
Hello-

We are new to the Web Client Software Factory.  In our prior ASP.NET development we have relied heavily on user controls.  How do you experienced folks manage and organize your projects with user controls?  Although user controls are conceptually similar to aspx pages (views), they do not have presenters and seem kind of at odds with the overall WCSF philosopy.  Would you suggest that all user controls call the host view's presenter to handle events and expose properties that allow data to be supplied to the user control by the view's presenter?  Do you tend to create a common folder in your web site for the user controls?

I'm just looking for some good guiding principles before we get too far down the development road.

Thanks-
Nov 30, 2008 at 6:42 AM
A user control can have a presenter in the exact same way a page can. The WCSF allows you to create pages and controls from the context menu. In both cases there will be an interface and presenter created.  Just because you can create user controls with presenters, does not mean all your user controls should have presenters.