<?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>Overpass Experiences</title>
	<atom:link href="http://www.wroolie.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wroolie.co.uk</link>
	<description>The Eric Wroolie Blog</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:45:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The internal narrator</title>
		<link>http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/</link>
		<comments>http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 09:45:00 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Meditation]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/?p=665</guid>
		<description><![CDATA[I have a tendency to think I need to describe things all the time.&#160; Even when no one else is present, I have an internal dialogue giving play by play commentary as if I was going to tell someone of my experiences later—no matter how trivial.&#160; It’s annoying. I notice it most when meditating.&#160; As [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I have a tendency to think I need to describe things all the time.&#160; Even when no one else is present, I have an internal dialogue giving play by play commentary as if I was going to tell someone of my experiences later—no matter how trivial.&#160; It’s annoying.</p>
<p>I notice it most when meditating.&#160; As my mind starts to calm, a little strand of ego starts to comment on what is happening as if it were telling someone else about it.&#160; Eventually, I leave this voice behind too—or at least I try to.</p>
<p>I wonder if other people do this.&#160; </p>
<p>It’s more subtle than I make it sound.&#160; But when I do something, there is always an internal commentary deciding how I’m going to describe it to someone else.&#160; How can you be in the moment when you are thinking about how to describe the moment to someone else?</p>
<p>Simon Amstell talked about this in a standup special I saw recently.&#160; He described doing something spontaneous with friends and thinking “This would make a good experience” and rather than experiencing it fully, he was thinking of how he would describe the experience to others later.&#160; It really made me laugh because I identified with it so much.</p>
<p>I wonder if you woke up as the last person on Earth (like 28 Days Later—but without the zombies).&#160; Would you constantly keep writing your internal story?&#160; Or would you just exist?</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=The+internal+narrator+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D665" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/&amp;title=The+internal+narrator" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/&amp;title=The+internal+narrator" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/&amp;t=The+internal+narrator" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=The+internal+narrator&amp;link=http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/&amp;title=The+internal+narrator" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2012/01/27/the-internal-narrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virgin Broadband Reliability</title>
		<link>http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/</link>
		<comments>http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 09:46:15 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Miscellaneous Rants]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/?p=663</guid>
		<description><![CDATA[I use Virgin Broadband’s top 50Mb cable package.&#160; I do so much work on the internet that I think the cost is justified. It’s lightening fast. But it is not very reliable. As I write this, it is 5:10 in the morning and the internet is down again (I will have to post it later).&#160; [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2010/09/04/orange-broadband-good-riddance/' rel='bookmark' title='Orange broadband &ndash; good riddance!'>Orange broadband &ndash; good riddance!</a></li>
<li><a href='http://www.wroolie.co.uk/2004/08/10/123/' rel='bookmark' title='Wonderful Broadband'>Wonderful Broadband</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I use Virgin Broadband’s top 50Mb cable package.&#160; I do so much work on the internet that I think the cost is justified. It’s lightening fast.</p>
<p>But it is not very reliable.</p>
<p>As I write this, it is 5:10 in the morning and the internet is down again (I will have to post it later).&#160; I’ve been up for over an hour, and I’ve done the routines of restarting the router and switching the cable modem off and on.&#160; I would be on the phone to tech support if it weren’t so early and I would wake up the rest of the house.</p>
<p>I have times like this every few weeks.&#160; I constantly have to reboot the router.&#160; Sometimes it works, but other times I just have to wait.&#160; I believe in moving everything to the cloud – except for this.&#160; No email, no net, no Spotify.&#160; During baseball season, it means I can’t watch Padre games in the early morning hours (I can watch San Diego night games at 3:30am in England).</p>
<p>I know some people who live in remote areas where they have no internet or very basic dial up service.&#160; It’s almost unthinkable now.&#160; </p>
<p>Even people with 2Mb broadband have a terrible experience.&#160; Back when I had 8Mb Orange broadband, the performance was terrible in the evening.&#160; I don’t get that with Virgin.&#160; I love it.&#160; If only it didn’t go down so often.</p>
<p>If you are considering Virgin Broadband.&#160; This is something you may want to think about.&#160; Of course, it could be a faulty switch in my area or something more local like that.&#160; If you have Virgin, I’d be interested in the experiences you’ve had.</p>
<p>I’m going to a client site today.&#160; Hopefully, it will be running again by the time I get home. </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Virgin+Broadband+Reliability+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D663" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/&amp;title=Virgin+Broadband+Reliability" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/&amp;title=Virgin+Broadband+Reliability" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/&amp;t=Virgin+Broadband+Reliability" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Virgin+Broadband+Reliability&amp;link=http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/&amp;title=Virgin+Broadband+Reliability" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2010/09/04/orange-broadband-good-riddance/' rel='bookmark' title='Orange broadband &ndash; good riddance!'>Orange broadband &ndash; good riddance!</a></li>
<li><a href='http://www.wroolie.co.uk/2004/08/10/123/' rel='bookmark' title='Wonderful Broadband'>Wonderful Broadband</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2012/01/26/virgin-broadband-reliability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Return of Javascript</title>
		<link>http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/</link>
		<comments>http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 21:54:28 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Software Dev & Productivity]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/?p=661</guid>
		<description><![CDATA[A few years ago, I remember complaining that Javascript is a lost art.&#160; I was working with a .Net offshore team who claimed not to know HTML or Javascript—they only knew Asp.Net.&#160; When we were trying to come up with solutions to a particular web problem, I recommended we use Ajax.&#160; They didn’t know any [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2008/12/14/the-client-side-install/' rel='bookmark' title='The Client-Side Install'>The Client-Side Install</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few years ago, I remember complaining that Javascript is a lost art.&#160; I was working with a .Net offshore team who claimed not to know HTML or Javascript—they only knew Asp.Net.&#160; When we were trying to come up with solutions to a particular web problem, I recommended we use Ajax.&#160; They didn’t know any ajax outside of the Microsoft Ajax extensions.</p>
<p>I did a lot of Javascript back in the day.&#160; I can remember sitting down on a Saturday night in 1999 reading through a giant copy of the “Javascript Bible”.&#160; Before ajax was mainstream, you used to have to know how to store data islands in your source and store all kinds of arrays locally.&#160; The sites I did work on where Javascript was heavily used were cumbersome and difficult to maintain.&#160; They usually supported only IE.</p>
<p>Anyone who has ever worked with me knows how much I hate Asp.net web forms.&#160; I prefer classic ASP to webforms.&#160; I admire PHP developers who had full control over their html and javascript.</p>
<p>But now . . . Javascript is back. </p>
<p>When Silverlight was dropped in favour of HTML5, I moaned. I remember the bad old days of trying to write to the lowest common denominator in browsers.&#160; I don’t want to go back to that.&#160; I’m happy to stay in the Silverlight haven.&#160; They supported Macs at least, but not Lynux or tablets.</p>
<p>But in the past few months, I’ve been able to use Javascript to write games (Impact JS), phone apps (jQuery Mobile and Phone Gap(, and server applications (node.js).&#160; </p>
<p>Javascript is better than I ever remember it being.&#160; It seems to be experiencing a renaissance.&#160; While all the coders of other languages are having pointless arguments about which one is better, Javascript is proving the be the uniter.&#160; Learn JS, and you can do anything.</p>
<p>These are exciting times.&#160; Right now, everyone seems to have a Javascript framework.&#160; There are so many to choose from.&#160; </p>
<p>Javascript is beautiful.&#160; And no one is trying to control it.</p>
<p>I’m really looking forward to the next year.&#160; I’m sold.&#160; HTML5 is the way of the future.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=The+Return+of+Javascript+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D661" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/&amp;title=The+Return+of+Javascript" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/&amp;title=The+Return+of+Javascript" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/&amp;t=The+Return+of+Javascript" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=The+Return+of+Javascript&amp;link=http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/&amp;title=The+Return+of+Javascript" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2008/12/14/the-client-side-install/' rel='bookmark' title='The Client-Side Install'>The Client-Side Install</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2012/01/24/the-return-of-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running ImpactJs in Visual Studio 2010 with a Project Template</title>
		<link>http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/</link>
		<comments>http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 16:58:58 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Software Dev & Productivity]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/</guid>
		<description><![CDATA[I took December off to spend time with family and invest in some professional development.&#160; I worked mostly with HTML5 and javascript, but I did do some Drupal work too. For HTML5, I played with local storage, the new tags, backwards compatibility, PhoneGap, and finally the canvas tag.&#160; One thing I wanted to do was [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2009/09/18/line-breaks-in-webby/' rel='bookmark' title='Line Breaks in Webby'>Line Breaks in Webby</a></li>
<li><a href='http://www.wroolie.co.uk/2007/06/19/52/' rel='bookmark' title='PHP with Visual Studio'>PHP with Visual Studio</a></li>
<li><a href='http://www.wroolie.co.uk/2008/03/31/16/' rel='bookmark' title='MyGeneration &#8211; a timesaver'>MyGeneration &#8211; a timesaver</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I took December off to spend time with family and invest in some professional <a href="http://www.wroolie.co.uk/wp-content/uploads/2012/01/game.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="game" border="0" alt="My Game" align="right" src="http://www.wroolie.co.uk/wp-content/uploads/2012/01/game_thumb.png" width="244" height="150" /></a>development.&#160; I worked mostly with HTML5 and javascript, but I did do some Drupal work too.</p>
<p>For HTML5, I played with local storage, the new tags, backwards compatibility, PhoneGap, and finally the canvas tag.&#160; One thing I wanted to do was learn how to build games in HTML5.&#160; There are some great tutorials on starting a project from scratch—I’ll post more on them later, but there’s also a very good javascript game engine called <a href="http://impactjs.com/" target="_blank">ImpactJS</a>.</p>
<p>ImpactJS is written almost entirely in javascript, but it does us a few php files (and a server) to allow it to do things like read from and write to files.&#160; According to the instructions, you need to set up in Apache (but an IIS port is available).&#160; </p>
<p>But I spend most of my life in Visual Studio 2010 (and occasionally Eclipse).&#160; I work faster in that IDE and all the keyboard shortcuts come second nature. After purchasing Impact and creating a few games, I found it tedious assigning a new port in the Apache conf on my local machine for every game.&#160; Also, the Komodo IDE is very good, but I prefer my boring ol’ Visual Studio.</p>
<p>So, I looked at the php files and created my own Visual Studio template.&#160; This may sound a little heavy using this big IDE only for javascript and html, but I find it very helpful that it will create a new server port each time I create a new web project.</p>
<p>I created a project template was going to post it online, but it includes all the ImpactJS source (which costs $99—but I got for $49 on a Christmas sale), so that probably wouldn’t be doing the developer any favours if I put it on all online.&#160; So, here are my contributions and the instructions for anyone else who has purchased ImpactJS and wants to use it in Visual Studio 2010.</p>
<h2>Step 1:&#160; Create a New Project.</h2>
<p>Create an empty ASP.Net Web project.&#160; Make sure to choose an empty project—otherwise you have to delete all the plumbing they give you.&#160; All you want is the web.config (and you can get rid of that if you don’t need it).</p>
<h2>Step 2:&#160; Add ImpactJS framework </h2>
<p>Drag all your ImpactJS source into the new project from Windows Explorer.&#160; This should include all the folders.&#160; The two root documents should be index.html and weltmeister.html.</p>
<p><a href="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image_thumb.png" width="197" height="244" /></a></p>
<p>At this point, you can right-click on index.html and choose “View In Browser”.&#160; It will give you the “It Works!” text on the canvas (but it will create a server instance like localhost:12345).&#160; This is unimpressive.&#160; The game itself does not use the server—the Weltmeister tool does.</p>
<h2>Step 3: Add the Generic Handlers.</h2>
<p>You can right-click and view the Weltmeister tool in the browser now, but it will not work the way it should.&#160; The Weltmeister level editor uses 4 php files:</p>
<ul>
<li><strong>/lib/weltmeister/api/browse.php</strong> (browses for files in the filesystem) </li>
<li><strong>/lib/weltmeister/api/config.php</strong> (provides the $fileRoot variable and a few methods). </li>
<li><strong>/lib/weltmeister/api/glob.php</strong> (gets files matching a certain pattern in the directories) </li>
<li><strong>/lib/weltmeister/api/save.php</strong> (saves files edited in Weltmeister to the directory) </li>
</ul>
<p>The contents of these four files are pretty straight forward and easy to convert to C#.&#160; I initially created a aspx pages to replace them, but then found Generic Handlers to be more effective since I didn’t need a front end webform.</p>
<p>So, we will create four files to replace these four (they can sit side by side—the php files won’t get in our way).&#160; </p>
<p>First add a Web.config file to the api folder (it will limit the scope to this folder only).&#160; In this file add the fileRoot variable:</p>
<pre>&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;configuration&gt;&#160;&#160; &lt;appSettings&gt;&#160;&#160;&#160;&#160; &lt;add key=&quot;fileRoot&quot; value=&quot;../../..&quot;/&gt;&#160;&#160; &lt;/appSettings&gt;
&lt;/configuration&gt;</pre>
<p>Now, add three more files of type “Generic Hander” to the api folder.</p>
<p>&#160;<a href="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image_thumb1.png" width="244" height="170" /></a></p>
<p>Give these files the same names as their PHP counterparts:</p>
<ul>
<li>browse.ashx </li>
<li>glob.ashx </li>
<li>save.ashx </li>
</ul>
<p>Here is the code for each file:</p>
<h3>browse.ashx:</h3>
<pre class="csharpcode"><span class="kwrd">using</span> System.IO;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Web;
<span class="kwrd">using</span> System.Web.Script.Serialization;

<span class="kwrd">namespace</span> SpaceShooter.lib.weltmeister.api
{
    <span class="rem">/// &lt;summary&gt;</span>
    <span class="rem">/// Summary description for browse</span>
    <span class="rem">/// &lt;/summary&gt;</span>
    <span class="kwrd">public</span> <span class="kwrd">class</span> browse : IHttpHandler
    {
        <span class="kwrd">public</span> <span class="kwrd">void</span> ProcessRequest(HttpContext context)
        {
            var fileRoot = context.Request.MapPath(System.Configuration.ConfigurationManager.AppSettings[<span class="str">&quot;fileRoot&quot;</span>].ToString());
            <span class="kwrd">if</span> (!fileRoot.EndsWith(<span class="str">&quot;/&quot;</span>))
                fileRoot += <span class="str">&quot;/&quot;</span>;

            var dir = fileRoot + context.Request.QueryString[<span class="str">&quot;dir&quot;</span>].ToString();
            <span class="kwrd">if</span> (!dir.EndsWith(<span class="str">&quot;/&quot;</span>))
                dir += <span class="str">&quot;/&quot;</span>;

            var find = <span class="str">&quot;*.*&quot;</span>;
            <span class="kwrd">switch</span> (context.Request.QueryString[<span class="str">&quot;type&quot;</span>].ToString())
            {
                <span class="kwrd">case</span> <span class="str">&quot;images&quot;</span>:
                    find = <span class="str">&quot;*.{png,gif,jpg,jpeg}&quot;</span>;
                    <span class="kwrd">break</span>;
                <span class="kwrd">case</span> <span class="str">&quot;scripts&quot;</span>:
                    find = <span class="str">&quot;*.js&quot;</span>;
                    <span class="kwrd">break</span>;
            }

            var dirs = Directory.GetDirectories(dir, <span class="str">&quot;*&quot;</span>, SearchOption.AllDirectories);
            var files = Directory.GetFiles(dir, find, SearchOption.AllDirectories);

            var fileRootLength = fileRoot.Length;
            <span class="kwrd">for</span> (var i = 0; i &lt; files.Length; i++)
            {
                files[i] = files[i].Replace(fileRoot, <span class="str">&quot;&quot;</span>);
            }
            <span class="kwrd">for</span> (var i = 0; i &lt; dirs.Length; i++)
            {
                dirs[i] = dirs[i].Replace(fileRoot, <span class="str">&quot;&quot;</span>);
            }

            var parent = dir.Substring(0, dir.ToString().IndexOf(<span class="str">&quot;/&quot;</span>));

            context.Response.ContentType = <span class="str">&quot;application/json&quot;</span>;
            context.Response.ContentEncoding = Encoding.UTF8;
            var jserializer = <span class="kwrd">new</span> JavaScriptSerializer();
            context.Response.Write(jserializer.Serialize(<span class="kwrd">new</span> Response()
            {
                parent = parent,
                dirs = dirs,
                files = files
            }));
        }

        <span class="kwrd">public</span> <span class="kwrd">bool</span> IsReusable
        {
            get
            {
                <span class="kwrd">return</span> <span class="kwrd">false</span>;
            }
        }

        <span class="kwrd">public</span> <span class="kwrd">class</span> Response
        {
            <span class="kwrd">public</span> <span class="kwrd">string</span> parent { get; set; }

            <span class="kwrd">public</span> <span class="kwrd">string</span>[] dirs { get; set; }

            <span class="kwrd">public</span> <span class="kwrd">string</span>[] files { get; set; }
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<h3>glob.ashx:</h3>
<pre class="csharpcode">
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.IO;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Web;
<span class="kwrd">using</span> System.Web.Script.Serialization;

<span class="kwrd">namespace</span> SpaceShooter.lib.weltmeister.api
{
    <span class="rem">/// &lt;summary&gt;</span>
    <span class="rem">/// Summary description for glob</span>
    <span class="rem">/// &lt;/summary&gt;</span>
    <span class="kwrd">public</span> <span class="kwrd">class</span> glob : IHttpHandler
    {

        <span class="kwrd">public</span> <span class="kwrd">void</span> ProcessRequest(HttpContext context)
        {
            var fileRoot = context.Request.MapPath(System.Configuration.ConfigurationManager.AppSettings[<span class="str">&quot;fileRoot&quot;</span>].ToString());
            <span class="kwrd">if</span> (!fileRoot.EndsWith(<span class="str">&quot;/&quot;</span>))
                fileRoot += <span class="str">&quot;/&quot;</span>;

            var globs = context.Request.QueryString[<span class="str">&quot;glob[]&quot;</span>].ToString();
            List&lt;<span class="kwrd">string</span>&gt; files = <span class="kwrd">new</span> List&lt;<span class="kwrd">string</span>&gt;();
            <span class="rem">//get the files</span>
            <span class="kwrd">foreach</span> (var glob <span class="kwrd">in</span> globs.Split(<span class="str">','</span>))
            {
                var pattern = glob.Replace(<span class="str">&quot;..&quot;</span>, <span class="str">&quot;&quot;</span>).Replace(<span class="str">&quot;/&quot;</span>,<span class="str">&quot;\\&quot;);
                files.AddRange(Directory.GetFiles(fileRoot, pattern));
            }

            //remove the fileRoot and reverse slashes
            for (var i = 0; i &lt; files.Count;i++ )
            {
                files[i] = files[i].Replace(fileRoot, &quot;</span><span class="str">&quot;);
                files[i] = files[i].Replace(@&quot;</span>\<span class="str">&quot;,&quot;</span>/<span class="str">&quot;);
            }
            context.Response.ContentType = &quot;</span>application/json<span class="str">&quot;;
            context.Response.ContentEncoding = Encoding.UTF8;
            var jserializer = new JavaScriptSerializer();
            context.Response.Write(jserializer.Serialize(files));

            //   return &quot;</span>&quot;;
        }

        <span class="kwrd">public</span> <span class="kwrd">bool</span> IsReusable
        {
            get
            {
                <span class="kwrd">return</span> <span class="kwrd">false</span>;
            }
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<h3>save.ashx:</h3>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.IO;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Web;
<span class="kwrd">using</span> System.Web.Script.Serialization;

<span class="kwrd">namespace</span> SpaceShooter.lib.weltmeister.api
{
    <span class="rem">/// &lt;summary&gt;</span>
    <span class="rem">/// Summary description for save</span>
    <span class="rem">/// &lt;/summary&gt;</span>
    <span class="kwrd">public</span> <span class="kwrd">class</span> save : IHttpHandler
    {

        <span class="kwrd">public</span> <span class="kwrd">void</span> ProcessRequest(HttpContext context)
        {
            var fileRoot = context.Request.MapPath(System.Configuration.ConfigurationManager.AppSettings[<span class="str">&quot;fileRoot&quot;</span>].ToString());
            <span class="kwrd">if</span> (!fileRoot.EndsWith(<span class="str">&quot;/&quot;</span>))
                fileRoot += <span class="str">&quot;/&quot;</span>;
            var path = context.Request.Form[<span class="str">&quot;path&quot;</span>].ToString();
            var data = context.Request.Form[<span class="str">&quot;data&quot;</span>].ToString();

            var result = <span class="kwrd">new</span> Result();

            <span class="kwrd">if</span> (!<span class="kwrd">string</span>.IsNullOrEmpty(path) &amp;&amp;
                !<span class="kwrd">string</span>.IsNullOrEmpty(path))
            {
                path = fileRoot + path.ToString().Replace(<span class="str">&quot;..&quot;</span>, <span class="str">&quot;&quot;</span>);

                <span class="kwrd">if</span> (path.EndsWith(<span class="str">&quot;.js&quot;</span>))
                {
                    <span class="kwrd">try</span>
                    {
                        <span class="rem">//if the file already exists, delete it</span>
                        <span class="kwrd">if</span> (File.Exists(path))
                        {
                            File.Delete(path);
                        }
                        var streamWriter = File.CreateText(path);
                        streamWriter.Write(data);
                    }
                    <span class="kwrd">catch</span> (Exception ex)
                    {
                        result.error = <span class="str">&quot;2&quot;</span>;
                        result.msg = <span class="kwrd">string</span>.Format(<span class="str">&quot;Couldn't write to file: {0}&quot;</span>, path);
                    }
                }
                <span class="kwrd">else</span>
                {
                    result.error = <span class="str">&quot;3&quot;</span>;
                    result.msg = <span class="str">&quot;File must have a .js suffix&quot;</span>;
                }

            }
            <span class="kwrd">else</span>
            {
                result.error = <span class="str">&quot;1&quot;</span>;
                result.msg = <span class="str">&quot;No Data or Path specified&quot;</span>;
            }
            context.Response.ContentType = <span class="str">&quot;application/json&quot;</span>;
            context.Response.ContentEncoding = Encoding.UTF8;
            var jserializer = <span class="kwrd">new</span> JavaScriptSerializer();
            context.Response.Write(jserializer.Serialize(result));

        }

        <span class="kwrd">public</span> <span class="kwrd">bool</span> IsReusable
        {
            get
            {
                <span class="kwrd">return</span> <span class="kwrd">false</span>;
            }
        }

        <span class="kwrd">public</span> <span class="kwrd">class</span> Result
        {
            <span class="kwrd">public</span> <span class="kwrd">string</span> error { get; set; }
            <span class="kwrd">public</span> <span class="kwrd">string</span> msg { get; set; }
        }
    }
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Your final api folder should look like this:</p>
<p><a href="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image2.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wroolie.co.uk/wp-content/uploads/2012/01/image_thumb2.png" width="212" height="190" /></a></p>
<p>You can get rid of the php files if you wish, but they should not be interfering with anything.</p>
<h2>Step 4:&#160; Amend config.js</h2>
<p>Finally, you need to tell the javascript classes to run these ashx files instead of the php files, this is can in the file /lib/welbmeister/config.js under the api property.&#160; Simply change the php extension to ashx:</p>
<pre>'api': {
		'save': 'lib/weltmeister/api/save.<strong>ashx'</strong>,
		'browse': 'lib/weltmeister/api/browse.<strong>ashx'</strong>,
		'glob': 'lib/weltmeister/api/glob.<strong>ashx'</strong>
	}</pre>
<h2>Step 5: Save the project as a template</h2>
<p>Now, you don’t want to have to do this for every new game project, so you need to turn this into a template (but you might want to test out the Weltmeister tool first and make sure everything is running as it should).</p>
<p>To create a new template, simply go to the file menu of Visual Studio and choose “Export Template”.&#160; Then you can go through the wizard to create a new template on your pc to quickly create new ImpactJS game projects.</p>
<p>You may also want to create an “entity” template to speed things up when you create new entities for your game using the same menu (but choose Item Template instead of Project Template).</p>
<h2>What about Baking?</h2>
<p>Okay, there are two other php files in the framework that could be converted.&#160; When you finish your ImpactJS game, you can use a command line tool to “bake” the game and get it ready for deployment.&#160; This basically consolidates all the javascript files into one file and minifies it.&#160; This is done in the tools folder using a file called bake.php.&#160; </p>
<p>I have not converted the bake file to c# yet.&#160; I don’t deploy too often. However, I may convert it in the future.&#160; I would use the <a href="http://geekswithblogs.net/lbugnion/archive/2007/02/23/107120.aspx" target="_blank">aspx port of jsmin</a> written by Laurent Bugnion and convert bake.php to an aspx or ashx file.&#160; The ImpactJS developer has put very little reliance on php, so conversion should not be difficult.</p>
<h2>Let me know how it goes</h2>
<p>That’s it.&#160; I hope, if you found this post, this gets you building games in Visual Studio (with your familiar shortcuts, plug ins, and code-completion).&#160; If you found it useful, please add a comment below.&#160; And if you convert the baking file, please let me know too.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D656" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/&amp;title=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/&amp;title=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/&amp;t=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template&amp;link=http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/&amp;title=Running+ImpactJs+in+Visual+Studio+2010+with+a+Project+Template" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2009/09/18/line-breaks-in-webby/' rel='bookmark' title='Line Breaks in Webby'>Line Breaks in Webby</a></li>
<li><a href='http://www.wroolie.co.uk/2007/06/19/52/' rel='bookmark' title='PHP with Visual Studio'>PHP with Visual Studio</a></li>
<li><a href='http://www.wroolie.co.uk/2008/03/31/16/' rel='bookmark' title='MyGeneration &#8211; a timesaver'>MyGeneration &#8211; a timesaver</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2012/01/02/running-impactjs-in-visual-studio-2010-with-a-project-template/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Warming up to HTML5</title>
		<link>http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/</link>
		<comments>http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 18:24:39 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Software Dev & Productivity]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/</guid>
		<description><![CDATA[Last week, I finally got around to reading the Microsoft announcements from September about Windows 8 and WinRT.&#160; Like a lot of people, I was surprised by the dropping of Silverlight for the Metro UI.&#160; HTML5 (along with XAML) would be used prominently. HTML5 again. I’m old school and I can’t get rid of the [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2011/05/26/html5-its-dhtml-all-over-again/' rel='bookmark' title='HTML5, it&rsquo;s DHTML all over again'>HTML5, it&rsquo;s DHTML all over again</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last week, I finally got around to reading the Microsoft announcements from September about Windows 8 and WinRT.&#160; Like a lot of people, I was surprised by the dropping of Silverlight for the Metro UI.&#160; HTML5 (along with XAML) would be used prominently.</p>
<p>HTML5 again.</p>
<p>I’m old school and I can’t get rid of the memories of coding conditional blocks of code for different browsers.&#160; A lot of web apps would only adhere to one browser because of the different capabilities.&#160; In corporate environments, this was mostly IE.&#160; The difference capabilities still exists, so I was not pleased about using conditional coding again.&#160; Silverlight was a nice hiding place—write once run anywhere (except Linux, and tablets, and phones—okay just Windows and Macs!).</p>
<p>But, things are much better than they were before.&#160; Now, we have <a href="http://www.modernizr.com/" target="_blank">Modernizr</a> and <a href="http://jquery.com/" target="_blank">jQuery</a>.&#160; Now we have devices which, for the most part, adhere to one browser only (If I write for IOS, I only have to worry about Safari).&#160; </p>
<p>I’m at the point now where I’m excited about HTML5.&#160; I’ve taken December off from my current contract to really have a good play with it.&#160; I’m very impressed with localStorage and GeoLocation.&#160; Canvas is what I’m playing with next.</p>
<p>And, after months of learning Android, I discovered <a href="http://phonegap.com" target="_blank">PhoneGap</a>.&#160; PhoneGap allows you to host html5 in a compiled application&#160; (IOS, Android, Windows Phone) and release it in an app store.&#160; It also provides a javascript library to interface with device libraries like GPS, camera, and the accelerometer.&#160; I’m struggling with the intricacies of Java (C# keeps getting in the way), but I can do just as much in javascript.</p>
<p>HTML5 allows for mobile apps (web and compiled) and MetroUI.</p>
<p>Once again, the future is bright.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Warming+up+to+HTML5+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D647" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/&amp;title=Warming+up+to+HTML5" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/&amp;title=Warming+up+to+HTML5" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/&amp;t=Warming+up+to+HTML5" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Warming+up+to+HTML5&amp;link=http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/&amp;title=Warming+up+to+HTML5" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2011/05/26/html5-its-dhtml-all-over-again/' rel='bookmark' title='HTML5, it&rsquo;s DHTML all over again'>HTML5, it&rsquo;s DHTML all over again</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/12/15/warming-up-to-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I love coding for WP7</title>
		<link>http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/</link>
		<comments>http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 17:59:06 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[C# Coding]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/</guid>
		<description><![CDATA[So, I’ve spent ages trying to learn to code on an Android.&#160; I’ve read a few books.&#160; I’ve got my dev environment all set up.&#160; I’ve coded a few test apps and put them on my phone.&#160; But the going is slow.&#160; If I were a Java developer, I’d probably be all over it. A [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2010/01/05/in-love-with-our-own-lingo/' rel='bookmark' title='In love with our own lingo'>In love with our own lingo</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So, I’ve spent ages trying to learn to code on an Android.&#160; I’ve read a few books.&#160; I’ve got my dev environment all set up.&#160; I’ve coded a few test apps and put them on my phone.&#160; But the going is slow.&#160; If I were a Java developer, I’d probably be all over it.</p>
<p>A friend asked me to do a quick Windows Phone 7 app and I could not believe how easy it was.&#160; Since I’ve been working heavily with Silverlight for the past few years, I know most of the code already.&#160; I had to do minimal reading to get a full app up and running.&#160; It was was nice to work in Visual Studio again.&#160; Using Resharper, I was flying through the code.</p>
<p>I only wish more people had Windows Phone 7.&#160; </p>
<p>I would get a phone myself, but 3 things are holding me back currently:</p>
<ol>
<li>I don’t want to be one of 5 people in the UK with a Windows Phone 7.</li>
<li>It’s not open, like Android is.&#160; I would be at the mercy of the phone manufacturers for upgrades (like with an iPhone).</li>
<li>It doesn’t have expandable memory (to my knowledge).</li>
<li>My current contract isn’t up until April.</li>
</ol>
<p>But it’s nice to be able to write apps so quickly (since I spent so much time learning the trivial details of Silverlight).&#160; Maybe.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=I+love+coding+for+WP7+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D646" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/&amp;title=I+love+coding+for+WP7" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/&amp;title=I+love+coding+for+WP7" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/&amp;t=I+love+coding+for+WP7" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=I+love+coding+for+WP7&amp;link=http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/&amp;title=I+love+coding+for+WP7" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2010/01/05/in-love-with-our-own-lingo/' rel='bookmark' title='In love with our own lingo'>In love with our own lingo</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/12/08/i-love-coding-for-wp7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The &#8220;View Source&#8221; belongs to me too.</title>
		<link>http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/</link>
		<comments>http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 05:45:10 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C# Coding]]></category>
		<category><![CDATA[MVC Framework]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/</guid>
		<description><![CDATA[For me, the sign of a good web developer (or web application developer) is someone who can right-click a web page to view the source and tell you why he did things the way he did.&#160; “I used this div to position this element over here, and used the unordered list for a sub-menu, . [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2008/07/02/6/' rel='bookmark' title='Baseball on Radio and Open Source'>Baseball on Radio and Open Source</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For me, the sign of a good web developer (or web application developer) is someone who can right-click a web page to view the source and tell you why he did things the way he did.&#160; “I used this div to position this element over here, and used the unordered list for a sub-menu, . . . “</p>
<p>A bad web developer is someone who says “It looks fine in my browser” and “Well, I’m not a designer . . . “</p>
<p>One of the biggest crimes of ASP.net Web Forms was to strip HTML skills from new web developers.&#160; They view the source of their code (in the browser—not Visual Studio) as gobbledy-gook.&#160; And ASP.net ensures that it is.&#160; It’s full of ViewState and control names like ctl_100_className_ctrlName which the developer didn’t put there.&#160; It tried to remove the whole stateless-http challenges and make web development accessible to desktop developers.</p>
<p>I’m so very pleased every time I see a new site created with the Microsoft MVC Framework.&#160; MVC is making up for the ASP.Net webform crimes.&#160; Just like Ruby&#160; on Rails or PHP (or classic ASP), it allows the developer to think about what gets sent from the web server to the browser.&#160; When I do a site in MVC framework, I can view the source and recognize my own handy-work.&#160; I can make full use of CSS3 and jQuery.&#160; I know that everything in my user’s browser is something I put there intentionally.</p>
<p>CSS, Javascript, and HTML (along with images, flash movies, Silverlight, or other plugins) are the ingredients of any web application.&#160; Server languages like ASP, PHP, and Ruby are only tools to deliver these ingredients to the browser in unique and creative ways.&#160; A good web application developer (like a good chef) can look at his source and tell you exactly what everything does.&#160; ASP.Net webforms are like ready-meals.&#160; Everything is done for you, but you don’t really know everything that’s in it.</p>
<p>Now, don’t get me wrong, I’ve known some fantastic ASP.Net devs who build apps free of ViewState and server controls.&#160; But I’ve worked with too many who could drag a control onto a web canvas, set a few properties, and call themselves web developers.</p>
<p>I recently worked on a DotNetNuke project where we customised a third-party component.&#160; The page was not rendering as it should.&#160; ViewSource gave me a bunch of ViewState and nested tables.&#160;&#160; I knew of a 100 ways to get css to make the site look the way I wanted, but this wasn’t my source.&#160; It wasn’t even the developer’s source—it was the clientIds of the server control.&#160; Since I was struggling, a web guy (proper Mac-using, firebug-toting, standards-compliant, web guy) asked to see the source so he could suggest something.&#160; When he saw the source, he was mortified.&#160; I was embarrassed –“It’s not mine!&#160; I didn’t write it.”&#160; In the end, I hacked it with jQuery.&#160; I didn’t have the sourcecode to modify it properly.&#160; </p>
<p>The legacy of Web Forms lives on.&#160; Sharepoint 2010 is full of it.&#160; Young Microsoft developers (in the last 5 years or so) know nothing but how to use WebForms.&#160; (An ASP.net dev told me a few years ago “But I don’t know html.”).&#160; But, hopefully, one day we will get around this idea of creating tools that “do everything for you” for developers who should know to do it themselves.&#160; Just like I wouldn’t create ready meals for people who call themselves chefs.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too.+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D644" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/&amp;title=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too." title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/&amp;title=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too." title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/&amp;t=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too." title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too.&amp;link=http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/&amp;title=The+%E2%80%9CView+Source%E2%80%9D+belongs+to+me+too." title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2008/07/02/6/' rel='bookmark' title='Baseball on Radio and Open Source'>Baseball on Radio and Open Source</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/10/18/the-view-source-belongs-to-me-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another update</title>
		<link>http://www.wroolie.co.uk/2011/10/18/another-update-2/</link>
		<comments>http://www.wroolie.co.uk/2011/10/18/another-update-2/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 04:53:59 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/10/18/another-update-2/</guid>
		<description><![CDATA[I haven’t been blogging very much this year.&#160; To be honest, I’ve been involved in a contract for the past year and spend most of my free time learning new tech languages. Every so often, I think, I should post something.&#160; I used to post 3-4 times a month on what was on my mind.&#160; [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2011/05/12/another-update/' rel='bookmark' title='Another update'>Another update</a></li>
<li><a href='http://www.wroolie.co.uk/2010/05/26/an-update/' rel='bookmark' title='An update'>An update</a></li>
<li><a href='http://www.wroolie.co.uk/2010/12/02/looking-forward-to-silverlight-5/' rel='bookmark' title='Looking forward to Silverlight 5'>Looking forward to Silverlight 5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I haven’t been blogging very much this year.&#160; To be honest, I’ve been involved in a contract for the past year and spend most of my free time learning new tech languages.</p>
<p>Every so often, I think, I should post something.&#160; I used to post 3-4 times a month on what was on my mind.&#160; I’ve had things on my mind this year, of course, but haven’t felt like posting. </p>
<p>Technology-wise, I’ve been working a lot with Silverlight and jQuery this year.&#160; I love Silverlight since everything is so easy (once you get around the async issues), but jQuery has helped me see how powerful HTML5 will be.&#160; Silverlight is a nice corporate technology (meaning, you can get a good contract working in an investment bank with it) but it will never be a good internet tool because it is not on tablets.&#160; jQuery simplifies javascript and makes cross-browser a snap.</p>
<p>I’ve been given an opportunity to do some work in Sharepoint.&#160; I’ve read a lot about it and played with some code, but . . . yawn!&#160; Just because it’s a MS technology doesn’t mean it’s great.&#160; I hear things like “It’s so powerful. . . you can create a new site in seconds”.&#160; But, I can create a better one in Joomla and full control over the html that is output.&#160; I’ve seen too many Sharepoint 2010 features work in IE9, but not in Firefox or Chrome.&#160; No problem if you are in a bank, but not out in the wild.&#160; So, I wont’ be working with Sharepoint anytime soon.&#160; It bothers me how much time I’ve spent on it already.</p>
<p>So, I would like to get more of my opinions expressed here.&#160; I’m still up at 4:30—but most of that time now goes to working on pet projects or running.&#160; </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Another+update+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D643" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/10/18/another-update-2/&amp;title=Another+update" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/10/18/another-update-2/&amp;title=Another+update" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/10/18/another-update-2/&amp;t=Another+update" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Another+update&amp;link=http://www.wroolie.co.uk/2011/10/18/another-update-2/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/10/18/another-update-2/&amp;title=Another+update" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2011/05/12/another-update/' rel='bookmark' title='Another update'>Another update</a></li>
<li><a href='http://www.wroolie.co.uk/2010/05/26/an-update/' rel='bookmark' title='An update'>An update</a></li>
<li><a href='http://www.wroolie.co.uk/2010/12/02/looking-forward-to-silverlight-5/' rel='bookmark' title='Looking forward to Silverlight 5'>Looking forward to Silverlight 5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/10/18/another-update-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNN, Orchard, and Joomla&#8211;some thoughts</title>
		<link>http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/</link>
		<comments>http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 05:56:00 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[C# Coding]]></category>
		<category><![CDATA[Software Dev & Productivity]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/</guid>
		<description><![CDATA[Iâve been looking at CMS systems a lot recently.&#160; Here are some of my thoughts: DotNetNuke Iâm using DotNetNuke for a contract right now.&#160; Although itâs written in Asp.Net and I can code in that easily, itâs a pig to run.&#160; Even version 6, which was released last week, seems sluggish when run in the [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2009/07/31/some-thoughts-on-the-asp-net-mvc-framework/' rel='bookmark' title='Some thoughts on the ASP.Net MVC Framework'>Some thoughts on the ASP.Net MVC Framework</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Iâve been looking at CMS systems a lot recently.&#160; Here are some of my thoughts:</p>
<h5>DotNetNuke</h5>
<p>Iâm using DotNetNuke for a contract right now.&#160; Although itâs written in Asp.Net and I can code in that easily, itâs a pig to run.&#160; Even version 6, which was released last week, seems sluggish when run in the browser (even on my local machine with 8gb ram).&#160; </p>
<p>DNN is advancedâdonât get me wrong.&#160; There is no lazy-ness there.&#160; In fact, there is so much available in DNN, that it pains me that it runs so slowly.</p>
<p>Itâs an okay platform.&#160; But compared to MVC or PHP counterparts, the ASP.Net webforms are still far too slow and lack elegance.&#160; DNN will always have that Asp.Net webform dependency hanging around its neck.</p>
<h5>Orchard</h5>
<p>Orchard is a new CMS which was started by Microsoft.&#160; I fell in love with it last month.&#160; Itâs based on MVC3 with the razor engine.&#160; It supports multiple sites, just like DNN.&#160; There arenât many extensions or themes, but itâs written in C# so I can easily create what I need.</p>
<p>But, then . . . </p>
<p>But then I looked at the page source after it has been rendered in the browser.&#160; Although it doesnât have a lot of ugly ViewState like DNN (and all other webform pages have), it does include a lot of stuff that I didnât put there.&#160; There is huge amount of javascript added which would at least triple the size of my source.&#160; The beauty of MVC is that I have more control of the htmlâbut Orchard adds a stunning amount of code.&#160; Most of it is serialised model informationâbut Iâm not sure why it is on the client.</p>
<p>This really bothers me because I spent a lot of time working with Orchard.&#160; It is not easy to use as an Admin.&#160; While DNN is simple and I could give it to any client to customise, you have to really study Orchard just to add a few things onto a page.&#160; You canât just add something to a sidebar, for example, you have to create a layer and add a shape, and add some code so it only shows when a page uses that layer or shape.&#160; Really, it was ridiculously difficult. </p>
<p>So, Orchard adds too much to the source and is too difficult to use.&#160; But, in terms of speed, it is very fast.</p>
<h5>Joomla</h5>
<p>Okay, Joomla is PHP.&#160; Iâve done PHP projects for clients before, so Iâm fine with thatâbut I prefer C#.&#160; I looked at Joomla and Drupal just to see how they compare.</p>
<p>Joomla puts the .net CMS alternatives to shame.&#160; It is easy to set up, the code is very current, and it delivers pages super-fast.&#160; The admin interface is not as easy to use as DNN (in my opinion), but much easier than Orchard.&#160; There are loads of themes and extensions available.&#160; When I did a viewSource, all the html was what I expected it to be.</p>
<p>Why canât the .net projects be this good?</p>
<p>&#160;</p>
<p>One thing I hear a lot in my contracts are developers comparing .Net, PHP, and Java (and sometimes Rails).&#160; DotNet developers always say .Net is better.&#160; PHP and Java developers talk about how sluggish .Net is and how it is inferior because it requires being hosted on Windows (except for Monoâbut who really uses that?).&#160; The truth is, all these languages pretty much do the same thingâthey deliver HTML to the browser.&#160; You can write a site in any language and it wouldnât matter.&#160; Iâve seen .Net sites outperform PHP sites (but unfortunately, it is the other way around).&#160; </p>
<p>Iâve looked at other .net CMS systems lately too (Umbraco, Sitefinity, etc) and didnât like the look of those enough to even install.</p>
<p>I might start using Joomla.&#160; Page speed is far more important than how easy it is to code.&#160; Hopefully, someone will write a decent .Net CMS system one of these days.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D641" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/&amp;title=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/&amp;title=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/&amp;t=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts&amp;link=http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/&amp;title=DNN%2C+Orchard%2C+and+Joomla%E2%80%93some+thoughts" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2009/07/31/some-thoughts-on-the-asp-net-mvc-framework/' rel='bookmark' title='Some thoughts on the ASP.Net MVC Framework'>Some thoughts on the ASP.Net MVC Framework</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/08/04/dnn-orchard-and-joomlasome-thoughts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DotNetNuke&#8211;yesterday&#8217;s CMS</title>
		<link>http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/</link>
		<comments>http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 19:20:55 +0000</pubDate>
		<dc:creator>Eric Wroolie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/</guid>
		<description><![CDATA[I started working with DotNetNuke almost 5 years ago when it was pretty new.&#160; I had used php-nuke, so was excited to use a cms written for the .net platform.&#160; I skinned a few apps and played with it a bit.&#160; But ultimately, I didnât use. So, I started using DNN for a job recently.&#160; [...]
Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2007/06/19/52/' rel='bookmark' title='PHP with Visual Studio'>PHP with Visual Studio</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I started working with DotNetNuke almost 5 years ago when it was pretty new.&#160; I had used php-nuke, so was excited to use a cms written for the .net platform.&#160; I skinned a few apps and played with it a bit.&#160; But ultimately, I didnât use.</p>
<p>So, I started using DNN for a job recently.&#160; Itâs on version 5 now (version 6 is very soon to be released), and I have to sayâit shows its age.&#160; Iâm not a fan.&#160; When the web is trying to go very mvc, ajaxy, and rest-y, DotNetNuke is stuck in 2006.&#160; Itâs as if web 2.0 left it behind.</p>
<p>There are a lot of great things going on the web development arena, even for Microsoft developers.&#160; The MVC framework is elegant and fantastic.&#160; Silverlight is very cool.&#160; HTML5 and jquery make cross-browser more fun than ever.&#160; It makes you want to forget all that messy webform code with its code-behind and postbacks.&#160; So, DNN just feels old.</p>
<p>I never really liked the way Microsoft abandoned classic ASP, which was not all that different from php.&#160; It encouraged developers to think about session state and requests and responses.&#160; It focused more on the html that was delivered to the browser.&#160; You could view the source of any page you wrote in classic asp and recognize the html as the markup you had written.&#160; </p>
<p>When MS moved to ASP.Net webforms, they tried to let desktop developers feel comfortable with web development.&#160; You could drag a button on a page, double-click it, and write some code for it.&#160; You didnât even have to worry about what kind of tag it would produce.&#160; Who wants to use HTML anyway, right?&#160; It was awful.&#160; You got a new breed of web developers who didnât know any html or javascriptâonly .net.&#160; </p>
<p>Iâm glad Microsoft is really pushing the MVC framework, which gives developers more control over the HTML that is produced.</p>
<p>DNN is a good platform, but written with a bad technology.&#160; I hope someone notices the writing on the wall for .net webforms and starts a massive rewrite into a more current language.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS+http%3A%2F%2Fwroolie.co.uk%2F%3Fp%3D640" title="Post to Twitter"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/&amp;title=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS" title="Post to Delicious"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/&amp;title=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS" title="Post to Digg"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/&amp;t=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS" title="Post to Facebook"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS&amp;link=http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/" title="Post to Ping.fm"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/ping/tt-ping-micro3.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/&amp;title=DotNetNuke%E2%80%93yesterday%E2%80%99s+CMS" title="Post to StumbleUpon"><img class="nothumb" src="http://www.wroolie.co.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><p>Related posts:<ol>
<li><a href='http://www.wroolie.co.uk/2007/06/19/52/' rel='bookmark' title='PHP with Visual Studio'>PHP with Visual Studio</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wroolie.co.uk/2011/07/23/dotnetnukeyesterdays-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
