Home Products Services Support Downloads Contact

Fact Sheet: SNIP Code Pattern Engine

SNIP

Advanced Code Pattern Engine

SNIP is the enabling element in applying patterns in the software manufacturing process. It offers these features:

  • Accepts multiple forms of model/metadata input (UML XMI, XML, Java, SQL DDL, MOF, DSM metadata)
  • Highly effective template language for traversing models and generating components
  • Generates any number and types of files in a single pass
  • Compiles metadata and supplies a complete set of cross-reference links for use during code generation
  • Full control over directory and file creation
  • Preserves code within protected regions in generated files
  • UI for rapidly converting hand crafted code into templates
  • Ability to extract metadata from existing systems, enabling use of patterns in extending/re-engineering systems

Typical Applications

Input => Generate
XML Descriptions => Custom Software Components
UML Models => Target Language Components
ERD Models => Custom Schema Design Policies, Triggers, Etc.
ODBC Metadata => Data Access Components
Java Classes => Framework Extension Classes and Interfaces

... to name just a few

Reference

Software Manufacturing - Best practices

Apply frameworks and component creation rules to achieve outstanding results.

The SW Mfg Approach

Model Driven Development

There are two major steps in implementing a software manufacturing approach.

First, establish your component design by prototyping a selective few components. These components define your implementation patterns.

Second, use SNIP to develop a template for producing like components from models/metadata.

In this way you create an assembly line for these types of components, and reduce the effort to develop such components to a matter of specification.