{"id":658,"date":"2009-08-11T15:53:40","date_gmt":"2009-08-11T20:53:40","guid":{"rendered":"https:\/\/zingman.com\/blog\/?p=658"},"modified":"2009-08-11T15:53:40","modified_gmt":"2009-08-11T20:53:40","slug":"zingman-site-upgrade","status":"publish","type":"post","link":"https:\/\/www.zingman.com\/blog\/2009\/08\/11\/zingman-site-upgrade\/","title":{"rendered":"Zingman Site Upgrade"},"content":{"rendered":"<p>Now that fears over the Y2K bug have pretty much calmed down I figured it would be a good time to upgrade my web site to use some good ol\u2019 fashion 21st century web technology.  I\u2019ve begun adding dynamic elements to my pages using PHP.  The high-level goal is to make the site more template driven so I can update content easily and have configurable views.  For example, I\u2019d like to be able generate pages in my origami section that display the models in a particular subject or from a particular year on-the-fly.  Toward that end, as a proof-of-concept I designed a drop-in header and footer that can be passed args for Title and Section.  Many thanks to Jeannie for helping with creating these templates.<\/p>\n<p>So far I\u2019ve implemented the templates in the \u201cback half\u201d of my site \u2013 the less visited sections <a href=\"http:\/\/zingman.com\/mmedia\" target=\"blank\" rel=\"noopener\">Multimedia<\/a>, <a href=\"http:\/\/zingman.com\/movz\" target=\"blank\" rel=\"noopener\">Movies<\/a>, <a href=\"http:\/\/zingman.com\/art\" target=\"blank\" rel=\"noopener\">Art<\/a>, and <a href=\"http:\/\/zingman.com\/spew\" target=\"blank\" rel=\"noopener\">Spew<\/a>. Now that I know it\u2019s working, I\u2019ll be getting around to the rest of the site in the next few days.  In the meanwhile, please alert me if you come across any broken links while the transition is on.  The payoff is, going forward, if I want to for example add a new section, I can just update the footer file with the new link rather than having to go in and edit every single page.  Now the real fun begins.  Soon I will begin going thru my sub-pages to create more sophisticated reusable content blocks and begin serving more and more parts of the site dynamically.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that fears over the Y2K bug have pretty much calmed down I figured it would be a good time to upgrade my web site to use some good ol\u2019 fashion 21st century web technology. I\u2019ve begun adding dynamic elements to my pages using PHP. The high-level goal is to make the site more template &hellip; <a href=\"https:\/\/www.zingman.com\/blog\/2009\/08\/11\/zingman-site-upgrade\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Zingman Site Upgrade&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-658","post","type-post","status-publish","format-standard","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/posts\/658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/comments?post=658"}],"version-history":[{"count":0,"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/posts\/658\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/media?parent=658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/categories?post=658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zingman.com\/blog\/wp-json\/wp\/v2\/tags?post=658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}