All Posts

  • Published on
    Creating a new Drupal site in a local dev environment can be quick and painless, or it can probably be a super-complex and intimidating endeavor. I will demonstrate my personal recipe, of the "quick-and-painless" variety, which has been my go-to method for a couple of years now. Hopefully it will work as smoothly for you as it does for me. Continue reading
  • Published on
    Imagine a website that sells widgets. Each widget has a node, `/widget/1`, `/widget/248`, etc. The website has three roles, and each role needs to have access to the widget nodes, but each role needs exclusive access to certain fields. Do we need to create three types of widget nodes, make a custom module, or go fully unDrupal and hack out a solution? Continue reading
  • Published on
    PHP namespaces are a powerful way of grouping stuff together: classes, interfaces, functions, constants. They give you the ability to tame your code, avoiding naming conflicts between different parts of your code or with any third-party libraries you are using. Continue reading
  • Published on
    Laravel is the most widely used PHP framework, to the dismay of many PHP devs. A post on the PHP sub entitled, "Laravel considered harmful" got over 500 upvotes and comments in less than a week, so I decided to take a look. Continue reading
  • Published on
    I fell in love with programming in the early 80s with a language called BASIC (Beginner's All-purpose Symbolic Instruction Code). It was easy to learn, using line numbers and a strictly procedural flow, and it was the default language on several computers of that time. My first was a Commodore VIC-20, followed by a Commodore 64, and on those two machines I became fluent in my first programming language. Continue reading