{"id":229,"date":"2007-08-14T09:36:31","date_gmt":"2007-08-14T08:36:31","guid":{"rendered":"http:\/\/www.malcolmhardie.com\/weblogs\/angus\/2007\/08\/14\/site-redesign\/"},"modified":"2025-02-01T03:04:16","modified_gmt":"2025-02-01T03:04:16","slug":"site-redesign","status":"publish","type":"post","link":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/2007\/08\/14\/site-redesign\/","title":{"rendered":"Site redesign"},"content":{"rendered":"<p>So, if you&#8217;ve visited the MalcolmHardie.com site today you&#8217;ll have seen the new site design.<\/p>\n<p><strong>It&#8217;s Blue.<\/strong><\/p>\n<p>But that&#8217;s not all. The layout structure of each page has been substantially changed (for the first time since 2004, I think)<br \/>\n. The new 2 column design is also wider (960px) and offers more flexibility than the old 3 column design. There are new graphics and section headings and a new about page (with a message from me!).<br \/>\nThe MalcolmHardie logo has been used in a reversed white on blue form, which I think worked out quite well and the main body is black\/dark gray 13px Lucida Grande on a white background. (With Verdana as the second choice)<\/p>\n<p>The content management has also been improved. The whole site is now a sort of wiki. Although it is somewhat static as wikis go. Each web page is now a wiki page that is rendered when necessary to deliver the page. Page expiry dates match the wiki source document expiry and all of the meta-data is cached into a database so that things like recently changed lists can be generated. The next iteration of the system may also cache the text as well.<\/p>\n<p>Apache is configured to serve the wiki pages only after any existing index pages, so the whole thing can be switched to static html without recoding (if necessary).<\/p>\n<p>There were several things that I really wanted to do with the re-design.<\/p>\n<p>The first, obviously, was to get the web2.0 thing going. The first step in the design process was therefore to identify the gradient that I wanted to use. The blue\/blue gradient seemed to be a good choice here. Although I didn&#8217;t in the end go for reflection or glass effects, several prototypes had glass effects. \ud83d\ude09<\/p>\n<p>The second was to serve html pages as html pages with a .html extension. Which was achieved (mostly)<\/p>\n<p>The third thing was to clean up the arrangement of the site, previously there had been a mix of systems used to generate content from an interesting (but probably obsolete) attempt at a php visual class library, through ordinary php to finally plain html. The new wiki style system is consistent across the site. (I&#8217;m hoping that this will last)<\/p>\n<p><strong>Software <\/strong><\/p>\n<p>The site is written in php and uses a mysql database (standard, boring even!)<\/p>\n<p>I used the PEAR Text_Wiki classes to handle the wiki side of things.<\/p>\n<p>The wiki dialect is Text_Wiki default with extra classes to do php includes and page meta data in the same document.<\/p>\n<p><strong>Things I hope to improve<\/strong><\/p>\n<p>At the moment there are some limitations to the wiki syntax. This means there are more blocks of raw php and html than I want. Eventually I hope to write some more wiki plugins to reduce this<\/p>\n<p>Another area that could be improved is the concept of relative pages within the site. Currently the wiki links are hierarchical with the full link required each time.<\/p>\n<p>I&#8217;m very interested to know if you like the new design. Feel free to send me <a href=\"mailto:angus@malcolmhardie.com\">email<\/a> or add a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, if you&#8217;ve visited the MalcolmHardie.com site today you&#8217;ll have seen the new site design. It&#8217;s Blue. But that&#8217;s not all. The layout structure of each page has been substantially changed (for the first time since 2004, I think) . The new 2 column design is also wider (960px) and offers more flexibility than the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-company-news","category-internet-stuff"],"_links":{"self":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":1,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":1468,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/229\/revisions\/1468"}],"wp:attachment":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}