Learning

Conservation and PHP

Today I have struggled with PHP. I struggled because I want to recreate the same table using loops with PHP as I did formatting with HTML. If I wasn’t up for a challenge I would let PHP loops format it according the default and I’d be done. In the end I did get the table to display as I wanted but not using for loops. I created a table page, laid it out using the data file I’ve been using for this section, and then using include to add that content where I wanted it to be on the page.

On Whether I Prefer Vanilla JavaScript or Frameworks?

Today someone on twitter asked this question, and rather than be reply: 320 of 10,000, I chose to write a blog post about it. The TLDR answer is Vanilla JS because if you learn how it works without the help of a framework you understand the language. This doesn’t mean that I don’t have an interest in learning to take full advantage of frameworks. As I listen to JavaScript Jabber one thing is clear.

Become A JavaScript Developer Completed and GeoJSON

We’re in a pandemic, and it makes sense to invest time in learning. I completed the Become a JavaScript Developer course last night and today I played around with some code to see if it worked for what I wanted. It didn’t. I also listened to a live stream which discussed geojson, smapshot and other projects. I like the idea of geotagged data, and an open API to allow for the data to be shared more easily

Trying To Read Nested Data From a JSON File

Over the last two evenings I have been attempting to read nested data. I have tried to parse the data and other methods but without success. I have browsed the web to try to find solutions but for now I am getting stuck. Learning is also about trial and error, and knowing where to find the right information. For now I am lost. At the end of this process I will be more self-sufficient.

Reviewing EcmaScript 6

Recently I have spent time focusing on JavaScript and EcmaScript to make sure that I understand it. By now it is over a year ago since I felt that I wanted to study Angular but felt that I didn’t have enough knowledge to resolve the challenges so I decided to return to basics. My return to basics involved a number of courses and books but it also led me to study this Linkedin Learning Pathway.

An SVG clock

Sometimes we experiment and play with technology. The clock below is an SVG clock using SVG and Canvas technology to display local time. Doing it with these two technologies was easier than with JavaScript. The code doesn’t require calculating thousandths of a second like another clock I tried. The tutorial to make this clock is here: W3 Canvas Clock. var canvas = document.getElementById(“canvas”); var ctx = canvas.getContext(“2d”); var radius = canvas.

With A view of the Mont Blanc

I’m afraid to open the veluxes because of the threat of finding yet another large spider. I don’t mind having to dispose of it, but I hate the idea of having one walking around without me knowing. A great alternative to open windows is to go for your daily walk. You’re far from neighbours, from smokers, from metalworking and more. You are free to daydream. Today the Mont Blanc was clearly visible.

Playing with WP Rig

Today I started following the “Building Progressive Themes with WP Rig.” course on Linkedin Learning. Before you start playing with WP Rig make sure that you have installed Composer. Composer is required to use WP Rig during the build process. Composer itself requires that you have PHP on your machine. After that it should be easier to use. I also ran npm-install-peers because I kept getting error messages. During the daily walk today I saw that the grass along the side of the road is dry and dead.

Yet Another Sunny Day

As I looked straight down from a bridge today I noticed that the river is so low that the river bed has become bone dry in places. In other places you see that the gress is turning yellow. When tractors tend to the fields you see that they are stirring up clouds of dust. It is so dry, so often, that it is only a matter of time before forest fires burn down local forests.

Learning To Code By Building CMSs

It’s easy to use Facebook or other CMS every day without thinking about how the code works. This summer I have coded two CMS using Linkedin Learning. One of these CMS was running with PHP and MySQL and the other was running with Ruby On Rails and MySQL. The PHP CMS In the process I learned how to install MySQL, how to get MySQL and PHP to talk to each other.