<?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>Narnio&#187; Development</title>
	<atom:link href="http://www.narnio.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.narnio.com</link>
	<description>A day in the life of a software engineer</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:31:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Working on Ajax integration with WordPress</title>
		<link>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/</link>
		<comments>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 18:31:54 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=627</guid>
		<description><![CDATA[As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in WordPress, preferably native support. I know it should be possible, [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in <a  href="http://www.wordpress.org" target="_blank">WordPress</a>, preferably native support. I know it should be possible, but have yet been unsuccessful to get it working.</p>
<p>So what I&#8217;ve been doing is setting up a new action using <a  title="Reference page" href="http://codex.wordpress.org/Function_Reference/add_action" target="_blank">add_action </a>for the following two action types:</p>
<ul>
<li>wp_ajax_&lt;myaction&gt;</li>
<li>wp_ajax_nopriv_&lt;myaction&gt;</li>
</ul>
<p>According to the documentation that should generate a hook to support both registered users (wp_ajax_&lt;myaction&gt;) and unregistered users (wp_ajax_nopriv_&lt;myaction&gt;). Which sounds great, since my theme should work for both type of users <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>On the front-end I&#8217;ve created a Javascript method that should call the ajax command using the <em>&#8216;wp-admin/admin-ajax.php&#8217;</em>. With as <strong>action</strong> parameter the name of my ajax method. So in theory I should be setup correctly to handle ajax, but this is where the theory and actual situation start to differ.</p>
<p>To test my new theme I&#8217;ve been using the preview mode of WordPress, after all I don&#8217;t want to kill any existing feature or activate the theme before it is done. But for some reason my nicely setup Ajax hooks aren&#8217;t working as advertised.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first steps into Android development</title>
		<link>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/</link>
		<comments>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 16:00:44 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=606</guid>
		<description><![CDATA[After owning an Android phone for over an year, and using it on daily base, I thought it might be time to look into how easy it would be to start developing for the Android OS. As any good developer I first started reading a bit on how to develop for it, and what requirement&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>After owning an Android phone for over an year, and using it on daily base, I thought it might be time to look into how easy it would be to start developing for the <a  title="The official Android website" href="http://www.android.com/" target="_blank">Android OS</a>. As any good developer I first started reading a bit on how to develop for it, and what requirement&#8217;s I would have to meet.</p>
<p>Now I&#8217;m not going to be boring you with all kinds of tutorials on how to develop on Android, or give you any other clues on this subject. I just don&#8217;t know anything about Android development, well not yet anyhow. But some good reading material to get you on the right path might be:</p>
<ul>
<li><a  title="Official developers guide by android" href="http://developer.android.com/guide/topics/fundamentals.html" target="_blank">The Android development guide</a>, all you ever will need to know about Android development (bit technical though)</li>
<li><a  href="http://www.sitepoint.com/writing-your-first-android-app-2/" target="_blank">Writing your first Android app</a>, good tutorial to get started in Android</li>
</ul>
<p>The only thing I have learned so far is that I don&#8217;t really like the way of designing a UI for the Android. It&#8217;s just way to basic with XML files describing how the UI should look like. Feels like going back to 1990 when designing a UI was done in code rather then with a UI design tool.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on the new UI for this blog</title>
		<link>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/</link>
		<comments>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 17:38:12 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=603</guid>
		<description><![CDATA[About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true. It&#8217;s been a rather busy couple of weeks since my last [...]]]></description>
			<content:encoded><![CDATA[<p>About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true.</p>
<p>It&#8217;s been a rather busy couple of weeks since my last update, but work is slowly progressing. So far I designed most of the UI elements, but I ended up in some trouble with the browser compatibility. As any web developer will know it&#8217;s a hell to make a website compatible with older browsers, especially the older Internet Explorer versions. And as this is supposed to be a lightweight theme it means I&#8217;ll have to rely on as much of CSS3 as possible. Which also means making separate sylesheets for the older browsers to display the content the same way.</p>
<p>So far I&#8217;ve built the following features in the new WordPress Theme:</p>
<ul>
<li>Support of the social networks</li>
<li>Browser detection to better enable CSS2 / CSS3 features or mobile version</li>
<li>Various hooks into the WordPress system to change behaviour of WordPress</li>
<li>Design of the various elements of WordPress, being posts / pages and categories</li>
</ul>
<p>Now I still have a long way to go before the new theme is ready for deployment, but I&#8217;m slowly continuing the work on the new theme. Just to give you some insight on how the final version of the theme will look I&#8217;ve included some screen-shots of the latest development release.</p>
<div id="attachment_604" class="wp-caption aligncenter" style="width: 310px"><a  href="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post.png" class="thickbox no_icon" rel="gallery-603" title="Narnio new post layout"><img class="size-medium wp-image-604" title="Narnio new post layout" src="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post-300x135.png" alt="" width="300" height="135" /></a><p class="wp-caption-text">Screenshot of new layout</p></div>
<p style="text-align: center;">
<p>Even when all the design stuff is done I&#8217;ll still have to do some integration of analytics software and the capabilities to show ads. As well as hooking back in all the various plug-ins I&#8217;ve been using for WordPress for the past couple of years.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching in TFS history, made easy by Microsoft</title>
		<link>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/</link>
		<comments>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 11:47:03 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=585</guid>
		<description><![CDATA[One of the greatest things about version control systems is the ability to keep track of changes. Or is it? Well Microsoft certainly has a unique look on this. Team Foundation Server (TFS), also known as the Team Failure Server, has a very unique way of keeping track of changes. To be honest the tracking [...]]]></description>
			<content:encoded><![CDATA[<p>One of the greatest things about <a  title="More on version control" href="http://en.wikipedia.org/wiki/Revision_control" target="_blank">version control </a>systems is the ability to keep track of changes. Or is it? Well Microsoft certainly has a unique look on this. <strong><a  href="http://en.wikipedia.org/wiki/Team_Foundation_Server" target="_blank">Team Foundation Server </a></strong>(TFS), also known as the Team Failure Server, has a very unique way of keeping track of changes.</p>
<p>To be honest the tracking of changes works fine, for the most part. But what happens when you made a change sometime in the past, you know roughly what you did but not which files were affected or which branch was used. Yes I sometimes don&#8217;t know what version (branch) of the software a fix was made in. In any normal version control system you would open up the history log and start searching for a comment you entered. That would result in some result popping up, and with any luck the change-set you were looking for.</p>
<p>Alas Microsoft in all its wisdom decided that searching is overrated and not needed for a version control system. After all you can read through the entire history log to find the change-set can&#8217;t you. Ah you can&#8217;t, silly you!</p>
<p>Here is a quick work around for this <strong>&#8216;missing&#8217;</strong> feature:</p>
<ul>
<li>Open up the History view on the ROOT of the TFS server</li>
<li>Scroll all the way down, in most systems that will be just a few thousand change-sets</li>
<li>Select all and copy</li>
<li>Open Excel and paste</li>
</ul>
<p>Voila now you can search. At least Excel offers a way to search your Team Foundation Server history.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and browser detection</title>
		<link>http://www.narnio.com/2011/07/22/php-and-browser-detection/</link>
		<comments>http://www.narnio.com/2011/07/22/php-and-browser-detection/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 20:28:46 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=580</guid>
		<description><![CDATA[One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized page.</p>
<p>So I started looking into a way to let my web application determine what browser was visiting and what capabilities it had. Since this was for the new WordPress theme I&#8217;m developing it had to be in PHP and be sorta light-weight.</p>
<p>First thing was to figure out the basic browser that was visiting. This can be done by doing a simple <a  title="strpos documentation" href="http://www.php.net/manual/en/function.strpos.php" target="_blank">strpos</a> call in PHP on the user agent property. Having a list of the various user agents helped, I found just such a list at <a  title="User Agent Strings" href="http://www.useragentstring.com/pages/useragentstring.php" target="_blank">UserAgentString</a>. A brief summary for some common browsers is below.</p>
<pre class="brush: php">  $user_agent = $_SERVER['HTTP_USER_AGENT'];
  $IE        = strpos($this-&gt;_user_agent, 'MSIE') &gt; -1;
  $IPad      = strpos($this-&gt;_user_agent, 'iPad') &gt; -1;
  $Firefox   = strpos($this-&gt;_user_agent, 'Firefox/') &gt; -1;
  $Chrome    = strpos($this-&gt;_user_agent, 'Chrome/') &gt; -1;
  $Opera     = strpos($this-&gt;_user_agent, 'Opera/') &gt; -1;
  $Android = strpos($this-&gt;_user_agent, 'Android') &gt; -1;</pre>
<p>As you can see determining the basic browser type is pretty simple. But to be able to determine if CSS3 is supported you will also need to locate the version of the browser. Keeping in mind that IE9+, Firefox 4+, Opera 10+ and Chrome are the only versions that support CSS3. The check for this is slightly different for each version. But you can do it easily with a regular expresion.</p>
<pre class="brush: php"> // For all non IE browsers
 $locator;
 if ($Firefox) $locator = "Firefox\/";
 if ($Android) $locator = "Android\s";
 if ($Chrome) $locator = "Chrome\/";
 if ($Opera) $locator = "Version\/";
 preg_match('/'.$locator.'([0-9]{1,4}(.[0-9]{1,3})+)/', $user_agent, $version);

 // For IE
 preg_match('/MSIE\s([0-9]{1,2}.[0-9]{1,2})/', $user_agent, $version);
 if (count($version) &gt; 1) $version = $version[1];
 else $version = 0;</pre>
<p>Having the version and the type of browser allows us to do all kinds of fancy browser specific stuff. Mostly introduce hacks for IE7 (yes many are needed), or add CSS3 support.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/07/22/php-and-browser-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Team Foundation Server is useless for Java</title>
		<link>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/</link>
		<comments>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 11:27:37 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[Team Foundation Server]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=576</guid>
		<description><![CDATA[In the company I&#8217;m currently working for we are using the Team Foundation Server as a version control system. No for developers of C# or any other Microsoft related programming language this is probably fine. However being a Java developer TFS is less then perfect. In fact it is a near nightmare. We are using [...]]]></description>
			<content:encoded><![CDATA[<p>In the company I&#8217;m currently working for we are using the <a  href="http://en.wikipedia.org/wiki/Team_Foundation_Server">Team Foundation Server </a>as a version control system. No for developers of C# or any other Microsoft related programming language this is probably fine. However being a Java developer TFS is less then perfect. In fact it is a near nightmare.</p>
<p>We are using various IDE&#8217;s for editing our Java projects, meanly because different developers like different IDE&#8217;s. Personally I&#8217;m using Netbeans, which has perfect Subversion, Git, CVS and Perforce support. Some other developers use IntelliJ from Netbrains. Which is sorta expensive and the version we are using has no support for TFS at all.</p>
<p>So when I want to edit a simple file I first locate it in my IDE, which takes me about 5 seconds. Then I need to look up its location on disk, followed by opening the completely useless <a  href="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/team-explorer-everywhere">Team Exporer</a>. Then I again need to look up the file in TE, followed by a check-out. The whole process to the point that the file is checked out and ready to go takes probably about 1 minute, each and every time.</p>
<p>On an average day I probably waste <strong>up to an hour </strong>checking out files, and commiting them back into the version control system.</p>
<p>To ease the burden a bit I&#8217;ve tried the SvnBridge tool to link my IDE&#8217;s Subversion system with TFS, but this tool has many flaws. Just a few of which are:</p>
<ul>
<li>No longer appears to be developed</li>
<li>A merge in TE causes all updates to fail, you need to do a clean checkout again</li>
<li>Random update failures due to commits of other developers</li>
</ul>
<p>So for now I&#8217;m stuck. Really, really, really stuck.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing for mobile devices</title>
		<link>http://www.narnio.com/2011/06/09/testing-for-mobile-devices/</link>
		<comments>http://www.narnio.com/2011/06/09/testing-for-mobile-devices/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 08:09:00 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=571</guid>
		<description><![CDATA[As you might know this blog is also available through an own developed mobile edition, at http://m.narnio.com. It&#8217;s based on a plugin that I developed. But how do you go about with the testing for mobile platforms, when you don&#8217;t have all of them. I mean who has the money to buy every possible phone [...]]]></description>
			<content:encoded><![CDATA[<p>As you might know this blog is also available through an own developed mobile edition, at <a  href="http://m.narnio.com">http://m.narnio.com</a>. It&#8217;s based on a plugin that I developed. But how do you go about with the testing for mobile platforms, when you don&#8217;t have all of them.</p>
<p>I mean who has the money to buy every possible phone out there, or every tablet.  Well there are some ways to do this without having all of the devices. Here is a short list:</p>
<ul>
<li>Run it through the validator at <a  href="http://validator.w3.org/mobile/">http://validator.w3.org/mobile/</a></li>
<li>Use a simulator for testing like:
<ul>
<li><a  href="http://www.marketcircle.com/iphoney/">iPhoney</a>, for iPhone testing</li>
<li><a  href="http://labs.blackbaud.com/NetCommunity/article?artid=662">iBBDemo2</a>, for iPad testing</li>
</ul>
</li>
<li>Doing a simple resolution check, for IE this can be done by hitting F12 and selecting <strong>Tools</strong> -&gt; <strong>Resize</strong></li>
<li>Checking the load times on different connection speeds, using <a  href="http://www.fiddler2.com/fiddler2/">Fiddler 2</a> by changing <strong>Rules </strong>-&gt; <strong>Performance -&gt; Simulate modem speeds</strong></li>
</ul>
<p>So what are resolutions to check for with mobile devices, well here is a short list.</p>
<ul>
<li>480 x 800 (default Android 1.5 &#8211; 2.2)</li>
<li>540 x 960 (newer Android phones 2.3.3)</li>
<li>640 x 960 (iPhone4)</li>
<li>1280 x 800 (various Android 3 tablets)</li>
</ul>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/09/testing-for-mobile-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress skin, Ajax loading vs. Google</title>
		<link>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/</link>
		<comments>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 18:37:33 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=573</guid>
		<description><![CDATA[As a major remodeling of this blog is on the way I&#8217;m going to try to build it more dynamic and more up to the Web 2.0 standards. So that includes usage of Ajax, JQuery and a more dynamically filled website. But how to build this and keep the Google Analytics working, as well as [...]]]></description>
			<content:encoded><![CDATA[<p>As a major remodeling of this blog is on the way I&#8217;m going to try to build it more dynamic and more up to the Web 2.0 standards. So that includes usage of Ajax, JQuery and a more dynamically filled website. But how to build this and keep the Google Analytics working, as well as the search engine indexing. This will be one of my biggest challenges I&#8217;m afraid.</p>
<p>Developing a website with JQuery / Ajax and advanced JavaScript prototypes isn&#8217;t anything new to me. But having all of these features and still make the site indexable is! So far I&#8217;m stuck at the simple point that crawlers don&#8217;t support JavaScript, so no go for that part. It looks like I will have to create a module for the WordPress plugin to detect what type of user is visiting the website. Serving the search engines a version that will not use any of the advanced features that normal browsers will support.</p>
<p>Besides the issue with the indexing there is still the task of getting all the pages on the website to be tracked with Google Analytics. Currently that is easy, though the website is dynamic each page is a new request to the server. But using advanced features like Ajax stops that in its tracks. Currently I don&#8217;t even know if it is possible to track pages when the actual URL doesn&#8217;t change, just the content of the page. If it is possible to do this I would have to build a module to do so.</p>
<p>So after just ranting and brain storming for a few seconds I already found to nice features that would have to be build. Another person might call them serious issues, but I prefer good challenges. At least for the moment I do. Not even mentioning the fact that I have to build a complete new template for WordPress too.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working on a new layout</title>
		<link>http://www.narnio.com/2011/06/08/working-on-a-new-layout/</link>
		<comments>http://www.narnio.com/2011/06/08/working-on-a-new-layout/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 06:02:54 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=567</guid>
		<description><![CDATA[It&#8217;s been some time since my last post here, and there are several very good reasons for that. I&#8217;m currently rather busy trying to rebuild the skin for this blog, as well as several other development projects I&#8217;ve got going on right now. One might say I&#8217;m taking on more work then I can handle, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been some time since my last post here, and there are several very good reasons for that. I&#8217;m currently rather busy trying to rebuild the skin for this blog, as well as several other development projects I&#8217;ve got going on right now. One might say I&#8217;m taking on more work then I can handle, but I love to be busy I guess. So what am I working on, and what can you be expecting in the time to come here:</p>
<ul>
<li>Redesigning this blog, to bring it up to speed with the latest possibilities from <a  title="Official WordPress website" href="http://wordpress.org">WordPress</a></li>
<li>Building of the UML Design tool that I started on some months ago</li>
<li>Defining the specs of a neural algorithm to build a user centric database (more on this to come in the future here)</li>
<li>Continued development on the <a  title="Synchronizer web page" href="http://www.jong-soft.com/en/Products/Synchronizer.html">Synchronizer </a>tool, hoping to release version 3.0 soon</li>
</ul>
<p>And that&#8217;s just the work that I do in my rare spare time next to a full-time job.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/08/working-on-a-new-layout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>C# and custom drawing on the canvas</title>
		<link>http://www.narnio.com/2011/05/02/c-and-custom-drawing-on-the-canvas/</link>
		<comments>http://www.narnio.com/2011/05/02/c-and-custom-drawing-on-the-canvas/#comments</comments>
		<pubDate>Mon, 02 May 2011 10:25:32 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[UML Designer]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=565</guid>
		<description><![CDATA[Part of the development of one of my pet projects, the UML Designer, requires some type of custom canvas to display the UML graphs. Sounds easy, especially since I&#8217;ve done similar things in Java. Unfortunately reality proves me wrong every time. I started out by creating a custom component, which inherits from the Panel. This [...]]]></description>
			<content:encoded><![CDATA[<p>Part of the development of one of my pet projects, the UML Designer, requires some type of custom canvas to display the UML graphs. Sounds easy, especially since I&#8217;ve done similar things in Java. Unfortunately reality proves me wrong every time.</p>
<p>I started out by creating a custom component, which inherits from the Panel. This would give me pretty much a blank object that could be added to the GUI. The painting part on its own is not that difficult either. Done that hundreds of times. The problem is in adding the various objects to paint on top of the panel to the panel before drawing commences.</p>
<p>Ok, I&#8217;ll try to explain a little better. I keep track of what to draw in an array inside the custom panel. This because these objects contain more information then just how to draw. But they are not part of the component list of the panel. I need to add them dynamically just before drawing and remove them again after drawing. But I&#8217;ve yet to find the correct way of doing this.</p>
<p>Tried adding them in the onPaint method, but this doesn&#8217;t trigger them to be painted. So I&#8217;ll probably have to intercept the WM_PAINT message sent to the panel and attach the</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/05/02/c-and-custom-drawing-on-the-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

