<?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>AlastairC &#187; Web Apps</title>
	<atom:link href="http://alastairc.ac/category/web-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://alastairc.ac</link>
	<description>Kything web interactions</description>
	<lastBuildDate>Fri, 23 Jul 2010 18:06:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>An unimportant hole in Section 508?</title>
		<link>http://alastairc.ac/2009/07/an-unimportant-hole-in-section-508/</link>
		<comments>http://alastairc.ac/2009/07/an-unimportant-hole-in-section-508/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 22:16:00 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://alastairc.ac/?p=497</guid>
		<description><![CDATA[Mike Paciello recently pointed to an article that <q cite="http://twitter.com/mpaciello/statuses/2557091286" title="mpaciello's tweet">says Section 508 inefficient for CMS and web development tools</q>. This matches what I would expect, however, I discovered the article has it the opposite way round.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.paciellogroup.com/">Mike Paciello</a> recently pointed to an article that <q cite="http://twitter.com/mpaciello/statuses/2557091286" title="mpaciello's tweet">says Section 508 inefficient for CMS and web development tools</q>. This matches what I would expect, however, I discovered the article has it the opposite way round.</p>
<p>According to Peter Abrahams, Section 508:</p>
<blockquote cite="http://www.it-analysis.com/blogs/Abrahams_Accessibility/2009/7/a_hole_in_section_508.html" title="A hole in section 508, by Peter Abrahams"><p>only considers the accessibility of the product and not the accessibility of any outputs of the product. This means that website development tools, Content Management tools, document creation tools or any other tool that produces output that may be viewed electronically can conform to section 508 but none of their outputs do. </p></blockquote>
<p>A few years ago most <abbr title="Content Management System">CMS</abbr> products were atrocious both front and back end, providing hard-coded tag-soup and inaccessible interfaces. (From a personal point of view, that is what lead to the development of <a href="http://www.defacto-cms.com">Defacto</a>, consider that my bias.)</p>
<p>However, most <abbr title="Content Management System">CMS</abbr>s have improved on the front-end, allowing developers to create websites that don&#8217;t break all the <a href="http://www.w3.org/TR/WCAG20/"><abbr title="Web Content Accessibility Guidelines">WCAG</abbr> guidelines</a>. (Although often they put a lot of obstacles in the way, and developers don&#8217;t always manage to get around them.) </p>
<p>What is almost a universal failure in the <abbr title="Content Management System">CMS</abbr> market is the authoring interfaces. I&#8217;ve tested many, and the bigger the name, the worse the accessibility of the back-end is.</p>
<p>Maybe things are different in the US market, but somehow I doubt it. CMS vendors have conglomerated quickly in the last few years, and interface quality does not seem to be the deciding factor in which survive. Generally the accessibility of the authoring interface is overlooked by almost every buyer, except the more stringent Government or Disability Charities, who then discover they have no choice but to buy inaccessible software.</p>
<p>Perhaps there is a hole in the Section 508 laws, but the result isn&#8217;t what Mr Abrahams has suggested, and I&#8217;d recommend checking into the lesser know but just as important <a href="http://www.w3.org/WAI/intro/atag.php">Authoring Tools Guidelines</a>.</p>
<p>The article implies that <abbr title="Content Management System">CMS</abbr> vendors have no need to worry about the websites that are produced by their product. However, what has been effective is the commercial pressure of their clients demanding the ability to create accessible websites. Publicly facing websites are highly visible, if only that sort of pressure could be applied to the back-end interfaces, we&#8217;d have many better CMS products.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2009/07/an-unimportant-hole-in-section-508/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Django &#8211; Local vs Live error</title>
		<link>http://alastairc.ac/2009/04/django-local-vs-live-error/</link>
		<comments>http://alastairc.ac/2009/04/django-local-vs-live-error/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 16:07:18 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://alastairc.ac/?p=468</guid>
		<description><![CDATA[<p>I came across a strange error using Django when putting something live that I couldn&#8217;t find via google, so hopefully this will help anyone in the same position.  When I put some new code live (to allow members to enter events), it errored with:</p>
'str' object has no attribute '_default_manager'<p>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I came across a strange error using Django when putting something live that I couldn&#8217;t find via google, so hopefully this will help anyone in the same position.  When I put some new code live (to allow members to enter events), it errored with:</p>
<pre>'str' object has no attribute '_default_manager'</pre>
<p>On my local development server it was working fine, when the payment was confirmed the event saved the relation to each member.</p>
<p>The relevant bits of the models were:</p>
<pre>class Event(models.Model):
   ...
   entrants = models.ManyToManyField("members.Member", blank=True, null=True)

class Payment(models.Model):
   ...
   events = models.ManyToManyField("events.event", blank=True, null=True)</pre>
<p>Can you see the error? The views worked fine locally on the development server, saving the payment and adding the members to the entrants list of the event.</p>
<p>However, on the live site (Apache &amp; mod_python), it would give a type error:</p>
<pre>'str' object has no attribute '_default_manager'</pre>
<p>Confused, <a href="http://botland.oebfare.com/logger/django/2009/4/6/15/#19:20-1330926">I asked on IRC</a>, but apparently this sort of error is usually from having different code between local and live. I&#8217;m running from an SVN repository, this didn&#8217;t seem likely.</p>
<p>The other clue I had was that the admin area would give me an error when trying to look at payments. So, looking carefully at the model I spotted my mistake:</p>
<pre>events = models.ManyToManyField("events.<strong>e</strong>vent", blank=True, null=True)</pre>
<p>Capitalisation! The &#8216;Event&#8217; is the model name, and should be capitalised.</p>
<p>It&#8217;s just strange that the local server didn&#8217;t pick up the same issue?</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2009/04/django-local-vs-live-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
