The Future of the Rules module in Drupal 8
-
Upload
stan-ascher -
Category
Technology
-
view
946 -
download
0
Transcript of The Future of the Rules module in Drupal 8
![Page 1: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/1.jpg)
FUTURE OF THE RULES MODULE IN DRUPAL 8And how we can help shape the story
STAN ASCHER
![Page 2: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/2.jpg)
WHO AM I?• Site Builder• Front End Developer• Themer• Talker
![Page 3: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/3.jpg)
WHATS GOING ON HERE?
![Page 4: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/4.jpg)
WHAT AM I TALKING ABOUT HERE• What is Rules and Why its
successful • The #drupal8rules initiative• Progress so far• Sneak Peak at UI• Outside integrations• How to contribute
![Page 5: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/5.jpg)
THE SUCCESS STORY BEHIND RULES
![Page 6: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/6.jpg)
THE SUCCESS STORY BEHIND RULES: HELPING THE SITE BUILDER
![Page 7: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/7.jpg)
THE SUCCESS STORY BEHIND RULES: INTERGRATIONS
Workbench Webform Drupal Commerce Content Access
Flag Organic Groups Token
Ubercart Voting Twitter Features
Context Message
![Page 8: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/8.jpg)
PROGRESS :CHALLENGES AND MILESTONES
![Page 9: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/9.jpg)
FAGO AND KLAUSIMaintainers of the Rules ModulesHave lots of other Drupal ModulesContributors to Drupal 8
![Page 10: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/10.jpg)
FUNDING GOAL & PROJECT DEVELOPMENT HOURSDrunomics and Epiqo can’t afford taking the bill for the entire project.1048 projected hours of development Companies will charge rate of € 45/h net cost.(
![Page 11: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/11.jpg)
WHAT’S DONE?
![Page 12: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/12.jpg)
DRUPAL 8 CORE INTEGRATION & RULES CORE ENGINE: DONEMilestone 1 of Drupal Rules Module Beta • Rules core engine & plug-in types (Services-
based architecture, interfaces, tests)• Align Rules condition & action APIs with
Drupal 8 core (Dynamic action parameters & context variables)
• Parameter configuration & Context mapping• Parameter value processing logic (Data
processor plug-ins & Input tokens)
![Page 13: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/13.jpg)
Reusable components• Plug-in based architecture & fully object-
oriented code• Rules data selector for tokens, contexts
and other use cases• Typed data widgets & formatters
DRUPAL 8 CORE INTEGRATION & RULES CORE ENGINE: DONE
![Page 14: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/14.jpg)
Evolved developer experienceUnified DX based on Drupal 8 plug-in systemSymfony 2 event system integrationDeployable configuration via the CMI
• Rules will be in your .yml files• Rules will show up in your Configuration Management Interface
DRUPAL 8 CORE INTEGRATION & RULES CORE ENGINE: DONE
![Page 15: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/15.jpg)
WHAT’S LEFT?
![Page 16: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/16.jpg)
MILESTONE 2: RULES CORE API COMPLETION
![Page 17: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/17.jpg)
MILESTONE 2: RULES CORE API COMPLETIONGoal: Ensure the Rules APIs are ready early enough, so all other contributed modules that get ported to Drupal 8 can have Rules integrations right from beginning.• Complete Rules engine features (Metadata assertions,
logging service, developer docs)• Rules plug-ins part two (Events, Loops, caching,
recursion prevention, components API)• Configuration management system support (config entity,
CMI support, integrity checks & config schema)• Generic rules integrations (Typed data & entity support)• Entity token support
![Page 18: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/18.jpg)
BUT WHAT ABOUT THE SITE BUILDERS?
![Page 19: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/19.jpg)
THE USER INTERFACE: THE RULES UI
![Page 20: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/20.jpg)
MILESTONE 3: RULES UI FOR 8.X RELEASE(Goal: Site builders will be able to start configuring workflows on their Drupal 8 sites from November 2014 on, when Rules 8.x will be released.Rules UI (Rules settings and administration screens with Drupal 8 usability improvements)Reusable UI components (Data selector, Typed data widgets and formatters, embeddable condition and action forms)Rules schedulerPort existing Rules integrations (Comments, Nodes, Taxonomy, User, New entity types)
![Page 21: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/21.jpg)
RETHINKING THE UI• Rules UI should not be its own
beast but try to leverage as much of the patterns & UI components that we have in D8 already.
• borrow add dialogs from Views UI or Block UI?
• try to come up with a draggable table solution that works for nested rule configurations
![Page 22: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/22.jpg)
D7 BROWSE RULE
![Page 23: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/23.jpg)
D8 BROWSE RULES
![Page 24: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/24.jpg)
RULES EDIT SCREEN OVERVIEW
![Page 25: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/25.jpg)
RULES EDIT SCREEN OVERVIEW: ADD EVENT
![Page 26: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/26.jpg)
RULES EDIT SCREEN: ADD EVENT
![Page 27: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/27.jpg)
RULES EDIT SCREEN OVERVIEW: ADD CONDITION
![Page 28: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/28.jpg)
EDITING A CONDTION GROUP
![Page 29: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/29.jpg)
EDITING A CONDTION GROUP: CHANGE CONDITION
![Page 30: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/30.jpg)
EDITING A CONDITION GROUP WITHIN A CONDTION GROUP
![Page 31: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/31.jpg)
OTHER TECHNOLOGIES
RULES LINK MODULE
![Page 32: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/32.jpg)
OTHER TECHNOLOGIES
MAESTRO MODULE
![Page 33: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/33.jpg)
A WORD ABOUT DRUPAL COMMERCE 8.XCommerce Guys working to make Drupal Commerce independent of the rules moduleCommerce Guys Ryan Szrama says that Commerce will be able to integrate with Rules 8.x API eventually
![Page 34: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/34.jpg)
HOW CAN WE HELP?Sign up to be a tester or developer
• http://d8rules.org/support
Check out the UI Brainstorm page
• https://www.drupal.org/node/2251267
![Page 35: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/35.jpg)
WE CAN HELP SHAPE THE STORY!Drupal 8 rules siteRules 8.x Issue Queue on Drupal.orgRules 8.x on githubRules 8.x Brainstorming#drupal-rules on irc
![Page 36: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/36.jpg)
WHATCHA TALKIN ABOUT, DAVID?
![Page 37: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/37.jpg)
WHATCHA TALKIN ABOUT, MICHEAL?
![Page 38: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/38.jpg)
WHATCHA TALKIN ABOUT, PRINCESS?
![Page 39: The Future of the Rules module in Drupal 8](https://reader037.fdocuments.in/reader037/viewer/2022110108/5872e4791a28abfa548b5aef/html5/thumbnails/39.jpg)
YOU CAN MAKE A DIFFERENCE:DRUPAL IS PEOPLE!
Stan Ascher - Twitter: stanascherDrupal.org - sascher