| |

WordCamp US 2019 – Code Like A Writer – Alex Ball

Writing Principles

  • Punctuation Saves Lives
  • Separate your metaphors
    • separate your concerns
    • making good comments

Coding Principles

  • Syntax
  • Form – code formatting
  • Spellcheck – code linting
  • DRY – Don’t repeat yourself
    • Redundant words just take up time
  • Code is Poetry
    • Being creative
    • Clean and concise
    • Doing as much as it can with as little as possible
  • In Stories Someone Usually Dies in the End
    • In AJAX function wp_die() at the end.

Similar Posts

  • /

    WordCamp US 2019 – Just Enough React for WordPress – Shannon Smith

    New Block Editor Discover the Possibilities Block templates Blocks instead of custom fields, shortcodes, etc How Does the New Block Editor Work? Uses React, JavaScript/JSX Blocks are like plugins There is a Core Layer & Editorial Layer React abstraction is built-in Cool Stuff Blocks can be reusable Backend Workflow-only blocks Block level locking – you can remove blocks that are not needed. React Uses JSON literals It’s in the HTML but doesn’t negatively affect the HTML Templates You can create block templates Can be assigned to existing post types You can have nested templates Compatibility Shortcodes Will continue to work as before but contained within a block Custom Post Types Metaboxes Can be converted to blocks Can be used in the block editor Themes You…
  • / / / /

    WordPress Meetup 3/21/19

    Show & Tell WPRig – Morten Rand-Hendrickson (to be next guest speaker) Bold Grid Cloud WordPress Repo Testing – WordPress Theme/Plugin Tester Poopy.Life – Temporary WordPress Installs BrowserStack – Website/Browser Testing Service Grav – Static Site CMS Statamic – Static Site Generator Hugo – Static Site Generator Strattic – Static Site Generator for WordPress Caldera Forms – WordPress Form Generator https://www.simplystatic.co/ https://www.hardypress.com/ WordPress Related Job Market Job Options Non-Technical WordPress Website Work Content – articles, documentation Editing Strategy Auditing SEO – implementing, auditing, specialization Services Marketing Social media management community engagement Help Others Administration Business Management Project Management Support Non-WordPress Businesses Looking to start something new in WordPress Finding A Job Continue Where You Started Examine Your Experiences Get Out There Have Conversations Getting Hired…
  • /

    WordCamp US 2019 – Thinking Remotely Through Games – Tammie Lister

    Benefits Dissolve – thought barriers Opens – creativity Types of Play Unoccupied Play – free to think on your own Independant or solitary play Onlooker play – watching others Parrallel play – same time but separate Associative play Team Context Parallel play – same task, in isolation Associative Play – co-op working Co-op Play – together as a team Game Types Constant Unoccupied play – lab-time each week Associative play – hack days Events Parrellel Play – 6up (what if what could be) / elevator pitch Co-op Play – Team shield Merged play – Retrospective Retrospective Rose / bud / thorn Fire / forge / treasure Warm Ups – opens up everyone to collaborate Sketch Photo Tips Be flexible – adapt as play Always summarize…
  • /

    WordCamp GR 2019 – Confidently Testing WordPress – Steve Grunwell

    https://stevegrunwell.github.io/confidently-testing-wordpress/#/ Testing Fundamentals Automated Testing Reduces time + chance of human error Easily reproducible Gateway to CI/CD Test Types Unit – Test the smallest possible unit of an app. Often a single function Integration – How individual components interact End-to-End(E2E) – An entire path through an application Automated Testing Pyramid ROI for Testing System Under Test (SUT) The system we’re currently testing: A single method A class A whole feature WordPress Testing is Complicated Tightly-coupled system Difficult to test anything in true isolation Testing Toolbox PhpUnit – https://phpunit.de/ Structure Test Suite – Collection of test classes Test Class (class) – Collection of test methods Test Case (method) – A single scenario to be tested Assertions True or False Equality Verify Contents – contains, regular expression…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)