Encapsulate Views

Topics: Web Client Software Factory
Jan 18, 2007 at 7:40 PM
Is it possible to encapsulate the views in its own presentation
module(assembly). I would like to see something like the
Composite Application Block.

Or is this factory the new and improved version of the
UIPAB version 2.0?
Developer
Jan 23, 2007 at 3:35 AM
Is it possible to encapsulate the views in its own presentation
module(assembly). I would like to see something like the
Composite Application Block.

Or is this factory the new and improved version of the
UIPAB version 2.0?

Hi,
What do you exactly mean by encapsulating views in its own presentation module (assembly)? What files would the assembly contain? How would the solution structure be?

Regarding your second question: the Page Flow Application Block is a completely new block that replaces the UIPAB in web scenarios.

Thanks
Mariano Szklanny
http://staff.southworks.net/mariano
Jan 24, 2007 at 5:08 PM
Hi,

For example:
  • Website - General Pages and/or coupling UI Modules(CRM, Billing)
  • CRM.UI - Contains aspx/ascx/webcontrols of the CRM module
  • Billing.UI - Contains aspx/ascx/webcontrols of the Billing module
  • CRM.Process - Contains presenters/controller/etc of the CRM Module
  • Billing.Process - Contains presenters/controller/etc of the Billing Module
  • Business Objects, DAL, etc

I would like to see that UI for a specific module is separated from
the hosting application the website in this case.

Do you feel what I mean?

Greetz,

Joey
Jan 24, 2007 at 6:40 PM
Hi Joey,

You can nearly do what you want, but you must deploy your aspx/ascx files to the Web site. The logic behind those pages can reside in different module assemblies (your .Process assemblies).

This release centers around two primary areas for applications: Modular (composite) Web applications and page flow. One goal was to support the independent development of modules by different teams, which also means providing for easy deployment. In that respect, it's far more than the next version of UIP. But it also includes the first release of the Page Flow Application Block, which you can use to design and implement page transitions.

Cheers,
Tim