<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NeonBlue Dreams &#187; Web development</title>
	<atom:link href="http://neonblueweb.co.uk/dreams/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://neonblueweb.co.uk/dreams</link>
	<description>Living on the edge looking in - the random ramblings of a geek girl</description>
	<lastBuildDate>Tue, 19 Jan 2010 21:45:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Time management and modern web design</title>
		<link>http://neonblueweb.co.uk/dreams/2008/03/05/time-management-and-modern-web-design/</link>
		<comments>http://neonblueweb.co.uk/dreams/2008/03/05/time-management-and-modern-web-design/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 00:39:11 +0000</pubDate>
		<dc:creator>Rachel</dc:creator>
				<category><![CDATA[Geeky stuff]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://neonblueweb.co.uk/dreams/2008/03/05/time-management-and-modern-web-design/</guid>
		<description><![CDATA[A few days ago Gill over at JBVoices posted a blog entry about a graphic she&#8217;d happened upon on the web, showing a pie chart of a time breakdown for modern web design which had amused her greatly. It amused me too.

For those requiring a text version of the image, the breakdown reads thus:
2% &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago Gill over at <a href="http://www.jbvisions.co.uk/voices/archives/112">JBVoices</a> posted a blog entry about a graphic she&#8217;d happened upon on the web, showing a pie chart of a time breakdown for modern web design which had amused her greatly. It amused me too.</p>
<p><a href="http://i236.photobucket.com/albums/ff100/imagercc1/archive/page6/modernwebdesign_700.jpg"><img src="http://www.neonblueweb.co.uk/dreams/images/modern_web_design.jpg" style="width: 106.288px; height: 68.5559px" class="border right" alt="pie chart" height="129" width="200" /></a></p>
<p>For those requiring a text version of <a href="http://i236.photobucket.com/albums/ff100/imagercc1/archive/page6/modernwebdesign_700.jpg" title="Direct link to the image on Photobucket">the image</a>, the breakdown reads thus:</p>
<blockquote><p>2% &#8211; Time spent actually designing anything<br />
35% &#8211; Time spent trying to get the layout to work using only CSS before giving up and using tables<br />
8% &#8211; Swearing<br />
2% &#8211; Time Spent making the site W3C compliant<br />
43% &#8211; Time spent trying to get the bastard to work in Internet (expletive deleted) Explorer<br />
5% &#8211; Time spent wishing a slow and painful death on Bill Gates plus more swearing<br />
5% &#8211; Time spent looking for that one extra space in the Javascript that Firefox is throwing a wobbler over<br />
<cite><a href="http://www.jbvisions.co.uk/voices/archives/112">JBVoices</a></cite></p></blockquote>
<p>My own breakdown would differ somewhat I have to say, partly on the grounds that I hate JavaScript with a vengeance, and I&#8217;m crap at writing it (as I&#8217;m sure my <abbr title="Open University">OU</abbr> tutors would agree), and do not have the time or resources to check it&#8217;s accessible in all situations/combinations of browsers/assistive technologies, so it&#8217;s easier to avoid it and achieve the same effect using other methods (e.g. <abbr title="Cascading Style Sheets">CSS</abbr>). For me therefore I&#8217;d replace the JavaScript with PHP.</p>
<p>As Gill also said in her entry, being the stubborn cow that I am, I refuse to resort to tables, and will chip away with CSS until it damned-well works, and I have to say I must be doing something right, as under the skilled tutorage of <a href="http://www.jbvisions.co.uk/voices/">Gill</a>, <a href="http://asbocat.blogspot.com/">Carol</a> and <a href="http://www.littleblueplane.com/">Helena</a> when I jumped in feet-first and launched myself from M$ Frontpage into &#8220;doing things properly&#8221;, I developed a fairly good grasp of CSS, and recently something&#8217;s obviously &#8220;clicked&#8221;, because I&#8217;ve been finding CSS layouts a lot less time consuming to initially put together (though that&#8217;s not to say that I don&#8217;t spend ages tweaking things here and there to accommodate <abbr title="Internet Explorer">horrible browsers</abbr> and generally knock things into shape.</p>
<p>There are also a couple of differences in my method of working, and the stuff I end up lumbered doing, so without further ado (I obviously had far too much time on my hands that day!), here&#8217;s my very own version of &#8220;Time management and modern web design&#8221;&#8230;</p>
<p><a href="http://www.neonblueweb.co.uk/dreams/images/time_management.jpg" title="Full sized image"><img src="http://www.neonblueweb.co.uk/dreams/images/time_management_thumb.jpg" class="border left" alt="pie chart" height="145" width="250" /></a></p>
<p>And, again, the text version&#8230;</p>
<ul>
<li>2% &#8211; Time spent actually designing anything</li>
<li>18% &#8211; time spent trying to get the layout to work</li>
<li>8% &#8211; swearing</li>
<li>12% &#8211; time spent making the site W3C/WAI compliant and checking accessibility</li>
<li>14% &#8211; time spent trying to get the bastard to work in Internet (expletive deleted) Explorer</li>
<li>6% &#8211; time spent wishing a slow and painful death on Bill Gates plus more swearing</li>
<li>5% &#8211; time spent looking for the semi-colon in the PHP the server&#8217;s throwing a wobbler over</li>
<li>6% &#8211; time spent staring blankly at the screen, waiting for inspiration to strike/wandering the web in search of inspiration</li>
<li>5% &#8211; deciding which colour scheming tool to use/deciding a colour scheme</li>
<li>1% &#8211; changing all the CSS for the new colour scheme I&#8217;ve just changed my mind over</li>
<li>5% &#8211; Searching for accessible/compliant [insert name of widget/feature here] script/searching for prior bookmarked script</li>
<li>4% &#8211; Trying to make sense of the client&#8217;s latest vague design request</li>
<li>5% &#8211; Searching for stock images to replace rubbish ones provided by client/to meet request, &#8220;Oh just put whatever you think there!&#8221;</li>
<li>4% &#8211; Time spent correcting appalling images supplied by client</li>
<li>2% &#8211; Time spent on phone beating client into submission over appalling design request</li>
<li>1% &#8211; Time spent deciding on suitable music for coding to (essential to the design process)</li>
<li>1% &#8211; Time spent wishing real life was more like &#8220;Hackers&#8221; and I zoomed around on roller skates</li>
<li>1% &#8211; Wishing I&#8217;d chosen something easier for a career&#8230;like brain surgery <img src='http://neonblueweb.co.uk/dreams/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
</ul>
<p>Of course, hurling obscenities at the screen comes as an optional extra with all the categories, possibly with the exception of the talking to the client on the phone, as they tend to get a bit miffed if you start swearing at them&#8230;</p>
<p>&#8230;and of course like 67% of all statistics, these figures are dreamt up on the spot. <img src='http://neonblueweb.co.uk/dreams/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://neonblueweb.co.uk/dreams/2008/03/05/time-management-and-modern-web-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Woo hoo! I didded it! (and a rather nifty PHP include menu)</title>
		<link>http://neonblueweb.co.uk/dreams/2008/02/12/woo-hoo-i-didded-it-and-a-rather-nifty-php-include-menu/</link>
		<comments>http://neonblueweb.co.uk/dreams/2008/02/12/woo-hoo-i-didded-it-and-a-rather-nifty-php-include-menu/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 00:10:09 +0000</pubDate>
		<dc:creator>Rachel</dc:creator>
				<category><![CDATA[Geeky stuff]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://neonblueweb.co.uk/dreams/2008/02/12/woo-hoo-i-didded-it-and-a-rather-nifty-php-include-menu/</guid>
		<description><![CDATA[It feels like ages since I&#8217;ve done a site from scratch &#8211; just lately all I seem to have been working on is re-designs and re-brandings, so it&#8217;s made a nice change to get back to doing some original design work, and this weekend I finished off a one-page sample for a client. The basic [...]]]></description>
			<content:encoded><![CDATA[<p>It feels like ages since I&#8217;ve done a site from scratch &#8211; just lately all I seem to have been working on is re-designs and re-brandings, so it&#8217;s made a nice change to get back to doing some original design work, and this weekend I finished off a one-page sample for a client. The basic design&#8217;s there, and I have to say I&#8217;m pretty pleased with it, though I&#8217;ve not finished putting in all the various  PHP includes that make life so much easier further down the line if you have to add in pages etc. to the navigation that you hadn&#8217;t accounted for.</p>
<p>One of my favourites of these is a rather nifty PHP include menu which means you can use an include for your navigation list, but still have the current page highlighted in the site&#8217;s navigation, without needing extra markup like adding an ID to the &#8216;body&#8217; element. I can&#8217;t accept the credit for this one because it&#8217;s not something I coded, but I&#8217;ve been using it for so long now that I can&#8217;t remember where I first found it.</p>
<p>All you need is two bits for the navigation; your unordered list for your navigation, which of course you can style in any way you so desire using  CSS, and a tiny little PHP snippet. First you&#8217;ve got your unordered list (I save mine as &#8216;menu.html&#8217;):</p>
<p><pre class="brush: html">&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;mylink1.php&quot;&gt;Link 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;mylink2.php&quot;&gt;Link 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;mylink3.php&quot;&gt;Link 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;mylink4.php&quot;&gt;Link 4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;mylink5.php&quot;&gt;Link 5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; </pre><br />
 Then all you need&#8217;s your PHP snippet:</p>
<p><pre class="brush: php">&lt;br /&gt;
 &lt; ?php&lt;br /&gt;
 $menu = file_get_contents(&quot;menu.html&quot;);&lt;br /&gt;
 $menu = preg_replace(&quot;|
&lt;li&gt;&lt;a href=\&quot;&quot; . basename($_SERVER[&#039;PHP_SELF&#039;]) . &quot;\&quot;&gt;(.*)]+&gt;|U&quot;, &quot;
&lt;li class=\&quot;current\&quot;&gt;$1&lt;/li&gt;
&lt;p&gt;&quot;, $menu);&lt;br /&gt;
 echo $menu;&lt;br /&gt;
 ?&gt;&lt;br /&gt;
 </pre></p>
<p>Just place the PHP snippet within your page wherever you want to display your menu.</p>
<p>What does it do? It simply uses &#8216;preg_replace&#8217; to take your menu, find the link to the current page (basename($_SERVER['PHP_SELF'])), and then remove the &#8216;a&#8217; tags to remove the clickability for the current page (visitors don&#8217;t need to click it because they&#8217;re already there), and give the &#8216;li&#8217; tag a class (&#8217;current&#8217;) and print out the menu on the page. Of course then you can style the &#8216;current&#8217; class in whatever way you choose with CSS. Though the same thing can be done using the cascade and CSS, that involves using extra markup (adding an &#8216;id&#8217; to the body and list (&#8217;li&#8217;) elements), and of course you have to remember to change the body &#8216;id&#8217; for each page, and adding extra markup to the HTML and CSS seems a lot more cumbersome than this nifty little PHP snippet that does the job without any extra effort on your part. That&#8217;s the sort of code I like!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://neonblueweb.co.uk/dreams/2008/02/12/woo-hoo-i-didded-it-and-a-rather-nifty-php-include-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeling kinda&#8230;</title>
		<link>http://neonblueweb.co.uk/dreams/2008/02/09/feeling-kinda/</link>
		<comments>http://neonblueweb.co.uk/dreams/2008/02/09/feeling-kinda/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 21:16:34 +0000</pubDate>
		<dc:creator>Rachel</dc:creator>
				<category><![CDATA[Health]]></category>
		<category><![CDATA[Open University]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://neonblueweb.co.uk/dreams/2008/02/09/feeling-kinda/</guid>
		<description><![CDATA[&#8230;like sh*t at the moment. My brain&#8217;s having one of those &#8220;off&#8221; days when all the pings are bad and if someone ran a tracecert on my thought processes at the moment they&#8217;d be looking at response times in the order of minutes rather than milliseconds.
When my pressure&#8217;s high I have these weird kind of [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;like sh*t at the moment. My brain&#8217;s having one of those &#8220;off&#8221; days when all the pings are bad and if someone ran a tracecert on my thought processes at the moment they&#8217;d be looking at response times in the order of minutes rather than milliseconds.</p>
<p>When my pressure&#8217;s high I have these weird kind of absences where I&#8217;m aware of what&#8217;s going on around me, but it doesn&#8217;t make much sense to me, and I have trouble responding to things. The first time it happened not long after I was diagnosed with IIH my mum thought I&#8217;d had a stroke or something.  It&#8217;s so frustrating because it&#8217;s as though something else takes over my body, something I don&#8217;t have any control over.</p>
<p><img src="http://www.neonblueweb.co.uk/dreams/images/brain_scan.jpg" class="border right" alt="homer simpson MRI scan" height="189" width="157" /></p>
<p>The OU course I&#8217;m doing at the moment, it&#8217;s a level 1 course for christ&#8217;s sake! I should be able to do it standing on my head, and the first couple of assignments I got marks in the 90&#8217;s. Come the third assignment though, the programming one, and everything I ever knew goes out of my head. My brain&#8217;s like this tiny little walnut rattling around in my head. Okay, I hate javascript with a vengeance, and I very rarely use it, mainly due to the accessibility problems with it, but having done javascript before I <em>should</em> know this stuff &#8211; it&#8217;s basic &#8216;while&#8217; and &#8216;for&#8217; loops. Throw in a few conditionals and the job&#8217;s a good one, but my brain just isn&#8217;t making the connections. Too many bad pings.</p>
<p>I&#8217;ve never really fully got to grips with javascript, I&#8217;m much more at home with PHP, and with javascript even after the previous javascript courses I&#8217;ve done, though I knew enough to know what it was doing when I saw it, I&#8217;ve always struggled actually writing it myself. This isn&#8217;t even complicated stuff though, and it&#8217;s so damned frustrating because at times I feel I&#8217;m nearly there and it almost comes, but I just can&#8217;t get the final pieces of the puzzle together and actually get the program working. I don&#8217;t think I&#8217;m a natural programmer. I haven&#8217;t got the patience for bug hunting, and my code tends to be more of a ramshackle Heath Robinson kind of affair rather than the &#8220;elegant code&#8221; that real programmers talk about.</p>
<p>I&#8217;m giving this assignment one more try tonight though in the hope that something will connect, for tomorrow it&#8217;s back to designing, and the day begins with a load of Photoshopping to try and rescue some half decent photos from a load of complete rubbish I&#8217;ve been sent for a site.</p>
<p>Like they say; tomorrow&#8217;s another day.</p>
]]></content:encoded>
			<wfw:commentRss>http://neonblueweb.co.uk/dreams/2008/02/09/feeling-kinda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
