Developing Custom Views Plugins: Falling back in love with Views - - PowerPoint PPT Presentation

developing custom views plugins falling back in love with
SMART_READER_LITE
LIVE PREVIEW

Developing Custom Views Plugins: Falling back in love with Views - - PowerPoint PPT Presentation

Developing Custom Views Plugins: Falling back in love with Views BADCAMP 2020 Jim Vomero Jim.Vomero@FourKitchens.com @nJim 90s Movies Demo Site Three content types: Movie Cast Person Insert Image Two vocabularies: Genre


slide-1
SLIDE 1

Jim Vomero

BADCAMP 2020

Developing Custom Views Plugins: Falling back in love with Views

slide-2
SLIDE 2

Jim.Vomero@FourKitchens.com @nJim

slide-3
SLIDE 3

Insert Image

90s Movies Demo Site

Three content types:

  • Movie
  • Cast
  • Person

Two vocabularies:

  • Genre
  • Keyword

One user entity.

slide-4
SLIDE 4

Views in Core

My complicated history with the GUI.

slide-5
SLIDE 5

Ways we can all benefit from using Views

  • Feature Rich: As a mature project, Views has

many bells and whistles out of the box.

  • Extensible: Many compatible modules to

introduce new features to Views.

  • Accessible: No-code required to get started.

Plenty of training materials

  • Consistent: Exported configs stored in a

predictable/portable set of yaml files.

  • Supported: Limits future technical debt.
slide-6
SLIDE 6

Reasons developer may avoid using Views

  • Control: We like (need) to reinvent the wheel.

Creating the perfect tool for the job.

  • Clarity: Big Views can be overwhelming. We

can comment and organize our custom code.

  • Not Powerful Enough: Custom requests push

the limits of what is possible in Views.

slide-7
SLIDE 7

Extend everything via the plugin system

  • Filter*
  • Join
  • Pager
  • Query
  • Relationship
  • Row
  • Sort*
  • Style
  • Wizard
  • Access
  • Area
  • Argument*
  • Argument (Default)
  • Argument Validator
  • Cache
  • Display
  • Exposed Form
  • Field*
slide-8
SLIDE 8

‘Nuff slides. Let’s Drupal.

slide-9
SLIDE 9

Embrace the Drupal UIs

View Plugins can allow developers to keep their code

  • rganized, abstracted, and highly functional.
slide-10
SLIDE 10

Thank You

Jim.Vomero@FourKitchens.com Demo: github.com/nJim/movies @nJim

slide-11
SLIDE 11

BADCamp 2020

Coming up next Friday 2 pm

  • 2pm - Advanced Google Analytics (and
  • ther) integrations with GTM and

dataLayer with JD Leonard

  • 2pm - Getting Started With Layout

Builder for Drupal 8 & 9 with Danny Englander

  • 2pm - Inclusive leadership for managers,

tech leads and open-source maintainers with Tara King

  • 2pm - 2:20pm - True Life: I’m an introvert

in an extroverts world with Kacie Minner

  • 2:25 - Implementing a top notch search

and social media meta tag strategy with Jim Birch

slide-12
SLIDE 12

BADCamp 2020

Coming up next Friday 1:45 pm

  • Coffee break sponsored by Drupal

Contractors by Esteemed in the Expo Hall

slide-13
SLIDE 13