Skip to main content

Backup The Template, When Making Changes

If you've ever done programming - including updating existing code (generally made by another person, who you grow to hate) - you know of the value of backups.

Any time you improve or repair existing code, there is always the possibility of making mistakes. Code is written by people - and people make mistakes. Sometimes, the mistake may be in the code, as originally created (and used for months, until you touched it). Other times you make one mistake on your own, and the whole thing crashes.

Experienced programmers know that making mistakes is part of programming. When you make a mistake, be prepared to recover from - and learn from - the mistake. This is true, when making template changes, in your blog.

Any time you change the template in the blog, you are doing programming.

Code updates require technique.

Experienced programmers know the proper technique for making changes to existing code.
  1. Backup the code.
  2. Make the changes.
  3. Test the changes.
  4. If problems are found,
    • Restore from Step #1.
    • Identify the mistake.
    • Return to Step #2.
  5. If no problems are found, backup the code, again.
  6. Log the change, with date, time, and description of change.
  7. If mistakes are found later, consult Step #6, then return to Step #4.
This is especially a valuable policy, if you are making changes to the comment / posts section of the template - which Blogger Engineering may update, any time, without warning.

Only one step is absolutely essential.

You can leave out any step, in the procedure above (excepting #2) - and you may get the job done. You can do Steps #2 and #3 carefully, and create check lists and check points, and have code reviews. If you never make mistakes, Steps #1 and #5 are not really needed. Nor is #3 (but don't tell your boss!).

But my experience is that if you do Steps #1 and #5, consistently, you will be able to do Steps #2 and #3 more confidently - and you will make less mistakes because you are less stressed.

The one time that you omit any step, you will learn to not take shortcuts.

And the one time that you omit Steps #1 and #5 - and have to re build the whole code set, by hand, from the ground up, you will know that Steps #1 and #5 are not optional. Nor is Step #6, which helps you identify which backup to go beck to, when mistakes are discovered.

Backup the template - before and after making changes. You'll have less stress, and more time for working on blog content.

Comments

Popular posts from this blog

What's The URL Of My Blog?

We see the plea for help, periodicallyI need the URL of my blog, so I can give it to my friends. Help!Who's buried in Grant's Tomb, after all?No Chuck, be polite.OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Leave Comments Here

Like any blogger, I appreciate polite comments, when they are relevant to the blog, and posted to the relevant article in the right blog. If you want to ask me a question thats relevant to blogging, but you can't find the right post to start with (I haven't written about everything blogger related, yet, nor the way things are going I don't expect to either), ask your questions here, or leave an entry in my guestbook.

As noted above, please note my commenting policy. If you post a comment to this post, I will probably treat it as a "Contact Me" post. If you have an issue that's relevant to any technical issue in the blog, please leave a comment on the specific post, not here. This post is for general comments, and for non posted contact to me.

If the form below does not work for you, check your third party cookies setting!

For actual technical issues, note that peer support in Blogger Help Forum: Something Is Broken, or Nitecruzr Dot Net - Blogging is, almos…

What Is "ghs.google.com" vs. "ghs.googlehosted.com"?

With Google Domains registered custom domains becoming more normal, we are seeing one odd attention to detail, expressed as confusion in Blogger Help Forum: Learn More About Blogger.My website uses "ghs.google.com" - am I supposed to use "ghs.googlehosted.com", instead?It's good to be attentive to detail, particularly with custom domain publishing. This is one detail that may not require immediate attention, however.