Doing Things Wrong

Web Stuff (2/5)

Notes on WordPress, php, html, css, search engines, and anything else that I think is worth remarking on.

 1 2 3 4 5  

I've always had a distrust of WordPress 'plugins', and tried to keep them to a minimum, especially when I had a lot of sites to administrate. But on this site, I decided to try something different, and threw in any plugin that looked interesting.


Just when I finished all the work on the slideshows, I found a serious flaw in the Nivo Slider plugin. If you put multiple slideshows on a page, each one clobbers the one before, and you only get the last one. I guess they never tested that.


Audiovox Gibson-style Bass
Audiovox 736 Replica Bass
Audiovox Gibson-style Guitar
Audiovox Danelectro-style Bass
Audiovox Fretless Bass
Audiovox Electric Upright Bass
Audiovox Strat-style Guitar
Audiovox 12-string Guitar
Audiovox Ukulele Bass
Audiovox Mandolin
BC Rich "Osprey" Bass
Brownsville Violin Bass
Cowbell Bass
Danelectro Pro-1 Bass
Danelectro "Super-63" Guitar
Danelectro Silvertone 1457 Rescue Guitar
Danelectro Longhorn Guitar
Danelectro Silvertone U-1 Guitar
Danelectro Companion Guitar
Danelectro Silvertone 1443 Bass
Danelectro '67 Hornet Guitar
Fender Jazzmaster Bass 1
Fender Jazzmaster Bass 2
Fender Jazzmaster Bass 3
Fender Stratocaster Bass 1
Fender Stratocaster Bass 2
Fender Stratocaster Micro Bass 1
Fender Stratocaster Micro Bass 2
Fender Stratocaster Fretless Bass
Fender Stratocaster Bass VI
Fender Stratocaster Bass IV
Fender Stratocaster 12-string Guitar
Fender Stratocaster Uke Bass
Fender Squier Stratocaster Guitar
Fender Telecaster Bass
SX Precision Bass
Gibson Fenderbird Bass 1
Gibson Fenderbird Bass 2
Gibson Reverse Fenderbird Bass
Kubicki Bass
Schwinn Stingray Bass
Mosrite Bass
Rickenbacker 325 Guitar
Rickenbacker 325 Bass 1
Rickenbacker 325 Bass 2
Rickenbacker 325 Bass 3
Rickenbacker 4001 Bass 1
Samick SG450 Guitar
Danelectro Pro-1 Guitar
Danelectro Silvertone 1448 Guitar
Danelectro '63 Guitar
Danelectro Silvertone 1457 Guitar
Harmony H617 Bobkat
Danelectro Silvertone 1450 Guitar
Harmony Silvertone 1478
Danelectro Silvertone 1472 Amplifier
Danelectro Longhorn Bass

A while ago I said I couldn't find where the new Nivo Slider slideshow plugin (above) keeps its data. That's because it doesn't keep it anywhere. It generates each slideshow on the fly from scratch, with lord-knows how many database calls. I suspected that it was grossly inefficient, and I was right.


Every time I think I'm done with my "Simple" WordPress theme, I think of some new feature, or some way existing code could be tighter and faster.


After going through a bunch of WordPress slideshow plugins before I finally found a good one, I have started adding new photos of my projects. Eventually, each one will start out with a slideshow of the finished product, followed by whatever build details I have for it. Some of them are quite lengthy.


WordPress is primarily a blogger, and its favorite thing in the world to do is spit out your blog posts in descending order by date. But it doesn't want to do that for pages or anything else.


Since Gargle keeps track of everything, I like to keep track of them. So I added some 'instrumentation' (code) to the site to keep track of when and where their 'spider' comes snooping through. And I was shocked. Even as I was writing the code, I started collecting hits from Gargle, and quite a few. In fact, they seem to be in here every few minutes !


Rather than 'responsive web design', which is a catchy name for something that just doesn't work and never will, this site is designed with what I call Rational Web Design.


Audiovox Gibson-style Bass
Audiovox 736 Replica Bass
Audiovox Gibson-style Guitar
Audiovox Danelectro-style Bass
Audiovox Fretless Bass
Audiovox Electric Upright Bass
Audiovox Strat-style Guitar
Audiovox 12-string Guitar
Audiovox Ukulele Bass
Audiovox Mandolin
BC Rich "Osprey" Bass
Brownsville Violin Bass
Cowbell Bass
Danelectro Pro-1 Bass
Danelectro "Super-63" Guitar
Danelectro Silvertone 1457 Rescue Guitar
Danelectro Longhorn Guitar
Danelectro Silvertone U-1 Guitar
Danelectro Companion Guitar
Danelectro Silvertone 1443 Bass
Danelectro '67 Hornet Guitar
Fender Jazzmaster Bass 1
Fender Jazzmaster Bass 2
Fender Jazzmaster Bass 3
Fender Stratocaster Bass 1
Fender Stratocaster Bass 2
Fender Stratocaster Micro Bass 1
Fender Stratocaster Micro Bass 2
Fender Stratocaster Fretless Bass
Fender Stratocaster Bass VI
Fender Stratocaster Bass IV
Fender Stratocaster 12-string Guitar
Fender Stratocaster Uke Bass
Fender Squier Stratocaster Guitar
Fender Telecaster Bass
SX Precision Bass
Gibson Fenderbird Bass 1
Gibson Fenderbird Bass 2
Gibson Reverse Fenderbird Bass
Kubicki Bass
Schwinn Stingray Bass
Mosrite Bass
Rickenbacker 325 Guitar
Rickenbacker 325 Bass 1
Rickenbacker 325 Bass 2
Rickenbacker 325 Bass 3
Rickenbacker 4001 Bass 1
Samick SG450 Guitar
Danelectro Pro-1 Guitar
Danelectro Silvertone 1448 Guitar
Danelectro '63 Guitar
Danelectro Silvertone 1457 Guitar
Harmony H617 Bobkat
Danelectro Silvertone 1450 Guitar
Harmony Silvertone 1478
Danelectro Silvertone 1472 Amplifier
Danelectro Longhorn Bass

The new slideshow

A while ago, I took a look at the database tables, and realized that about half of the database was due to the slideshow plugin MetaSlider. MetaSlider crapped out thousands of entries across multiple tables. What bothers me is not so much the waste of storage space as the incredible inefficiency of having to retrieve all of that bit by bit from the database server. I did my best to minimize that kind of inefficiency, while the writers of MetaSlider did the opposite. In computer programming, more is almost never better.


I recently set up a new account on Bluehost to set up another website using my simple framework on WordPress. Simple is developing into something far more powerful than I originally intended.

This site is grafted onto an account that is over 10 years old now. After working with the new account a while, I began to see differences between the old and the new. Specifically, the new account was subject to server caching of php pages. This can be quite maddening for a developer, as your changes just don't show up, at least not until the cache gets stale and refreshes.


Web Stuff

 1 2 3 4 5  

This body was purchased on eBay from a parted-out guitar. Might have been a Squier, I don't remember. It was in pretty good shape, and I gave it a good polishing. The neck is hand-made, one of my first. The back is hand-picked Home Depot maple, the fretboard is pre-slotted rosewood from StewMac, I hadn't yet worked out how to make my own. If you cut the first two frets off a 34" fretboard, you end up with a 30" scale. That's about the limit with a pre-slotted fretboard though, as you start to run out of frets at the other end. The dots are 1/4" pearl from StewMac, expensive. The frets are probably pre-cut Fender.

Printed from luthierylabs.com