<?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>Jeremy Smyth's Blog &#187; Web</title>
	<atom:link href="http://jeremysmyth.com/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeremysmyth.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Aug 2010 12:07:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Feature requests: discuss, implement, or reject/deny?</title>
		<link>http://jeremysmyth.com/2010/03/23/feature-requests-discuss-implement-or-rejectdeny/</link>
		<comments>http://jeremysmyth.com/2010/03/23/feature-requests-discuss-implement-or-rejectdeny/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 19:12:13 +0000</pubDate>
		<dc:creator>Jeremy Smyth</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Feature Requests]]></category>

		<guid isPermaLink="false">http://jeremysmyth.com/?p=215</guid>
		<description><![CDATA[I work in another publicly accessible community, where bug reports and feature requests are happily solicited from the userbase.
We have thousands of open idea requests (the codebase is nearing 20 years old), and close only a sizeable fraction of those opened regularly.
From our perspective, the idea requests are welcome, but not all of them are [...]]]></description>
			<content:encoded><![CDATA[<p>I work in another publicly accessible community, where bug reports and feature requests are happily solicited from the userbase.</p>
<p>We have <em>thousands</em> of open idea requests (the codebase is nearing 20 years old), and close only a sizeable fraction of those opened regularly.</p>
<p>From our perspective, the idea requests are welcome, but not all of them are actionable; some are brilliant, and are implemented immediately because they work well with our vision; some are entirely incompatible and are closed/denied.</p>
<p>The majority fit in between; they&#8217;re ideas that would work with a bit of tweaking, or a bit of thought, but aren&#8217;t necessarily on the primary development roadmap, so don&#8217;t get our attention immediately. Nor do they warrant closing, because they are relevant, merely not timely or important.</p>
<p>Because our developers have their own ideas, their own neverending todo lists, we treat the open idea pile more as inspiration than as a roadmap. There&#8217;s very much a feeling of &#8220;we&#8217;ll get to it when we&#8217;ve run out of other things to do&#8221;, but this never happens in practice.</p>
<p>I know it&#8217;s a cop-out not to choose one or the other, but I think it&#8217;s a normal thing to have to choose between two equally bad things in a public forum like this: either responding to most feature requests with a &#8220;denied&#8221;, and so risk upsetting the folk who love the community enough to contribute with their own ideas; or leave some of them dangling because they&#8217;re not immediately and obviously wrong, but to do something worthwhile with them takes more time and effort than the idea deserves<em> right now</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysmyth.com/2010/03/23/feature-requests-discuss-implement-or-rejectdeny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML: Title Tooltips and Alt text</title>
		<link>http://jeremysmyth.com/2010/03/18/html-title-tooltips-and-alt-text/</link>
		<comments>http://jeremysmyth.com/2010/03/18/html-title-tooltips-and-alt-text/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 19:11:18 +0000</pubDate>
		<dc:creator>Jeremy Smyth</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://jeremysmyth.com/?p=227</guid>
		<description><![CDATA[Sadly, another one for the Internet Explorer Vs. Firefox debate.
It&#8217;s pretty well known that most browsers will display a tooltip of sorts when you hover over an image. The alt attribute of the img tag gives rise to that, in pretty much all places.
Lesser known is the title attribute, which is supposed to give the [...]]]></description>
			<content:encoded><![CDATA[<p>Sadly, another one for the Internet Explorer Vs. Firefox debate.</p>
<p>It&#8217;s pretty well known that most browsers will display a tooltip of sorts when you hover over an image. The <tt>alt</tt> attribute of the <tt>img</tt> tag gives rise to that, in pretty much all places.</p>
<p>Lesser known is the <tt>title</tt> attribute, which is <i>supposed</i> to give the tooltip; the <tt>alt</tt> attribute might do that as a side-effect if <tt>title</tt> isn&#8217;t there, but it&#8217;s just that: a side-effect. The <tt>alt</tt> attribute is really there to give browsers that aren&#8217;t displaying images (or screenreaders that can&#8217;t see them anyway) some idea of what the image is.</p>
<p>This separation of concerns is somewhat of a problem when it comes to image maps: in image maps, the <tt>alt</tt> text for the <tt>area</tt> elements is there for similar reasons, to show what options are there when the image isn&#8217;t there. The <tt>title</tt> attribute is there for the tooltip, as ever.</p>
<p>However, if both alt and title are there, Internet Explorer shows the alt text as a tooltip, where Firefox will show the title text. Although they serve very different functions, a conscientious web developer is forced to keep them identical, or risk causing problems for the non-standards-compliant behaviour of Internet Explorer.</p>
<p>Of course, <tt>title</tt> will still work in other places, for example on images or even links:</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">&quot;mypage.html&quot;</span> <span class="kw3">title</span><span class="sy0">=</span><span class="st0">&quot;My lovely page!&quot;</span>&gt;</span>My Page<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a>&gt;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jeremysmyth.com/2010/03/18/html-title-tooltips-and-alt-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delving into the XHTML 1.1 DTD</title>
		<link>http://jeremysmyth.com/2010/03/16/delving-into-the-xhtml-1-1-dtd/</link>
		<comments>http://jeremysmyth.com/2010/03/16/delving-into-the-xhtml-1-1-dtd/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 15:11:52 +0000</pubDate>
		<dc:creator>Jeremy Smyth</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[DOCTYPE]]></category>
		<category><![CDATA[DTD]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://jeremysmyth.com/?p=217</guid>
		<description><![CDATA[So, you&#8217;re looking at the top of a web page&#8217;s source code, and you see something like this:


&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.1//EN&#34; 
 &#160; &#34;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&#34;&#62;


What&#8217;s the relationship between that and the actual code in the web page?
Well, a DOCTYPE tag declares what document type this webpage is, by formally specifying a Document Type Descriptor [...]]]></description>
			<content:encoded><![CDATA[<p>So, you&#8217;re looking at the top of a web page&#8217;s source code, and you see something like this:</p>
<pre>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc0">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; </span>
<span class="sc0"> &nbsp; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;</span></div>
</div>
</pre>
<p>What&#8217;s the relationship between that and the actual code in the web page?</p>
<p>Well, a DOCTYPE tag declares what <em>document type</em> this webpage is, by formally specifying a <em>Document Type Descriptor</em> (that&#8217;s what the &#8220;dtd&#8221; in the filename and in the declaration means). This is the formal specification, written in its own computer language, used to define legal dialects of languages descended from SGML. Most predominantly, this includes languages like HTML 4.01 and XHTML. Hence this walkthrough.</p>
<p>In our specific case, it references a specification for XHTML, which is a modular XML-expressed version of HTML. Let&#8217;s look inside.</p>
<p>Firstly, if we look in the declaration, we see the link &#8220;<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">&#8220;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&#8221;</a> which, if you download it, shows the DTD itself. For XHTML, this is a relatively short document; the specification largely consists of modules, referenced from this document. Let&#8217;s have a look.</p>
<p>Within the DTD, you&#8217;ll see this section (around line 121):</p>
<pre>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc-1">&lt;!-- Text Module (Required) &nbsp;..................................... --&gt;</span>
<span class="sc2">&lt;!ENTITY % xhtml-<span class="kw3">text</span>.module <span class="st0">&quot;INCLUDE&quot;</span> &gt;</span>
<span class="sc2">&lt;!<span class="br0">&#91;</span>%xhtml-<span class="kw3">text</span>.module;<span class="br0">&#91;</span></span>
<span class="sc2">&lt;!ENTITY % xhtml-<span class="kw3">text</span>.mod</span>
<span class="sc2"> &nbsp; &nbsp; PUBLIC <span class="st0">&quot;-//W3C//ELEMENTS XHTML Text 1.0//EN&quot;</span></span>
<span class="sc2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-text-1.mod&quot;</span> &gt;</span>
%xhtml-text.mod;]]&gt;</div>
</div>
</pre>
<p>This defines a module to be included, which itself is a technically part of the DTD as it is INCLUDEd.</p>
<p>If you navigate to the included module, <a href="http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-text-1.mod">&#8220;http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-text-1.mod&#8221;</a>, you&#8217;ll see a further set of INCLUDEd items, for example:</p>
<pre>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;!ENTITY % xhtml-inlstruct.module <span class="st0">&quot;INCLUDE&quot;</span> &gt;</span>
<span class="sc2">&lt;!<span class="br0">&#91;</span>%xhtml-inlstruct.module;<span class="br0">&#91;</span></span>
<span class="sc2">&lt;!ENTITY % xhtml-inlstruct.mod</span>
<span class="sc2"> &nbsp; &nbsp; PUBLIC <span class="st0">&quot;-//W3C//ELEMENTS XHTML Inline Structural 1.0//EN&quot;</span></span>
<span class="sc2"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;xhtml-inlstruct-1.mod&quot;</span> &gt;</span>
%xhtml-inlstruct.mod;]]&gt;</div>
</div>
</pre>
<p>This entry includes the inline structural elements br and span, and further down the document we have more included modules containing inline phrasal elements (em, strong etc.), block structural (p and div), and block phrasal (h1, h2 etc.).</p>
<p>Try them:</p>
<ul>
<li> <a href="http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlstruct-1.mod">xhtml-inlstruct-1.mod</a>
<li> <a href="http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-inlphras-1.mod">xhtml-inlphras-1.mod</a>
<li> <a href="http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkstruct-1.mod">xhtml-blkstruct-1.mod</a>
<li> <a href="http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-blkphras-1.mod">xhtml-blkphras-1.mod</a>
</ul>
<p>In each, you&#8217;ll see the definitions for tags such as p, div, code, strong, em and so on.</p>
<p>For comparison, have a look at the HTML 4.01 DTD, which you&#8217;ll be able to follow using the DOCTYPE:</p>
<pre>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc0">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;</span>
<span class="sc0"> &nbsp; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;</span></div>
</div>
</pre>
<p>&#8230;and linked to from here: <a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>. As you&#8217;ll see, it&#8217;s not quite modular, but still contains code defining the elements (and their contents, attributes and so on) that are legal within the dialect concerned.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysmyth.com/2010/03/16/delving-into-the-xhtml-1-1-dtd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quality of Service: Hosting</title>
		<link>http://jeremysmyth.com/2009/10/15/quality-of-service-of-service-hosts/</link>
		<comments>http://jeremysmyth.com/2009/10/15/quality-of-service-of-service-hosts/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 21:48:14 +0000</pubDate>
		<dc:creator>Jeremy Smyth</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://jeremysmyth.com/?p=205</guid>
		<description><![CDATA[There are several useful QoS parameters, although not all are as easily measured as e.g. 99.98% uptime, which is easily derived &#8211; 99.98% of the time, your server is available. 
Some other useful metrics:

 What sort of bandwidth do they support? How about if it&#8217;s a shared pipe and they&#8217;ve multiple high-volume clients? You&#8217;re unlikely [...]]]></description>
			<content:encoded><![CDATA[<p>There are several useful QoS parameters, although not all are as easily measured as e.g. 99.98% uptime, which is easily derived &#8211; 99.98% of the time, your server is available. </p>
<p>Some other useful metrics:</p>
<ul>
<li> What sort of bandwidth do they support? How about if it&#8217;s a shared pipe and they&#8217;ve multiple high-volume clients? You&#8217;re unlikely to get an honest answer to this from the vendor.</li>
<li> If you&#8217;re on a shared host, what sort of competition for resources will you have on the box? Again, this is competitive information, so you&#8217;re unlikely to get an honest response.</li>
<li> How independent is each application? i.e. if another application on a co-hosted box loops MySQL, will your app suffer?</li>
<li> How often do they upgrade dependencies, and does that affect their 99.98% uptime?</li>
</ul>
<p>Then there are the fluffy not-entirely-QoS related hosting problems:</p>
<ul>
<li> Will they do your backups etc.?</li>
<li> How responsive are they to queries? Do they have a guaranteed response time e.g. 3 hours from first email to first response, 24/7?</li>
<li> Are they efficient? Have they resolved issues within a useful timeframe? A quick response-time is nice and feelgood, but if they don&#8217;t fix the problem, that&#8217;s not quite so good!</li>
<li> Are they patient with you when you suggest issues, but due to your own technical background are slightly off-base?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jeremysmyth.com/2009/10/15/quality-of-service-of-service-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
