Patterns

Events happening in the community are now at Drupal community events on www.drupal.org.

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

Posted by drozas on July 15, 2013 at 11:08am

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 more

Video of Patterns Presentation at DrupalCamp Spain 2012

Posted by drozas on March 27, 2013 at 11:02am

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 more

New version of contrib module FB Likebox for Patterns 7.x-2.x

Posted by drozas on March 26, 2013 at 2:29pm

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.

Read more

Patterns 7.x-2.x as recommended version and new documentation

Posted by drozas on March 5, 2013 at 2:53pm

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 more

New version of Patterns (7.x-2.0-rc2) is out!

Posted by drozas on February 27, 2013 at 6:13pm

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 more

Patterns session at Drupalcamp London 2013

Posted by drozas on February 19, 2013 at 9:43am

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 more
1 comment Categories: , ,

Ready for Drupalcamp NW!

Posted by drozas on November 22, 2012 at 12:41pm

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 more
Categories: , ,

Patterns-rc2 is out

Posted by shakty on November 14, 2012 at 11:07am

Thanks to the wonderful work of drozas a new release candidate (rc2) for Patterns v.7 is already out.

In case you missed it, documentation for Patterns developers is available at the following link:

Cheers,
shakty

Read more
Categories: , ,

Documentation for contributors is here!

Posted by drozas on October 29, 2012 at 3:22pm

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 more

Patterns will be presented in the Drupalcamp Spain

Posted by drozas on October 3, 2012 at 9:14am

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 more

Patterns 7.x-1.0-rc1 is out!

Posted by shakty on September 9, 2012 at 5:23pm

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

Read more
Categories: , ,

When to apply patterns

Posted by pyxio on August 14, 2012 at 11:12am

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

Read more

Facebook Likebox is now Patterns Ready!

Posted by drozas on July 18, 2012 at 1:32pm

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

Read more

Job Offer for Drupal Freelancer Developer

Posted by shakty on April 24, 2012 at 1:48pm

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

Read more
Categories: , ,

Patterns READY Campaign

Posted by shakty on April 24, 2012 at 1:37pm

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.

Only local images are allowed.

Cheers,
shakty

Read more
Categories:

Patterns 7.x beta is out!

Posted by shakty on April 24, 2012 at 1:25pm

We are pleased to announce that Patterns 7.x beta is out. New, exciting features have been introduced and documented in the changelog.

Cheers,
shakty

Read more
Categories:

Try out new Patterns v.7!

Posted by shakty on March 6, 2012 at 3:44pm

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

Read more
Categories: , ,

Date formatting

Posted by pmackay on June 6, 2010 at 5:30pm

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 more

Strange issue with CCK field

Posted by pmackay on May 31, 2010 at 3:56pm

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 more

Writing views

Posted by pmackay on May 16, 2010 at 9:14am

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
Categories:
Subscribe with RSS Syndicate content

Patterns

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /