Patterns Documentation & Stability
kcoop - March 20, 2009 - 03:08
| Project: | Patterns |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Excellent work on patterns! I'm just starting out with a new project, and would love to use this module. I'm having a hard time finding any docs on how to write a pattern (or even how to ferret out what the various actions are). Are you anywhere near stability for production use in drupal 6? And have I missed a page somewhere that describes how to create the tags (other than the examples)?

#1
Thank you! Perfect timing, we've just added some of the documentation regarding pattern syntax here. It's not complete yet (views for instance) but it should help and get you going:
Creating or writing Patterns
http://drupal.org/node/408940
Regarding stability and an official release, we're mainly working out some bugs with the views support and then we plan to release an official version. It won't be long.
Please note that for views you can put in a views array and that will work.
#2
Great, thanks. I was just about to suggest the export from a form approach.
It would also be useful to have a diff from a clean install of the entire site that could then be edited. I can see why you'd go with the macro approach instead though - it would be hard to generate a canonical set of actions after the fact, what with deletion/insertion ordering, etc. And the macro approach would solve this, with a little forethought and editing.
#3
That's a good idea and while it would be a lot of work, it should be possible. We've talked about comparing settings on a site before you run a pattern to show what would be changed from what to what, so it would be along those lines as well.
#4
update title...
#5
Small correction... Support for Views export code is not yet committed.
I would like to add that most of the module is quite stable and working well. Parts that need more work are views and node components.