PureOS – First Impressions Gallery

Today I poked around in PureOS a GNU/Linux distribution recently endorsed by the Free Software Foundation. So far I’m very impressed in what I can do with minimal effort. For starters, I had no problems creating a local installation of WordPress. (A necessity  and a test in my line of work as a web developer.) It was actually pretty simple. Being based on Debian made it easy. I just swapped MariaDB out for the usual MySQL.

It’s nice to know that PureOS is another option. The best way to describe this experience is Debian + GNOME minus proprietary blobs. If I had to fine one complaint it would be that Firefox is stuck on ESR rather than the current version. However, when you’re running Free Software that’s a small price to pay for software freedom. Chromium is also available in the repository.

Researching Conditional Tags

I’m taking a deep dive into WordPress’ Conditional Tags feature this month to get a better understanding of how it can minimize custom written code while providing practical features.

This personal study project will do the following.

  1. Create a fictional small business
  2. Anticipate its needs in a website
  3. Use Twenty Seventeen as the Parent Theme
  4. Add some practical custom features
  5. Most importantly, create a minimal amount of new code.

The Business

A small restaurant trying to up it’s social media and web presence. This business would have relied solely on social media and a basic informational  website in the past.

Their Needs for an Improved Website

The owner wants to generate more interest in the community. They have time to write and photograph a few times a week and drop in on social media. Meanwhile, staff have been concerned that answering phone calls, and social media posts from people asking for basic information cuts into their time with customers. With a little planning everyone thinks that their website could help with some new features.

  1. A Currently on Tap  and Dining Menu that can be easily maintained.
  2. A listing of entertainment and specials.
  3. A simple blog that supports the business within the community.

Twenty Seventeen as a Theme

Twenty Seventeen is almost perfect but the owner still needs a few practical features to humanize the business and inform the community.

  1. Author profiles for the blogging staff
  2. Practical suggestions like food parings
  3. Maintain an archive of current and past offerings; items move in and out of availability almost daily so the manager will be tasked with updating the website as needed.

Conditional Tags

With a single well planned bit of code the Author profiles can be added to each post, page and author’s archive along with their portrait.

A second bit of code will also be added to posts about beer suggesting the reader view what’s Currently on Tap. It will also check if the beer they’re reading about is currently available.

A third block of code will create beer parings for current menu items; If possible the owner would also like parings for currently unavailable items

The Process

  • Each menu item, beer and event will be a post
  • Categories can then be used to control availability and placement of items
  • Tags will be used to create pairings
  • All content updates must be possible through the dashboard by an Editor
  • No plugins

Taking a look at Drupal’s People management

I set up Drupal 8 earlier this week to kick the tires and get a better understanding of how it differs from WordPress. For starters it provides granular user controls. I imagine this could be a killer feature for anyone setting up an elaborate subscription site where various levels of users are granted additional access.

Drupal 8 People
Hmm, I think we’re gonna need more options.

Custom Roles

As a WordPress user I’m a little jealous of how easy it is to create, edit and modify user roles. I could see myself wanting to allow certain users the ability to edit their own menus in WordPress. Drupal allows that function without additional modules.

Drupal 8 Custom Roles
Easy User management for the win!

Hmm. I’m going to have to keep digging and see what other surprises I find.

90’s era Staedtler Mars-780 lead holder

Found this old friend while sorting through some old art supplies in my home office last night.

Probably purchased it between late ’96 and ’98 for a drafting course. Staedtler makes their carbon lead for this ranging from 4H to 4B and I forgot how much I loved sketching with this thing.

At closer inspection I rember the time it spent some time sitting in an ink spill in an old ‘Art Box.’