{"id":2495,"date":"2005-05-10T14:19:31","date_gmt":"2005-05-10T14:19:31","guid":{"rendered":"http:\/\/www.yummy-wakame.com\/archives\/2005\/05\/10\/\/"},"modified":"2016-10-07T09:52:09","modified_gmt":"2016-10-07T09:52:09","slug":"php","status":"publish","type":"post","link":"https:\/\/yummy-wakame.com\/weblog\/2005\/05\/php\/","title":{"rendered":"PHP"},"content":{"rendered":"<p><strong><em>&#8220;One reason for this explosive growth is that PHP is free and open source. It&rsquo;s also a relatively easy language to learn and the de facto standard for developers creating dynamic Web pages. But it is also perfectly suited for deploying CSS and many other Web technologies.&#8221;<\/em><\/strong><\/p>\n<p><a href=\"http:\/\/www.digital-web.com\/articles\/generating_dynamic_css_with_php\/\" rel=\"external\"><strong>Generating Dynamic CSS with PHP<\/strong><\/a><br \/>One of the things I&#8217;ve done with the new yummy wakame (I know I know, it will be launched eventually!) is used PHP in my main stylesheet. This is because each section has identical styles, but a different colourscheme. So at the top of each page (in a section server side include) I declare new values for the colour variables that page will use, and the stylesheet looks for these values when it&#8217;s loaded, filling in the colours where Ive put placeholders. This way I can avoid creating separate stylesheets for each section, keeping the site size down to a minimum, and eliminating the need to make changes across a whole bunch of stylesheets every time I make a small change.<\/p>\n<p>Anyway, <a href=\"http:\/\/www.digital-web.com\/articles\/generating_dynamic_css_with_php\/\" rel=\"external\">I found this article today which explains how it&#8217;s done.<\/a> I wish I&#8217;d found it before when I originally got the idea months back. This one does it in a different way though&#8230; but it works just as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;One reason for this explosive growth is that PHP is free and open source. It&rsquo;s also a relatively easy language to learn and the de facto standard for developers creating dynamic Web pages. But it is also perfectly suited for deploying CSS and many other Web technologies.&#8221; Generating Dynamic CSS with PHPOne of the things [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[212,276,277,238],"tags":[399],"class_list":["post-2495","post","type-post","status-publish","format-standard","hentry","category-blogalog","category-css","category-php","category-web-development","tag-web-development"],"_links":{"self":[{"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/posts\/2495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/comments?post=2495"}],"version-history":[{"count":0,"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/posts\/2495\/revisions"}],"wp:attachment":[{"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/media?parent=2495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/categories?post=2495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yummy-wakame.com\/weblog\/wp-json\/wp\/v2\/tags?post=2495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}