good, fast, and cheap: how modular design improves our projects
TRANSCRIPT
Good, Fast, and Cheap: How Modular Design Improves Our Projects
Jeremy Ward WordCamp Minneapolis
May 21, 2016
ABOUT ME• WordPress Developer at 3five
• Board game geek
• Comedy nerd
• Drummer
• @_jmichaelward
– Wikipedia
“Modular design is an attempt to combine the advantages of standardization (high
volume normally equals low manufacturing costs) with those of customization.”
EXAMPLES OF DRY• Proposal boilerplate
• Style guides
• Lorem ipsum
• Plugins
• Starter themes
• Templates
• Widgets
MANY ALREADY EXIST IN WORDPRESS!
• get_header()
• get_footer()
• wp_nav_menu()
• get_template_part()
• the_widget()
• do_shortcode()
CUSTOM FIELDS
• Advanced Custom Fields
• Use acf-json to sync needed component fields
• Updates will change JSON fields for your particular project
• Remove unneeded fields
• CMB2
RELATED TALKS
• Tyler Golberg “Custom Post Types for Non-Developers”
• Josh Broton: “WordPress + React: A Match Made in Heaven” (components)
• Solomon Scott: “JavaScript <3 WordPress” (design patterns)
RESOURCES• atomicdesign.bradfrost.com
• https://trello.com/b/FDjjqYbL/wordpress-ui-inventory
• https://en.wikipedia.org/wiki/Modular_design
• https://en.wikipedia.org/wiki/Modular_programming
• styletil.es
• pointnorth.io (specifically http://pointnorth.io/#components)
• http://maintainablecss.com/
• http://wpackagist.org
THANK YOU!
• Find me at the Happiness Bar!
• Or:
• Twitter: @_jmichaelward
• Email: [email protected]
• Slack/IRC: jmichaelward
QUESTIONS?