Matt Mullenweg’s State of The Word, 2018

“State of the Word” is a big thing for anyone who is involved with WordPress.  This year’s “State of the Word” is even more important, following the release of WordPress 5.0 and the switch over to Gutenberg editor.

If an almost one hour talk is too much for you, then read through the Post Status summary of the talk with all the highlights and useful links.

spatie/period – complex period comparisons in PHP

spatie/period is a PHP library that provides complex period comparisons.  It implements a variety of methods for calculating gaps, boundaries, overlaps, and other operations on multiple dates.

PHP – Password Exposed Helper Function

Password Exposed Helper Function is a tiny PHP library that helps checking user passwords against the Have I Been P0wned website API.

This is quite common new functionality on many websites and services (see GitHub, for example), which is now available as a quick composer dependency for your PHP projects.

Advanced web security topics

Advanced web security topics” blog post goes over a variety of ways that a web application can get p0wned.  Some of these include:

  • Cross-site scripting (XSS)
  • Mime-type attacks
  • A variety of injections – SQL, JavaScript, HTTP
  • URL indexing
  • Click-jacking
  • … and more.

git merge vs. git rebase

There’s a lot of confusion between git merge and git rebase even among seasoned users of git.  “An Introduction to Git Merge and Git Rebase: What They Do and When to Use Them” is a great article explaining the pros and cons of each, and when and why using each of this is better.

While I understand it a lot better now, I still much prefer the merge approach.  It’s simpler and less dangerous, and maintains the full history.  This might get noisy at times, but works as a last resort when trying to understand what was going through the developer’s head when he was working on a piece of code.