Are You in the Right Room?  Want to learn about Features module  Are a beginner or intermediate drupaler who hasn't really used it yet  Don't have an.

Slides:



Advertisements
Similar presentations
SharePoint List Custom Actions Feature Product Overview Nimrod Geva Product Group Manager, KWizCom
Advertisements

Moving stuff around on your Drupal web pages Alex Bergin / Dept. Agriculture &
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Version Control System (Sub)Version Control (SVN).
2-May-15 GUI Design. 2 HMI design There are entire college courses taught on HMI (Human-Machine Interface) design This is just a very brief presentation.
Creating Multilingual Drupal 7 Websites: Part 2 Kristen Pol CruzTech, LLC (Freelance)‏ Drupal Dev / SEO / i18n kristen.org Santa Cruz,
Story Boards. Creating and using storyboards Storyboards are an essential tool when designing websites. They help keep developers and graphic artists.
8/16/2015alicewebmaster1 Create contents with the new Content Management System (Drupal): Workflow for page editors.
Automating Drupal Deployment Dominique De Cooman.
Justin Klein Keane Drupal Training Session 1 Introduction to Drupal.
Hans Hoerschelman. whoami Hans Sr. Application UI 460 Design (moonlight) UIDUG & DrupalHawks.
Topics Content administration Basic installation and configuration Theme and module installation The Nice-to-Have Modules that expand functionality for.
Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL.
Drupal and the CMS Project. Lesson Learned #1 Keep your modules updated, especially when there are security concerns in the update notes 2010 | The Sky’s.
Basics of Drupal: Part 3 Rochelle Terman
Drupal 7 as an enterprise web application framework Why as a developer you should use Drupal to build web applications? Klaus Harris DrupalCon Munich 2012.
Hook, Drush, and Alters Oh Mai! Bryan Ollendyke.
WEB ENGINEERING & UX ALCHEMY. Our Services UX Perfectly blended user experiences that lead to increased consumer engagement and conversion. Precision.
Oracle Applications for Control Systems By Katia Danilova 09/29/2005.
Using Drupal to Build Applications Chris Porter Acquia, Inc. August 21,
Basics of Drupal: Part 2 Rochelle Terman
TOP 20 MISTAKES YOU WILL MAKE IN YOUR 1ST DRUPAL PROJECT IZTOK SMOLIČ, ZAGREB.
Drupal Training Syllabus Chaitanya Lakshmi
How to extend and configure Drupal without user interaction or database dump By Damien Snoeck for Switzerland Romandy Drupal Group January 27, 2010 Work.
Administration Tab CiviCRM. Data Organization in CiviCRM: "Building Blocks" Contacts Reports Mail Tags Activities Contribe Member Events and Event Attendences.
DIY Web Development Hand Code Your Own Page (For Free!) by Bryan Brown, Indiana University Bloomington SLIS.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Version Control with Subversion Quick Reference of Subversion.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
& Dev Ops. Sherwin-Williams & DevOps Introduction to Sherwin-Williams.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Registration and Log-in Flow Benjamin Melançon agaric.com & dgd7.org.
Translating Drupal Websites Sean Burlington Quick run through  Translation generally  Lessons learned  Drupal specifics  String.
The Art and Zen of Managing Nagios with Puppet Michael Merideth - VictorOps
Drupal Commerce Better than Uber Andrew Root: druroot.
…using Git/Tortoise Git
WHAT IS DRUPAL? by Peter K. Johnson - Originally presented at Minnebar - April 2012 What you need.
Build it Tweak it Use it Know it Love it. A tool to collaborate on projects What does Collaborate mean? To work together.
Microsoft ® Office SharePoint ® Server 2007 Training Excel Services II: Requirements, recommendations, and permissions [Your company name] presents:
Nickelodeon – Blogs User Guide. 1. Introduction The admin tool allows you to create and publish blog posts easily and efficiently along with managing.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
Drupal Overview Prepared by : Agustin D. Gumogda Jr. Instructor.
Drupal SEO Kristen Pol CruzTech, LLC (Freelance)‏ Web, Drupal & SEO Santa Cruz, CA drupal: kepol.
Forensic Drupal Debugging Dan Harris daneesia on drupal.org.
Introduction to Module Development John Fiala and Ezra Barnett Gildesgame.
Drush: The Drupal Shell Utility Trevor Mckeown Founder & Owner Sublime Technologies
Module 8 : Configuration II Jong S. Bok
Drupal for client Maria Sherskova skype: sherskova.
Parent / Child Data Modeling 1. 2 Dennis Solis Solis Media Group Solis Media Group Over 20 years of application software development. Over 20 years of.
Drupal Recipe: Before and After Gallery Lisa Forgan and Chris Neglia, using notes from Drupal Camp Colorado Copyright 2009, Page 1 Solutions LLC.
Version Control and SVN ECE 297. Why Do We Need Version Control?
How EPA/ORD Moved to Drupal 7 Jessica Dearie U.S. EPA, Office of Research and Development Office of Science Information Management.
Get Secure! Facebook Privacy Tutorial Becky Benishek | November 2013.
GOOGLE TAG MANAGER. INTRODUCTION Google Tag Manager (GTM) is a free solution, introduced in October Google Tag Manager (GTM) is a free solution,
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Drupal Basics May 30, 2012 By Sean Fitzpatrick. Sean Fitzpatrick | Welcome We're going to talk about Drupal We're going to keep it pretty.
Khalid Baheyeldin, Toronto, Mar 13, 2007 Building Drupal sites using CCK, Views and Panels Khalid Baheyeldin Drupal Users Group, Toronto.
Views: From the Beginning John Fiala Twitter: jcfiala Vintage Digital.
Basics of Drupal for Researchers, part 3
Version Control with Subversion
Migrating the Palestine Poster Project from Drupal 7 to Drupal 8
Jill Sullivan Senior Marketing Manager Infront Webworks
Presented by [Harshit Agrawal] 03/02/2017
Custom search forms with Apache Solr David Hernández
Microsoft FrontPage 2003 Illustrated Complete
Version Control System
Site Deployment Module
GUI Design 24-Feb-19.
Git started with git: 2018 edition
10 Most Important WordPress Plugins You Must Have Website Promoters L.L.C.
Presentation transcript:

