<?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>thedeadone.net &#187; AJAX</title>
	<atom:link href="http://thedeadone.net/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://thedeadone.net</link>
	<description>Welcome to the Other Side</description>
	<lastBuildDate>Mon, 15 Feb 2010 05:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use Wordpress as a Forum (powered by TDOMF)!</title>
		<link>http://thedeadone.net/blog/use-wordpress-as-a-forum-powered-by-tdomf/</link>
		<comments>http://thedeadone.net/blog/use-wordpress-as-a-forum-powered-by-tdomf/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 05:30:54 +0000</pubDate>
		<dc:creator>Mark Cunningham</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[LiveJournal]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Bug Tracker]]></category>
		<category><![CDATA[TDO-Forum]]></category>
		<category><![CDATA[TDOMF]]></category>
		<category><![CDATA[thedeadone.net]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress-Plugins]]></category>
		<category><![CDATA[Wordress Theme]]></category>

		<guid isPermaLink="false">http://thedeadone.net/blog/use-wordpress-as-a-forum-powered-by-tdomf/</guid>
		<description><![CDATA[I&#8217;ve created a Wordpress Theme that turns Wordpress into a pretty powerful forum!  You can see it in action here (please check it out and tell me what you think!) It is currently using my TDO Mini Forms plugin to allow visitors start new topics without being turned into full-blown authors.
It works by treating [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>
<a href="http://thedeadone.net/wp-content/gallery/incidental/tdo-forum-screenshot1.jpg" title="" class="thickbox" rel="singlepic95" >
	<img class="ngg-singlepic ngg-right" src="http://thedeadone.net/wp-content/plugins/nextgen-gallery/nggshow.php?pid=95&amp;width=320&amp;height=240&amp;mode=" alt="tdo-forum-screenshot1.jpg" title="tdo-forum-screenshot1.jpg" />
</a>
I&#8217;ve created a <a HREF="http://codex.wordpress.org/Using_Themes">Wordpress Theme</a> that turns <a HREF="http://wordpress.org">Wordpress</a> into a pretty powerful forum! <a HREF="http://thedeadone.net/demos/tdof/"> You can see it in action here</a> (please check it out and tell me what you think!) It is currently using my <a HREF="http://thedeadone.net/software/tdo-mini-forms-wordpress-plugin/">TDO Mini Forms plugin</a> to allow visitors start new topics without being turned into full-blown authors.</p>
<p>It works by treating Categories as Forums and treating Posts with  omments as Topics. I&#8217;ve also built in a number of features to the theme:</p>
<ul>
<li>Lists Posts by date of last comment (instead of published date) (included as a page template)</li>
<li>Unread topics are highlighted and can be used to filter posts list (included as a page template)</li>
<li>A hierarchical Forum list (included as a page template)</li>
<li>AJAX Comment Preview (can be turned off)</li>
<li>Comment QuickTags (can be turned off)</li>
<li>Forum-looking Layout</li>
<li>Pages and Categories can be used as Tabs (configurable)</li>
<li>RSS 2.0 Feed of forum posts (can optionally be included in the theme or replace the main post RSS feed link)</li>
</ul>
<p>I also did some special integration with two popular plugins:</p>
<ul>
<li><a HREF="http://www.ilfilosofo.com/blog/2007/10/23/gravatar-plugin/">Filosofo&#8217;s WordPress Gravatar Plugin</a> so that users automatically have user-icons thanks to Gravatars.</li>
<li><a HREF="http://www.keyvan.net/code/paged-comments/">Paged Comments</a>. With Paged comments, I&#8217;ve done quite a bit of integration. If you enable this plugin with the theme, essentially the blog post (which is the first post in a topic) appears only on the first page of comments, not on every page of comments as if it was a blog. And it handles ascending and descending order too.</li>
</ul>
<p><span id="more-441"></span><br />
Why use Wordpress as a Forum instead of a Blogging Platform? Because Wordpress is pretty darn powerful and it&#8217;s more like a full CMS geared towards blogging. It has comment spam protection, a huge array of powerful plugins, tagging, RSS feeds and really easy to extend and customise. Why <em>not</em> use Wordpress as a Forum?</p>
<p>On the demo forum, with the aid of some plugins I&#8217;ve added OpenID support, email subscriptions for new topics and comments, and it pulls from my own blog the latest news about TDO Mini Forms (TDOMF) as new topics.</p>
<p>It uses TDOMF to supply the user posting forms for starting new topics but by it&#8217;s flexibility you can also have moderated forums and special custom posting forms. For example I&#8217;ve added a TDOMF support form that turns a forum/category it into a bug tracker and help request forum.</p>
<p>One of the things I was unable to do was to create a real private members-only forum as I couldn&#8217;t find a plugin that would lock down posts in a category. <a HREF="http://bluesome.net/post/2006/01/01/121/">disclose-secret</a> promises privacy settings for categories in a future version.</p>
<p>The other thing I wasn&#8217;t sure how to do was integrate the theme into an existing blog so that you could simply &#8220;add&#8221; a forum to your existing blog, but that&#8217;s a lot more tricky.</p>
<p>But a big warning, I&#8217;m not a web designer so the theme itself is not very pretty. I mostly styled it for spacing and layout. It&#8217;s pretty thin so it should be easy enough to turn into your own look and feel. It is still a work in progress and I plan to add some more features to it, in the coming days (weeks/months/whenever):</p>
<ul>
<li>Sticky Posts</li>
<li>XHTML compliant</li>
<li>An admin screen for the configuration options</li>
<li>A page template that allows user posting (so that the theme is genuinely standalone and doesn&#8217;t require TDOMF)</li>
</ul>
<p>The other interesting thing I could do is spin off the &#8220;features&#8221; I&#8217;d add to the theme as seperate plugins: Quoting Comments and Posts, AJAX Comment Preview, Comment Quicktags, Post and Comment RSS Feed, etc. For another rain day I think.</p>
<p>It was originally just a thought-exercise, inspired by these non-blog uses of Wordpress: <a HREF="http://wordpress.com/blog/2008/01/28/introducing-prologue/">Prologue</a> (a twitter clone) and <a HREF="http://thedesigncanopy.com/downloads/wp-contact-manager/">WP-Contact Manager</a> (an online address book). Each of theses is built using a theme, no changes to Wordpress. But the little project consumed me a bit and now I&#8217;m seriously considering it as a replacement for my <a HREF="http://thedeadone.net/forum">existing forum</a>.</p>
<p>If your interested in getting your hands on the theme or knowing more about how I did anything, please feel free to post on the demo forum or drop a comment below!</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://thedeadone.net/blog/use-wordpress-as-a-forum-powered-by-tdomf/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>My first AJAX!</title>
		<link>http://thedeadone.net/blog/my-first-ajax/</link>
		<comments>http://thedeadone.net/blog/my-first-ajax/#comments</comments>
		<pubDate>Fri, 20 Jan 2006 10:50:34 +0000</pubDate>
		<dc:creator>Mark Cunningham</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Ars-Magica]]></category>
		<category><![CDATA[MOC]]></category>
		<category><![CDATA[roleplaying]]></category>
		<category><![CDATA[Sajax]]></category>

		<guid isPermaLink="false">http://thedeadone.net/news/my-first-ajax/</guid>
		<description><![CDATA[It is an Enchanted Device Generator for Ars Magica (4th Edition). It&#8217;s built using PHP and Sajax which is a free AJAX toolkit. 
It&#8217;s been quite an enlightening experiment. The buzz and hype generated around AJAX is quite something, so I thought I&#8217;d give it a shot. I started with an idea, a simple script [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>It is an <a href="http://thedeadone.net/moc/wp-content/am-dev/">Enchanted Device Generator for Ars Magica (4th Edition)</a>. It&#8217;s built using PHP and <a href="http://www.modernmethod.com/sajax/">Sajax</a> which is a free AJAX toolkit. </p>
<p>It&#8217;s been quite an enlightening experiment. The buzz and hype generated around AJAX is quite something, so I thought I&#8217;d give it a shot. I started with an idea, a simple script that takes in a few values and does some calculations and presents the result to the user. But, I wanted the user to be able to tweak the values and see the results immediately. That sounds like something AJAX is perfect for.<br />
<span id="more-224"></span><br />
So the first thing I learnt as I started building the script and using Sajax was JavaScript. I used to avoid JavaScript like the plague. I know you can do some funky stuff but in my past experience, JavaScript slows down the user experience and can be very flaky across browsers. Still, what I learned was that I could have easily built my script using just JavaScript. </p>
<p>Yet AJAX would allow me to offload work from the browser to the server. Great, I thought, now I can do the calculations using PHP and just do all the text stuff using JavaScript. The snag I came across was that Sajax treated PHP as an intermediary interface. For example global variables defined in PHP were not accessible when a PHP function was called from JavaScript. Not alone that, only strings could be passed back from PHP. Rich types like arrays are not currently possible. I solved this by doing the calculations once, putting all the values in a string and then passing that string around when calling other PHP functions through Sajax.</p>
<p>It works now and I&#8217;m happy enough. One thing I noticed while I was working away, is that I started thinking about the script more as a User Interface than a webpage. I guess that’s what the hype is really about. All this Web 2.0 silliness. On the other hand, I found it hard to separate the HTML and CSS code and design from the JavaScript and PHP coding. If you look at the script, it&#8217;s very bare. I guess if you treat it like a UI, you&#8217;d do your &#8220;prototype&#8221; first and then add code.</p>
<p>Though I&#8217;ve come to love PHP, I have my reservations. While it&#8217;s a powerful feature to mix html and code, it always bugged me that you can write code that essentially modifies and generates code (in this case HTML, CSS and JavaScript). I guess I&#8217;m old fart but that use to be a no-no in the land of C and ASM (a land I know better than I want). It makes the code unreadable and un-maintainable. And I think often PHP is a little unreadable unless you have a syntax-aware editor or layout your code very well. I&#8217;m one of those &#8216;hardened programmers&#8217; that prefer basic text editors over IDEs (though I&#8217;ve been softened lately by JEdit). Still the idea of using AJAX to create entire UI-like interfaces is a little scary. You really need to think about design of your code to make it maintainable. Still, I like the potential of AJAX and the possible applications on webpage. On the other hand for small ideas, I could just use some JavaScript.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://thedeadone.net/blog/my-first-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
