Logo_pure-systems Logo_pure-systems  
     
 
Home Company Products Services Partners Downloads Contact  
 
Variant Management AspectC++ Add-In How To Buy  
     
   

pure::variants Tutorials

Learn more about pure::variants and it's capabilities. The tutorials offer solutions to typical problems. With step-by-step examples you'll learn how to use pure::variants and that variant management can really be easy.

Further to the tutotial texts the resulting projects are available for download. The tutorial results can thus be accessed independently at any time without going through the tutorial.

Software Product Line Development with Feature Modelling

Although the term "Software Product Line Engineering" is becoming more widely known, there is still uncertainty among developers about how it would apply in their own development context. In this article we tackle this problem by describing the design and automated derivation of the product variants of a Software Product Line using an easy to understand, practical example.

Download PDF
Text Transformation

This tutorial shows how to perform text transformations using the source elements ps:fragment, ps:condtext, and ps:condxml.
The usage of these source elements will be demonstrated on a pure::variants project used to configure a simple C++ application calculating the factorial of a given number. The application prints intermediate calculation results in different formats depending how it is configured. When the application is started the version and build date are shown. Additionally the example project shall include documentation and application build files.

Download PDF Download Eclipse Project
Generating Variants Using XSLT

This tutorial demonstrates how to generate a variant using XSLT transformations on the example of a simple shop project. The products sold in the shop, i.e. laptops, consist of the same components in different variants. According to the chosen product, an order form shall be generated listing the components, the price of each component, and the total sum of the order. This order form shall be plain HTML that is generated using an XSLT script executed in an XSLT transformation.

Download PDF Download Eclipse Project
Generation of Microsoft Visual Studio Projects

This tutorial shows how to generate variable Visual Studio project files. The project options and the files which are needed for the build will be added.
For the purposes of the tutorial a configurable program will be created that prints a given number or the square of the given number. A feature, Square, controls this behaviour. Debug and Release features may also be selected for the build.

Download PDF Download Eclipse Project
Generation of C/C++ Defines

This tutorial shows how to generate C/C++ style flags with pure::variants. The flags are modeled in a family model. A transformation generates the defines for the selected features.

Download PDF Download Eclipse Project
Generation of Makefiles

This tutorial shows how to generate variable makefiles. Files needed for the build and compiler options will be added to the makefile
For the tutorial a configurable program will be created which prints a given number or the square of the given number. A feature "Square" controls this behaviour. Additional the build configuration can be switched between Debug and Release build. For the Debug build the profiling option can be enabled.

Download PDF Download Eclipse Project

pure::variants Extensibility Tutorials

Learn more about how to integrate pure::variants into development processes using its extensibility interfaces. The tutorials offer solutions for typical integration scenarios. With step-by-step examples you'll learn how to use the pure::variants API in a short time.

Creating a pure::variants Model from a CSV File

This tutorial shows the use of the pure::variants Synchronization Framework for creating and synchronizing pure::variants models from external data sources. The tutorial example shows the import and the update of feature models from CSV files.

For this tutorial the resulting finished extension plugin project and the example pure::variants variant project are distributed as part of the pure::variants Extensibility SDK. After installation of the SDK into pure::variants install the plugin project by navigating to "File->New->Example->Variant Management SDK" and selecting com.ps.pvesdk.examples.import.csv.plugin from the "Extensibility Example Plugins" list. The example project can be installed into the eclipse runtime by selecting com.ps.pvesdk.examples.import.csv.pvproject from the "Extensibility Example Projects" list.

Download PDF
Developing a pure::variants Model Validation Check

This tutorial explains how to develop a new check and corresponding quick fix for the pure::variants Model Validation Framework. Model Validation checks are applied in order to examine the correctness of a pure::variants model. If a check detects problems in a model, the provided quick fix can be used to solve this problem automatically.

For this tutorial the resulting finished extension plugin project is distributed as part of the pure::variants Extensibility SDK. After installation of the SDK into pure::variants install the project by navigating to "File->New->Example->Variant Management SDK" and selecting com.ps.pvesdk.examples.modelvalidation.plugin from the "Extensibility Example Plugins" list.

Download PDF