Tess Flynn (socketwench), Drupal Developer at Blink Reaction and co-maintainer of the Flag module, joins the full crew to talk about her co-maintainership of Flag module, her journey to port it to Drupal 8, and Zardoz. We also learn that Ted protects himself from time-sucking web sites, Andrew's future employment dreams, and that Ryan is the only one looking out for Mike.
Interview
- Porting Flag to Drupal 8 slides.
- Top Modules Seeking Co-Maintainers, Drupal.org list of modules seeking co-maintainers.
- A Year With Symfony book.
DrupalEasy News
Three Stories
- DrupalCamp NJ wrapup - Ted and Ryan sessions, photos.
- Mike Keran's (mikeker) filled in the blanks on last podcast's discussion about Twig syntax in Views rewrites.
- What does it take to be a developer (other than coding)?
Sponsors
Picks of the Week
- Mike - Registry Rebuild Drush command (tip of the hat to Erik Webb).
- Ryan - Ultimate Guide to Drupal 8 by Angie Byron and Flag Weights by lyricnz.
- Ted - Drupal Development VM by Jeff Geerling or (https://github.com/ilrWebServices/drupal-dev-vm) by Aaron Froehlich (a-fro).
- Andrew - PHPStorm + XDebug. Setting it up.
- Tess - Drupal Console (https://www.drupal.org/project/console).
Upcoming Events
- DrupalCon Latin America 2015 - Bogota, Columbia - February 10-12, 2015.
- Florida DrupalCamp 2015 - April 11-12, Orlando, Florida.
Five Questions (answers only)
- Macbook Air (work) Macbook Air running arch linux (home) - PHPStorm
- Jesus Manuel Olivas
- Twin Cities
- Dev ops
- Media handling
##Follow us on Twitter
Intro Music
Drupal Way by Marcia Buckingham (acmaintainer) (vocals, bass and mandolin) and Charlie Poplees (guitar). The lyrics by Marcia Buckingham, music by Kate Wolfe.
Subscribe
Subscribe to our podcast on iTunes or Miro. Listen to our podcast on Stitcher.
If you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our contact page.
Comments
More thoughts on Twig and tokens....
As requested, I'm replying via comment thread... :) Some additional thoughts on token replacement using Twig:
I don't believe there is any way to limit Twig parsing to just filters (I believe that's the term you were looking for -- something you can pipe a variables into eg:
{{ foo|length }}
). Regardless, I don't think it's a bad idea to allow all of Twig to be available in token replacements.True, I can't think of a good reason you would need a for-loop for a pathauto pattern, but that doesn't mean there isn't one. Twig already sanitizes variables and limits the amount of "programming" you can do. It's not like the PHP Filter days where you could sneak a database query into any old text field.
Instead of having a core token for "all tags separated by '/'" we can just provide an "all tags" Twig variable and the site builder can use
{{ tags|join('/') }}
in their pathauto pattern. If they want them separated by hyphens, there's no waiting for someone else to build that into the Token module.There may be argument that it affects performance. These would be inline Twig templates and not compiled down to PHP like other *.html.twig files. I don't know nearly enough about Twig's inner working to speak to that.
Finally, two points of clarification. First, I'm not a member of the VDC team, though I appreciate being mistaken for one! Second, my last name is pronounced "Karen" (like the woman's name) not "Keran" (like it's spelled). If I could, I'd submit a patch to clean up that confusion as well...
Again, thanks for raising awareness of this new functionality in D8. I'm very excited by it!
Link to Tess' posts about
Link to Tess' posts about "How does Drupal 7 work"?
http://deninet.com/blog/1014/how-does-drupal-7-work-part-1-who-why-how