Other Stuff
OTHER STUFF

Dad Blog Comments
BLOG COMMENTS

Blog Categories
BLOG CATEGORIES

Dad Blog Archives
BLOG ARCHIVES

I’m Back

I’ve set up the database and installed proper blogging software to use the database. I fiddled around with the code in the software to get the layout I wanted (almost), the basic features I wanted, and the space for expansion I wanted. I’m good to go, now.

Now as I write posts, the software does all the management functions — I can just concentrate on writing. And now this site is becoming easier to navigate for visitors. To the left, you see the Archives section and the Categories section. The months before April are still in the old basic Web page format, but I’ll be working to add all the posts to the database in the coming weeks, as I can. The “specialty” posts (on Games and Movies) are also still in the basic Web page format, but I’ll be moving them into the database, also.

To do all this changing over, I had to learn some PHP coding. I studied computer programming in high school (Basic) and early college (Fortran, COBOL, C, C++, Assembly), around 20 years ago. I’ve dabbled a little bit in HTML, but I always used a WYSIWYG editor to create my Web sites. So I have a base of understanding to build on for learning PHP. But I haven’t done any actual programming since school — my career went in a wholly different direction. I learned what I needed to know for this project as I played with the software.

I downloaded a basic theme for the Web site that I thought I could hack into what I wanted, and set about studying the code. I learned something that I had pretty much forgotten in the 2 decades since I last programed a computer: I like programming. It’s fun to get down into the lines and strings and characters of computer code. I used to enjoy translating machine language — that series of 1s and 0s, and occasional hexidecimal letters.

This week I looked at the code and starting finding the patterns and logic. I’ve never seen PHP before this, but all programming languages have patterns and logic. There are absolute right ways of doing things in programming languages.

This is a drastic difference from working with words. As a writer and editor of a human language, making a sentence, paragraph, and document “work” perfectly is sometimes an exercise in frustration. Human language is so subjective that no two writers or editors will always agree on how to convey a piece of information in text. I would imagine trying to learn a human language by reading a newspaper would drive a reader mad.

But learning PHP by reading .php files? That can be done, apparently. I’d read through the code, form an idea of how a particular part worked, make a change to the part, reload the Web page and check the results. The first few times I did this, I didn’t know what to expect from the results, but after a short while, I could predict the outcomes. And that’s when playing with the code and the Web pages were fun.

I had to do a hatchet job to the base theme to the point where the original layout is pretty much unrecognizable compared to my page layout. I see some errors here and there in my site, and I’ll be fixing them soon. But the basic look and functionality is here. I want to get this new page to look more like the old page in basic layout, but I’m not satisfied with the bland look. I’m going to play around with the colors and maybe some graphics as time goes on.

But for the time being, the base functionality and automation I need is here.

Bullgrit
bullgrit@totalbullgrit.com

Dad T-Shirts

Post a Comment

Your email address will not be published. Required fields are marked *