Discuss Patterns, work on new Patterns together, suggest ideas and improvements and get help with questions.
http://drupal.org/project/patterns
What are Patterns? What is the Patterns module?
The patterns module enables the setup, configuration, and reconfiguration of [Drupal] sites without actually doing any of the setup manually. A pattern will be a collection of rules, definitions, and dependencies, currently in XML, YAML & PHP formats, that will automatically setup and create simple or complex features for you. Patterns can be saved and shared easily.
Here are some primary uses:
* Define reusable site architecture patterns and best practices that are easy to update and maintain.
* Quickly setup and configure new (and existing!) sites based on site architecture documents/patterns. (Next evolution of Install Profiles)
* Migrate changes, updates and new features from you local development environment to dev server to QA site to the final production environment. (Change Management)
* Possibility of making a specific pattern to update/change a site(s) from some other known configuration (legacy best practice to current best practice for instance)
Video of Patterns 7.x-2.x Presentation at DrupalCamp London 2013
Hello everyone,
We would like to thank all the people involved in the organization of Drupalcamp London 2013 for giving us the chance to present Patterns 7.x-2.x (http://2013.drupalcamplondon.co.uk/session/automating-drupal-development...) and for editing and uploading a video of the session: http://www.youtube.com/watch?v=6FvLJTivMgs
You can also download the slides from http://2013.drupalcamplondon.co.uk/sites/default/files/slides/patterns_d...
We hope you find all these resources useful!
Read moreVideo of Patterns Presentation at DrupalCamp Spain 2012
Hello everyone,
We would like to thank the Spanish Drupal Association for editing and uploading a video of our presentation of Patterns at DrupalCamp Spain 2012: http://vimeo.com/61432578
Read moreNew version of contrib module FB Likebox for Patterns 7.x-2.x
Hello everyone,
A new version of FB Likebox (7.x-1.7) providing compatibility with the new version (7.x-2.x) of Patterns has just been released.
Please notice that the syntax for the Patterns including Block components actions have been modified in the new recommended release of Patterns and the default Patterns provided by FB Likebox have been updated accordingly.
Patterns 7.x-2.x as recommended version and new documentation
Hello everyone!,
As announced during the past presentation of Patterns at Drupalcamp London (http://2013.drupalcamplondon.co.uk/session/automating-drupal-development...) version 7.x-2.x of Patterns has just been marked as the recommended one.
Several sections of the documentation have been updated according to the new version and a new section offering a more detailed summary of the new features has been added as well: http://drupal.org/node/1933180
We look forward to hear your feedback, please do not hesitate to open any issues in the list.
Read moreNew version of Patterns (7.x-2.0-rc2) is out!
Hello everyone,
Thanks to the contribution of the developers working on QLectives and the feedback received from the community, we are very happy to announce that the new release of Patterns is ready to be downloaded: 7.x-2.0-rc2 : http://drupal.org/node/1927958
This is a major release and you might find that the syntax of some of the Patterns might have changed/being extended. Backward compatibility with Patterns created with the syntax of 7.x-1.x branch is not supported.
Syntactic and semantic validation
Read morePatterns session at Drupalcamp London 2013
Hello everyone,
I am pleased to announce that our session proposal for Drupalcamp London 2013 has been selected: http://2013.drupalcamplondon.co.uk/session/automating-drupal-development...
Read moreReady for Drupalcamp NW!
Hello everyone!,
We will be attending DrupalCamp NW in Manchester, and we are willing to participate in the unconference day to show patterns module.
A very simple "Patterns Hello World" module has been pushed to Github at https://github.com/QScience/patterns_hello_world to have some code to play around on Sunday.
Looking forward to seeing you in Manchester!
Read morePatterns-rc2 is out
Documentation for contributors is here!
Hello everyone!,
As we announced during the past Drupalcamp Spain in Madrid we were working on the creation of a more detailed technical documentation. The idea was offering a starting point for contributors and developers to understand patterns code, providing an outer to inner overview, in a similar way we do while debugging the code.
Read morePatterns will be presented in the Drupalcamp Spain
Hello everyone,
I am very happy to announce that our session proposal for the Drupalcamp Spain 2012 has been accepted: http://2012.drupalcamp.es/es/sesiones/automating-drupal-development-patt...
The session is scheduled for Saturday the 20th of October at 11am, the whole calendar can be found here: http://2012.drupalcamp.es/en/calendario
Kind regards,
David
Read morePatterns 7.x-1.0-rc1 is out!
Hi all!
We are proud to announce that the first release candidate for Patterns v.7 is ready to be downloaded!
The big news is the full integration with Drush. Basically everything can be done via command line now. Yuhu!!
We also improved the the automatic extraction of web site configuration from the database, and now exporting is available to file or to zip archive as well.
Finally, many bug fixes, better error handling, and a lot of love comes with this release. Enjoy it, and don't hesitate to open new issues for feature requests, or bug reports!
Cheers,
shakty
When to apply patterns
Greetings,
I am very interested in patterns. My question is what is the ideal point in a development project to start incorporating them? Can I build a prototype site completely and then create the patterns for it, or must patterns be done in concurrence with development? My apologies if the answer is obvious but I am still a little unsure how to start a project that incorporates patterns.
Thanks
Kevin
Facebook Likebox is now Patterns Ready!
Hello everyone!,
We are very happy to announce that as part of the work carried on during the Coding Meeting in Fribourg (Switzerland), the contributed module FB Likebox (http://drupal.org/project/fb_likebox/) is now patterns ready! (version 7.x-1.4).
We have created a submodule called 'fb_likebox_patterns" that includes a set of the most common configurations (http://drupal.org/node/1285218).
A child page explaining how to use fb_likebox with patterns has also been added at: http://drupal.org/node/1691030
Job Offer for Drupal Freelancer Developer
The EU project QLectives is investigating quality dynamics in self-organizing groups of individuals.
QLectives is hiring one Drupal developer to push forward the development of the Patterns module.
Detailed information is available at the page:
http://www.soms.ethz.ch/openings
Cheers,
shakty
Patterns READY Campaign
Hi Drupal module developer,
you can now show off your love for Patterns, by implementing the Patterns hooks and displaying this logo in your own module page.
Cheers,
shakty
Patterns 7.x beta is out!
Try out new Patterns v.7!
We are happy to announce that an alpha version Patterns v.7.x is out.
It was a huge effort porting it to Drupal 7.x, and the full documentaion is available here:
http://drupal.org/node/1464118
We are also happy to announce that automatic exporting of patterns configuration from the database is finally working. At least partially, we are still testing this feature.
Please give us feedback, open bug issues, features requests and so on!
Cheers,
shakty
Date formatting
Hi,
I have a content type with a date field defined thus:
- tag: field
type: event
name: time_from
label: Start
option: date
widget: date_popup
I'm then trying to create a node of that content type:
- tag: node
type: event
title: An event
fields:
time_from:
value: 01-08-2010T10:30:00
The above does not import the date/time, and some other variations didn't help. The error says "The dates are invalid." What would be the correct way to format the value?
Thanks
Read moreStrange issue with CCK field
I have a field definition in a pattern:
- tag: field
type: event
field_name: location
label: Location
option: text
widget_type: text_textfield
It fails to import and returns with this error:
* Add new field: you need to select a field type.
* Add new field: you need to select a widget.
* Above error(s) occured while executing action #1 (CCK: Add Field or Group) in Events pattern. Error location(s) are: _add_new_field->type, _add_new_field->widget_type
I have tried with name rather than field_name and widget rather than widget_type too.
Read moreWriting views
Hello,
I've been experimenting with Patterns and I really like the approach. However I'm struggling more trying to write a view, because reference docs for the valid fields are not available and views are one of the more complex configuration elements.
Is there any way to get a definitive list of the XML/YAML syntax that can be used by some relatively simple code tweak?
How is progress on exporting a Pattern?
For now is the view_import.yaml example the recommended way to store views?
Thanks
Paul
Read more