Are You in the Right Room?  Want to learn about Features module  Are a beginner or intermediate drupaler who hasn't really used it yet  Don't have an aversion to cute animals

Features in the Real World... The Good, The Bad & The Ugly Kristen Pol CruzTech, LLC (Freelance)‏ Web, Drupal & SEO Santa Cruz, CA

What We'll Cover  What is the Features module  Common use case  How to create a feature module  Reasons you should use it  What can and cannot be saved  What you should not save  Pushing features to staging or live

What is Features? “The features module enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together satisfy a certain use-case.” ---- drupal.org/project/features

Clear as Mud?

mycoolmodule.module What is Features?

Common Use Case The Old Way... DEV SITE - Step #1: Configure your content types

Common Use Case The Old Way... DEV SITE - Step #2: Configure your views

Common Use Case The Old Way... DEV SITE - Step #3: Configure your imagecache presets

Common Use Case The Old Way... DEV SITE - Step #4: Configure your permissions

Common Use Case The Old Way... DEV SITE - Step #5: Configure some other stuff

How do I get all these changes to the staging and live site??? Step #1: Configure your content types Step #2: Configure your views Step #3: Configure your imagecache presets Step #4: Configure your permissions Step #5: Configure some other stuff Step #6: Pray that you didn't screw anything up Step #7: Figure out what is wrong and fix it

Step #1: Configure your content types Step #2: Configure your views Step #3: Configure your imagecache presets Step #4: Configure your permissions Step #5: Configure some other stuff Step #6: Create your feature module Common Use Case The New Way...

How do I get all these changes to the staging and live site??? Step #1: Copy feature module Step #2: Enable feature module Step #3: Smile!

Demo... 10:45

More Reasons... 11:00

Settings are Saved in Code  Revisioning system  See changes in module  Tag revisions  Revert back to old tags

Port your Module to Another Site  Reusable features  Requires careful thought  Beware of dependencies  Watch out for conflicts

Share Between Developers  Sharing is nice!  Coordination is required  Different feature modules for different developers

Push Changes to Staging & Live Sites  Streamline deployment  Keep sites in better sync  Less downtime

Know If Something Has Changed  Spying is good  Diff module is your friend  Catch problems before they break your site

What Can Be Saved? Anything* exportable or jiggered to work with features module...  CCK fields  contexts  content types  dependencies  imagecache presets  menus  menu links  mini panels  panels  permissions  roles  rules  taxonomy  variables (strongarm)‏  views  etc...

What Cannot Be Saved?  Anything already in code  Content (nodes, comments, etc.)‏  Blocks*  Module settings that aren't exportable & aren't in variables table * try features_extra module (in dev)‏

What Should NOT Be Saved? Do NOT save variables that change automatically in code or very BAD or very UGLY things may happen...

Push to Staging & Live Make sure your feature modules are updated Check in code to repository & create tag Put staging/live site in maintenance mode Back up staging/live database Add/update any contrib modules if necessary Push code to staging/live site Revert feature modules on staging/live site Do additional configuration as needed Test! Take out of maintenance mode

The Good  Config in code  Reusable features  Better collaboration  Easier deployment  Track changes

The Bad  Cannot save everything  Can have a gazillion checkboxes  UI is slow for large features  Javascript-only UI

The Ugly  Browser can crash after you have clicked a gazillion checkboxes  Saving certain variables can cause ugly things to happen  Site can crash if you update feature modules before contrib modules 11:15

Drush  drush features  drush features-update [feature-module(s)]  drush features-update-all  drush features-revert [feature-module(s)]  drush features-revert-all  drush features-diff [feature-module(s)]  drush features-export... EXTRA

Features Hooks  hook_features_api  hook_features_export  hook_features_export_alter  hook_features_export_options  hook_features_export_rebuild  hook_features_export_render  hook_features_export_revert  hook_features_pipe_component_alter EXTRA

Q&A

Thank you...