You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2023. It is now read-only.
*[Installing the PHP Version of Pattern Lab](http://patternlab.io/docs/installation.html)
13
+
*[Upgrading the PHP Version of Pattern Lab](http://patternlab.io/docs/upgrading.html)
14
+
*[Generating the Pattern Lab Website for the First Time](http://patternlab.io/docs/first-run.html)
15
+
*[Editing the Pattern Lab Website Source Files](http://patternlab.io/docs/editing-source-files.html)
16
+
*[Using the Command-line Options](http://patternlab.io/docs/command-line.html)
17
+
*[Command Prompt on Windows](http://patternlab.io/docs/command-prompt-windows.html)
18
18
19
19
## Working with Patterns
20
20
21
21
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](http://mustache.github.io/) so please read [Mustache's docs](http://mustache.github.io/mustache.5.html) as well.
22
22
23
-
*[How Patterns Are Organized](http://pattern-lab.info/docs/pattern-organization.html)
24
-
*[Adding New Patterns](http://pattern-lab.info/docs/pattern-add-new.html)
*[Viewing Patterns on a Mobile Device](http://patternlab.io/docs/pattern-mobile-view.html)
35
35
36
36
## Creating & Working With Dynamic Data for a Pattern
37
37
38
-
The PHP version of Pattern Lab utilizes Mustache as the template language for patterns. In addition to allowing for the [inclusion of one pattern within another](https://github.com/pattern-lab/patternlab-php/wiki/Including-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 PHP version of Pattern Lab uses a JSON file, `source/_data/data.json`, to centralize many of these attributes.
38
+
The PHP version of Pattern Lab utilizes Mustache as the template language for patterns. In addition to allowing for the [inclusion of one pattern within another](http://patternlab.io/docs/pattern-including.html) 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 PHP version of Pattern Lab uses a JSON file, `source/_data/data.json`, to centralize many of these attributes.
39
39
40
-
*[Introduction to JSON & Mustache Variables](http://pattern-lab.info/docs/data-json-mustache.html)
41
-
*[Overriding the Central `data.json` Values with Pattern-specific Values](http://pattern-lab.info/docs/data-pattern-specific.html)
42
-
*[Linking to Patterns with Pattern Lab's Default `link` Variable](http://pattern-lab.info/docs/data-link-variable.html)
43
-
*[Creating Lists with Pattern Lab's Default `listItems` Variable](http://pattern-lab.info/docs/data-listitems.html)
40
+
*[Introduction to JSON & Mustache Variables](http://patternlab.io/docs/data-json-mustache.html)
41
+
*[Overriding the Central `data.json` Values with Pattern-specific Values](http://patternlab.io/docs/data-pattern-specific.html)
42
+
*[Linking to Patterns with Pattern Lab's Default `link` Variable](http://patternlab.io/docs/data-link-variable.html)
43
+
*[Creating Lists with Pattern Lab's Default `listItems` Variable](http://patternlab.io/docs/data-listitems.html)
44
44
45
45
## Using Pattern Lab's Advanced Features
46
46
47
47
By default, the Pattern Lab assets can be manually generated and the Pattern Lab site manually refreshed but who wants to waste time doing that? Here are some ways that Pattern Lab can make your development workflow a little smoother:
48
48
49
-
*[Watching for Changes and Auto-Regenerating Patterns](http://pattern-lab.info/docs/advanced-auto-regenerate.html)
50
-
*[Auto-Reloading the Browser Window When Changes Are Made](http://pattern-lab.info/docs/advanced-reload-browser.html)
51
-
*[Multi-browser & Multi-device Testing with Page Follow](http://pattern-lab.info/docs/advanced-page-follow.html)
0 commit comments