| |

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

  • / /

    Highlights of WordCamp Grand Rapids 2018

    TL;DR – This year #WCGR was all about people and conversations for me. Oh, and trying my hand at speaking, which I didn’t totally bomb. Today marked the 4th WordCamp Grand Rapids that I’ve attended. Last year I was just an attendee but this year I stepped things up in a pretty bug way. I was not only a volunteer at the Happiness Bar, but I helped with organize the event, and was even one of the speakers. One of the things I love about #WordCamp Grand Rapids, and the #WordPress community is the people. Yet again I felt welcomed as a member of the community, valued for my experiences as a developer and user of WordPress, and encouraged when I had doubts of being…
  • /

    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…
  • A Little Bit Of #WCGR With Me Camping

    As I headed off camping with the family this weekend I was choosing what to bring to keep my phone charged. When you are a tent camping family you only have so much room. The charging pack I received for speaking at last year’s #WordCamp Grand Rapids, and the USB conversation dongle from this year made a great compact charging setup.
  • /

    WordCamp GR 2017 – WP-API: The Good, the Bad, and the Ugly – J Andrew Scott

    J Andrew Scott – http://rubberchickenfarm.com/ History of APIs RSS Advantages Fast & reliable Easy to consume Almost no technical footprint Disadvantages Read-only Static content No authentication No user-driven content (i.e. comments, favorites, etc) DIY API Advantages Dynamic content User-driven content App & user authentication Roles & permissions based Connected applications Disadvantages DIY OAuth Redundant URI scheme Mediocre performance Large technical footprint WP-API Advantages Succinct URI scheme Improved performance Small technical footprint Available in WordPress core Disadvantages Granular transactions No batch uploads Increased number of API calls What once required 2 web servers now required 12-15 servers WP-API Disadvantage Factors & Solutions Number of content types Solution: consolidate endpoints Volume of individual API calls Solution: batch processing endpoints Frequency of individual API calls Solution: page-level caching Lessons…
  • /

    Lucky 7: Don’t Do Anything Until You Hear This – Joe A Simpson Jr

    http://bit.ly/joesimpsonjr-wcgr Hosting I purchase too much hosting… Start with free and level up as you learn WordPress Compare what you need Considerations Site Traffic eCommerce Site Speed Environmentally conscious Staging Uptime Site Design Why doesn’t my site look like the demo? Setup the test data for the demo Make sure there is support I have a premium theme but I can’t move things around. Page Builder or Traditional Theme? Do you need flexibility or are you OK with the theme restrictions? Accessibility Accessibility makes me angry… Color Links without underline can affect people with color blindness Colors shouldn’t be the only way to convey a message Color contrast testing Start with an Accessible Theme Check with the Tab Key – Does it navigate the site…

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.)