The next Viewpoints beta release will have a number of significant changes that we believe will provide a more efficient modeling and code generation experience within Visual Studio, so I'd like to take a moment to tell you a bit about them. The next Viewpoints beta release is scheduled for November/December of this year.
Viewpoints Explorer
The Viewpoints Explorer has been added to provide a single location where you can explore the items across all of the Viewpoints you have modeled. This feature will continue to get attention throughout the beta period to ensure that you are always able to quickly locate and navigate to your model items, no matter how large your project is.
Viewpoints Models
One of the more significant changes is the removal of the Service Viewpoint model and the User Experience Viewpoint model. These models, while useful, have turned out to not be as functional as we'd like. As a result, we've decided to remove them from this version of Viewpoints while we restructure and redesign them to provide more functionality relevant to their specific domains. The replacement models, which will be unveiled at a later date, will provide richer modeling capabilities targeted at more specific domains.
While we've removed a couple of models, we've also beefed up the Entity Viewpoint model with a number of new features designed to provide a more efficient modeling experience for small and large teams. Here are a few of the key highlights:
- Addition of customizable Data Types, which can be used with entity properties.
- Addition of Entity Operations for modeling specialized operations that can be applied to an Entity. The Entity Operations allow you to model such concepts as fetching entity data based on specific conditions.
- Addition of Entity Views for modeling specialized view of entity data. The Entity Views can also be utilized as part of an Entity Operation to define how the resulting data from an operation should be structured.
- Addition of Entity Links, which allow for distributed models to be linked via entities. This feature allows you to have an entity participate in relationships on another modeling diagram without actually being copied, which is perfect for model reuse and distribution. In addition, this feature ties in with the Viewpoints Explorer by allowing you to drag Entity items from the Viewpoints Explorer onto your model to automatically create a link to that Entity.
- Addition of customizable Metadata, which can be applied to most modeling elements. This feature allows you to specify additional values that can be tracked with the modeling elements. The values can be specified in a name/value format, which allows you to provide rich, customizable descriptions for entities, properties, operations, views, etc.
Viewpoints Transformation
A number of updates have been made to the Viewpoints transformation system in order to ensure a fast and efficient code generation experience. In addition, we’ve put extra focus on ensuring that you can easily manage your library of customized Viewpoints Transform Templates. Here are a few of the key highlights:
- Numerous improvements have been made to the Viewpoints Meta-model system to improve its speed and efficiency.
- Modification of the Viewpoints Meta-model Query Engine so that it supports multiple rich-featured conditions. You can now perform complex queries to target your transformation to specific results.
- Modification of the Viewpoints Transform Template management system so that templates on the file system and templates in your Visual Studio solution can be viewed and managed together. This has also resulted in the addition of a Viewpoints Transform Template metadata system for describing information about your code generation template, such as its name, description, template set, and what Viewpoints Meta-model types is performs actions against.
- Improved colorization and intellisense support within the Viewpoints Transform Template Designer. This feature will continue to be improved throughout the beta period with some excellent features that will make creating and editing Viewpoints Transform Templates as easy as working with ASP.NET.
- Addition of the Transform All Templates option (Ctrl+Shift+T), which allows you to execute the Viewpoints transformation from anywhere within your solution.
Viewpoints Code Generation - CSLA
In addition to all of the feature additions and enhancements, the next Viewpoints beta release will also provide code generation Transform Templates for generating CSLA code libraries (including LINQ and SQL). A Viewpoints CSLA Visual Studio Solution template will also be provided, which will allow you to start generating code immediately upon solution creation.