{"id":220,"date":"2006-08-16T22:19:04","date_gmt":"2006-08-17T03:19:04","guid":{"rendered":"http:\/\/auroralux.net\/blog\/2006\/08\/16\/one-thing-leads-to-another\/"},"modified":"2006-08-16T22:19:04","modified_gmt":"2006-08-17T03:19:04","slug":"one-thing-leads-to-another","status":"publish","type":"post","link":"https:\/\/fhmiv.net\/blog\/2006\/08\/16\/one-thing-leads-to-another\/","title":{"rendered":"One thing leads to another"},"content":{"rendered":"<p>I started poking around the <a href=\"http:\/\/wordpress.org\/\">WordPress site<\/a>, looking for hints on optimizing page rendering performance. There&#8217;s the usual bit of flaming going on in the forums, in fact when I read one thread with two people arguing about whether MySQL was a real database in which one of the parties claimed that all real databases, i.e. Oracle, did most everything meaningful using stored procedures, I thought for a moment I had travelled back in time and was reading Usenet. <\/p>\n<p>After determining the database queries weren&#8217;t likely to be too bad with the size of my blog, though the queries and schema could probably use some optimization, I read that wordpress itself is the more likely bottleneck. I happened across Andy Skelton&#8217;s post about <a href=\"http:\/\/andy.wordpress.com\/2006\/08\/13\/useless-code-in-wordpress-themes\/\">poorly coded themes<\/a>, and thought this Sandbox theme sounded interesting. <\/p>\n<p>Now I&#8217;ve never been too big on writing web pages, it always seemed too much like drudgery to me, but this CSS thing is pretty cool. Separating your model\/data\/text from the view\/presentation, well, I spend a lot of time on things like that at work and think it&#8217;s an interesting class of problem. So I figured I&#8217;d take the opportunity to learn a bit more about CSS, and you know, it&#8217;s almost like coding, but without all the pesky comments. I had previously hacked up a CSS theme by changing the header background picture and some of the colors, but now I figured I&#8217;d port my hacked theme to the <a href=\"http:\/\/www.plaintxt.org\/themes\/sandbox\/\">Sandbox<\/a>, which is a skinnable, generic wordpress theme. <\/p>\n<p>I&#8217;m partway there now, and now that I&#8217;m reading and learning what all those funny tags mean and how they relate to the php theme and the rendered page, I&#8217;m fixing a few of the things that always bugged me about my theme. I have <a href=\"\/testblog\/\">another wordpress install<\/a> I use to test things out, so you can check out my progress if you&#8217;re curious. <\/p>\n<p>About the only thing that&#8217;s bugging me enough to keep from taking it live is the secondary sidebar stuck down at the bottom after the main content area. The primary sidebar uses absolute positioning, but I&#8217;m not sure that&#8217;s the best way to do it. I&#8217;ll check one of the other themes to see how they handle positioning the contents relative to the sidebars, but it will probably have to wait until tomorrow.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started poking around the WordPress site, looking for hints on optimizing page rendering performance. There&#8217;s the usual bit of flaming going on in the forums, in fact when I read one thread with two people arguing about whether MySQL &hellip; <a href=\"https:\/\/fhmiv.net\/blog\/2006\/08\/16\/one-thing-leads-to-another\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[5],"_links":{"self":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/220"}],"collection":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":0,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"wp:attachment":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}