<?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>My Piece of the Inter(.)net &#187; Web Development</title>
	<atom:link href="http://mypieceoftheinter.net/tag/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://mypieceoftheinter.net</link>
	<description>A place for my geekish ramblings or whatever I find interesting.</description>
	<lastBuildDate>Mon, 16 Jan 2012 16:35:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Another novel (and silly) use for Roomie</title>
		<link>http://mypieceoftheinter.net/archives/2160</link>
		<comments>http://mypieceoftheinter.net/archives/2160#comments</comments>
		<pubDate>Mon, 11 Oct 2010 16:35:46 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C Sharp]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roomie!]]></category>
		<category><![CDATA[RoomieScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/2160</guid>
		<description><![CDATA[I’ve been working (rather obsessively) on Roomie for the past week.&#160; In specific, I have rewritten the XML-based protocol that allows the desktop client to communicate with the web service.&#160; (Say “hi” to it here.)&#160; The new library (which I call WebCommunicator) is sooo much easier to use than my old one, but still has [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working (rather obsessively) on Roomie for the past week.&#160; In specific, I have rewritten the XML-based protocol that allows the desktop client to communicate with the web service.&#160; (Say “hi” to it <a href="http://roomie.somewhatgeeky.com/communicator/">here</a>.)&#160; The new library (which I call WebCommunicator) is sooo much easier to use than my old one, but still has all the nifty (and important) encryption and anti-hacking features.&#160; I will eventually publish the protocol as an independent library.&#160; (Give me a bit to use it more and work out all the kinks.)</p>
<p>But enough technical talk.&#160; Lets get to <em>serious business.</em>&#160; Here I have a little RoomieScript that I wrote, just as a proof of concept. </p>
<p><span style="font-family: monospace; white-space: nowrap; color: blue">&lt;<span style="color: maroon">RoomieScript</span>&gt;       <br />&#160; &lt;<span style="color: maroon">ZWave.PowerOff</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; /&gt;       <br />&#160; &lt;<span style="color: maroon">Core.Loop</span>&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">ZWave.WaitForChange</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; <span style="color: red">PollInterval</span>=&quot;<span style="color: black"><b>5 Seconds</b></span>&quot; /&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">ZWave.PowerOff</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; /&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">RoomieBot.TextDavid</span>&#160;<span style="color: red">Text</span>=&quot;<span style="color: black"><b>No coffee!</b></span>&quot; /&gt;       <br />&#160; &lt;/<span style="color: maroon">Core.Loop</span>&gt;       <br />&lt;/<span style="color: maroon">RoomieScript</span>&gt;       <br /></span></p>
<p> <span id="more-2160"></span>
<p>Here Roomie waits until the coffee maker is turned on, then turns it off and sends me a <em>terse</em> text message. Yes, it works!&#160; And yes, I do use Roomie for legitimate things, but ah… it’s so just that much fun to be dumb.</p>
<p>Interested in beta testing Roomie?&#160; Send me a message.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/2160/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roomie gets some CSS schooling</title>
		<link>http://mypieceoftheinter.net/archives/2111</link>
		<comments>http://mypieceoftheinter.net/archives/2111#comments</comments>
		<pubDate>Fri, 25 Jun 2010 04:30:45 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roomie!]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/2111</guid>
		<description><![CDATA[This week I have been furiously re-writing a few key elements of the Roomie website.&#160; Specifically, I scrapped the old device button controls, which you can see here. They were ok, but they were very rigid in use, offering only two different pictures to back the buttons.&#160; Zooming on mobile devices didn’t work so great [...]]]></description>
			<content:encoded><![CDATA[<p>This week I have been furiously re-writing a few key elements of the <a href="http://mypieceoftheinter.net/tag/roomie">Roomie</a> website.&#160; Specifically, I scrapped the old device button controls, which you can see <a href="http://mypieceoftheinter.net/archives/2078">here</a>. They were ok, but they were very rigid in use, offering only two different pictures to back the buttons.&#160; Zooming on mobile devices didn’t work so great either, since the images were PNGs, <a href="http://en.wikipedia.org/wiki/Raster_graphics">raster graphics</a>.&#160; Now I have created a button framework entirely in CSS, HTML, and ASP.NET controls.&#160; Because of this, I can easily create new kinds of controls completely in code, and they even zoom cleanly as well.&#160; My original vision for this was to enable the user to create “virtual device controls”, which would display next to the regular device controls.</p>
<p><a href="http://mypieceoftheinter.net/wp-content/uploads/2010/06/Roomie_home_automation_main_site_on_iPad.png"><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="Roomie home automation main site on an iPad" alt="Roomie home automation main site on an iPad" src="http://mypieceoftheinter.net/wp-content/uploads/2010/06/Roomie_home_automation_main_site_on_iPad_thumb.png" width="640" height="480" /></a> </p>
<p> <span id="more-2111"></span>
<p>As you can see above, I have the <a href="http://roomie.somewhatgeeky.com">Roomie website’s main page</a> displaying on an iPad.&#160; The first two controls are an example of the new feature.&#160; Before I go to bed I might want to click the “set alarm” button, which would run a RoomieScript that I wrote that wakes me up in the morning.&#160; The same deal goes for coffee. (Of course, making coffee is also part of the alarm routine.)&#160; It would be easy to imagine many other virtual devices.&#160; Eventually I will likely make a “basement” device, which would have buttons like “Movie” for nice movie lighting, “all on”, “all off”, and of course, “PAAARRTAAYY!”</p>
<p>I mentioned that these controls were highly customizable in code.&#160; In the <a href="http://en.wikipedia.org/wiki/C_(programming_language)">C#</a> <a href="http://en.wikipedia.org/wiki/ASP.NET#Code-behind_model">code-behind</a> I can set the size of these controls with pixel precision.&#160; That came in really handy when I made an iPad-specific page, which resizes the controls to be just the right width to fill the screen horizontally and high enough for easy pressing with a finger.&#160; A tweak of the sizes only takes a few seconds.</p>
<p><a href="http://mypieceoftheinter.net/wp-content/uploads/2010/06/Roomie_home_automation_touch_site_on_iPad.png"><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="Roomie home automation touch site on an iPad" alt="Roomie home automation touch site on an iPad" src="http://mypieceoftheinter.net/wp-content/uploads/2010/06/Roomie_home_automation_touch_site_on_iPad_thumb.png" width="360" height="480" /></a> </p>
<p>All of this has been a really good learning experience for me, and of course I am <em>far</em> from done.&#160; I’ve applied so much of what I’ve learned writing Roomie, which is just for fun, to other projects at work and in school.&#160; If you want to help test Roomie, <a href="http://davidmcgrath.com/contact">send me an email</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/2111/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

