Categories
Web Development

Designgineering Chronicles: Months 6.5-8.5, Part 2

And here is Part 2! Read this for technical notes about how the Cantaloupe pattern architecture is working out, examples of CSS algorithms, and (for us) the solved problem of JavaScript.

Categories
Updates Web Development

Designgineering Chronicles [WiH]: Month 5.5-6.5

Wowww…so much cool stuff has happened in the past month! This installment of Designgineering Chronicles is full of milestones and an outline of a some real deal system architecture for a project underway, code-named Cantaloupe.

Categories
Web Development WordPress

What is PHP Output Buffering?

As someone who works with WordPress on the regular, output buffering is one of those concepts that I’ve encountered in the past and, until now, never needed to understand. I hope this serves to be a relatively plain language description of what output buffering is at a high level, and will illuminate the concept for others!

Categories
Web Development WordPress

The Twig for Timber Cheatsheet

Although Timber ultimately simplifies templating in WordPress, there’s a bit of a barrier to entry. If you haven’t worked in a templating language before, it takes some time to get a handle on what’s possible. The following are some introductory Twig concepts and snippets I’ve found particularly useful when working with Timber and Advanced Custom Fields.

Categories
Web Development WordPress

Iterate over Keys and Values in Twig with Timber

I found the Twig documentation for using key value pairs from PHP arrays a little sparse, so thought I’d elaborate.

Categories
Web Development

Remove .php from URLs [Snippet]

When making custom sites, I separate my code into various php files that each include a consistent header and footer so that I don’t have to deal with verbose, redundant HTML files. By default you end up with gross URLs like mysite.com/contact.php. Make it mysite.com/contact by adding this to your .htaccess file and replacing index|about|.. […]