All Projects → pattern-lab → patternlab-net

pattern-lab / patternlab-net

Licence: MIT license
The .NET version of Pattern Lab

Programming Languages

javascript
184084 projects - #8 most used programming language
C#
18002 projects
CSS
56736 projects
Puppet
460 projects
shell
77523 projects
pascal
1382 projects

NOTICE

Please note, development has stalled on the .NET version of Pattern Lab. The current version contains all of the core functionality from v0.7.12 of the PHP version.

Call for contributors

Anyone interested in becoming a contributor please contact @benedfit

About the .NET version of Pattern Lab

The .NET version of Pattern Lab differs some what from PHP version. At it's core, it combines the Mustache-based patterns and the JavaScript-based viewer, with a ASP.NET MVC powered dynamic site and "builder" that transforms and dynamically builds the Pattern Lab site. By making it a static site generator, Pattern Lab strongly separates patterns, data, and presentation from build logic.

Demo

You can play with a demo of the front-end of Pattern Lab at demo.patternlab.io.

Getting Started

Quick start via NuGet Package Manager Console:

Latest stable release: 0.7.12.7

PM> Install-Package PatternLab

Working with Patterns

Patterns are the core element of Pattern Lab. Understanding how they work is the key to getting the most out of the system. Patterns use Mustache so please read Mustache's docs as well.

Creating & Working With Dynamic Data for a Pattern

The .NET version of Pattern Lab utilizes Mustache as the template language for patterns. In addition to allowing for the inclusion of one pattern within another it also gives pattern developers the ability to include variables. This means that attributes like image sources can be centralized in one file for easy modification across one or more patterns. The .NET version of Pattern Lab uses a JSON file, _data/data.json, to centralize many of these attributes.

Using Pattern Lab's Advanced Features

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].