<?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>Rhymed Code</title>
	<atom:link href="http://rhymedcode.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://rhymedcode.net</link>
	<description>Synergy of Art and Science</description>
	<lastBuildDate>Sat, 23 Apr 2011 03:57:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>&#8220;You must sign in or sign up to purchase this item.&#8221;</title>
		<link>http://rhymedcode.net/user-interface/you-must-sign-in-or-sign-up-to-purchase-this-item/</link>
		<comments>http://rhymedcode.net/user-interface/you-must-sign-in-or-sign-up-to-purchase-this-item/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 03:57:33 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[User Interface]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=628</guid>
		<description><![CDATA[I was ready to purchase a new theme for my blog when I read the following: You must sign in or sign up to purchase this item. Ugh. Why? I found the theme on a marketplace so I figured I &#8230; <a href="http://rhymedcode.net/user-interface/you-must-sign-in-or-sign-up-to-purchase-this-item/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was ready to purchase a new theme for my blog when I read the following: You must sign in or sign up to purchase this item. Ugh. Why?</p>
<p>I found the theme on a marketplace so I figured I could probably go the original theme author&#8217;s website and make my purchase there. I found the website, and the &#8220;Buy Theme&#8221; button which, sadly, led back to the marketplace.</p>
<p>Please, make it easier to purchase items from your store and I might purchase more.</p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/user-interface/you-must-sign-in-or-sign-up-to-purchase-this-item/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Give What Users Want. Now.</title>
		<link>http://rhymedcode.net/user-interface/give-what-users-want-now/</link>
		<comments>http://rhymedcode.net/user-interface/give-what-users-want-now/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:20:38 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[User Interface]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=616</guid>
		<description><![CDATA[YouTube used to display a bar chart to present the &#8220;likes&#8221; and &#8220;dislikes&#8221; of a video. What I would immediately see upon landing on the page was the proportion of site visitors who pressed the like and dislike button. But &#8230; <a href="http://rhymedcode.net/user-interface/give-what-users-want-now/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>YouTube used to display a bar chart to present the &#8220;likes&#8221; and &#8220;dislikes&#8221; of a video. What I would immediately see upon landing on the page was the proportion of site visitors who pressed the <code>like</code> and <code>dislike</code> button. But guess what I would immediately do? I would drag my cursor toward the chart and hover the cursor on top of the chart because that was the only way to see the actual number of &#8220;likes&#8221; and &#8220;dislikes.&#8221;</p>
<p>Statistics does not mean much without a good number of samples. I&#8217;m interested to see the numbers first. YouTube has since replaced the chart with the old school, straight up numbers. I suppose a user could infer the ratio of &#8220;likes&#8221; and &#8220;dislikes&#8221; himself.</p>
<div id="attachment_617" class="wp-caption aligncenter" style="width: 245px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/youtube_stat.png" rel="lightbox[616]"><img src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/youtube_stat.png" alt="Likes Statistics" title="Likes Statistics" width="235" height="82" class="size-full wp-image-617" /></a><p class="wp-caption-text">Likes Statistics</p></div>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/user-interface/give-what-users-want-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great User Interface: Read Users&#8217; Mind</title>
		<link>http://rhymedcode.net/analysis-design/great-user-interface-read-users-mind/</link>
		<comments>http://rhymedcode.net/analysis-design/great-user-interface-read-users-mind/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 05:50:59 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Analysis & Design]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=587</guid>
		<description><![CDATA[Ever looking up a word online and having to look up another word in the original word&#8217;s definition? Here are the steps to do it if you look up the word online. Go to dictionary.com Enter the word to look &#8230; <a href="http://rhymedcode.net/analysis-design/great-user-interface-read-users-mind/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever looking up a word online and having to look up another word in the original word&#8217;s definition? Here are the steps to do it if you look up the word online.</p>
<ol>
<li>Go to dictionary.com</li>
<li>Enter the word to look up</li>
<li>Read the definition</li>
<li>(Upon finding another new word) Copy the new word and paste it to the search box</li>
</ol>
<p>Step 4 may not be much, or it may be (a sequence of a double mouse click, <code>CTRL+C</code>, move mouse cursor to the search box, <code>CTRL+V</code>, and <code>ENTER</code>), but dictionary.com has managed to simplify that step 4 into the following sequence of steps: click the new word, click the tooltip immediately above the new word. That&#8217;s it&#8211;two clicks and barely a muscle to move the mouse.</p>
<div class="media">
            <object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="378" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0"><param name="src" value="http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/dictionary-com_controller.swf"/><param name="bgcolor" value="#1a1a1a"/><param name="quality" value="best"/><param name="allowScriptAccess" value="always"/><param name="allowFullScreen" value="true"/><param name="scale" value="showall"/><param name="flashVars" value="autostart=false#&#038;thumb=http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/FirstFrame.png&#038;thumbscale=45&#038;color=0x1A1A1A,0x1A1A1A"/><embed name="csSWF" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/dictionary-com_controller.swf" width="640" height="378" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false&#038;thumb=http://rhymedcode.net/wordpress/wp-content/uploads/2010/11/FirstFrame.png&#038;thumbscale=45&#038;color=0x1A1A1A,0x1A1A1A" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
        </div>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/analysis-design/great-user-interface-read-users-mind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing Value from Child Page to Parent Page</title>
		<link>http://rhymedcode.net/uncategorized/passing-value-from-child-page-to-parent-page/</link>
		<comments>http://rhymedcode.net/uncategorized/passing-value-from-child-page-to-parent-page/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 06:40:00 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=559</guid>
		<description><![CDATA[Nov 2, 2010 Update: Microsoft releases a toolkit which includes a control ListPicker&#8211;which my article tried to emulate. I&#8217;ve downloaded it and it looks good so far. I no longer need to employ a separate page to list options. The &#8230; <a href="http://rhymedcode.net/uncategorized/passing-value-from-child-page-to-parent-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Nov 2, 2010 Update:</strong> <a href="http://blogs.msdn.com/b/delay/archive/2010/11/02/mo-controls-mo-controls-mo-controls-announcing-the-second-release-of-the-silverlight-for-windows-phone-toolkit.aspx">Microsoft releases a toolkit</a> which includes a control ListPicker&#8211;which my article tried to emulate. I&#8217;ve downloaded it and it looks good so far. I no longer need to employ a separate page to list options. The concept in this article is still useful if you want to allow selecting multiple items. As far as I know, ListPicker control won&#8217;t let you set up such thing.<br />
</em></p>
<p>When presenting an input with a list of options, normally we will see a drop down menu (or a list box, combo box, and the like) or a child window employed to present the options. On Windows Phone 7, there aren&#8217;t such controls (there are hacks and workarounds, though), so one of the methods to display the options is to present them in another page.<br />
<div id="attachment_569" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/passing-value.png" rel="lightbox[559]"><img src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/passing-value-300x169.png" alt="" title="Passing Value from a Child to a Parent Page" width="300" height="169" class="size-medium wp-image-569" /></a><p class="wp-caption-text">Passing Value from a Child to a Parent Page</p></div><br />
Say we have a page (<code>MainPage.xaml</code>) where a user could select his favorite color. The following is the (portion of) XAML code.</p>
<pre class="brush: xml; title: ; notranslate">
    &lt;!--LayoutRoot is the root grid where all page content is placed--&gt;
    &lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;Transparent&quot;&gt;
        &lt;Grid.RowDefinitions&gt;
            &lt;RowDefinition Height=&quot;Auto&quot;/&gt;
            &lt;RowDefinition Height=&quot;*&quot;/&gt;
        &lt;/Grid.RowDefinitions&gt;

        &lt;!--TitlePanel contains the name of the application and page title--&gt;
        &lt;StackPanel x:Name=&quot;TitlePanel&quot; Grid.Row=&quot;0&quot; Margin=&quot;12,17,0,28&quot;&gt;
            &lt;TextBlock x:Name=&quot;ApplicationTitle&quot; Text=&quot;MY APPLICATION&quot; Style=&quot;{StaticResource PhoneTextNormalStyle}&quot;/&gt;
            &lt;TextBlock x:Name=&quot;PageTitle&quot; Text=&quot;about me&quot; Margin=&quot;9,-7,0,0&quot; Style=&quot;{StaticResource PhoneTextTitle1Style}&quot;/&gt;
        &lt;/StackPanel&gt;

        &lt;!--ContentPanel - place additional content here--&gt;
        &lt;Grid x:Name=&quot;ContentPanel&quot; Grid.Row=&quot;1&quot; Margin=&quot;12,0,12,0&quot;&gt;
            &lt;StackPanel&gt;
                &lt;toolkit:GestureService.GestureListener&gt;
                    &lt;toolkit:GestureListener Tap=&quot;GestureListener_Tap&quot; /&gt;
                &lt;/toolkit:GestureService.GestureListener&gt;
                &lt;TextBlock Text=&quot;my fave color&quot; Style=&quot;{StaticResource PhoneTextExtraLargeStyle}&quot; /&gt;
                &lt;TextBlock x:Name=&quot;txtFaveColor&quot; Style=&quot;{StaticResource PhoneTextSubtleStyle}&quot; /&gt;
            &lt;/StackPanel&gt;
        &lt;/Grid&gt;
    &lt;/Grid&gt;
</pre>
<p>When the user taps on <code>my fave color</code>, he will be redirected to another page (<code>ChildPage.xaml</code>) where he can specify his selection. In the parent page (<code>MainPage.xaml</code>), we need to specify a public property which the child page will set. The following is how the public property <code>FaveColor</code> defined in the code behind (<code>MainPage.xaml.cs</code>)</p>
<pre class="brush: csharp; highlight: [3]; title: ; notranslate">
    public partial class MainPage : PhoneApplicationPage
    {
        public string FaveColor;

        public MainPage()
        {
            InitializeComponent();
        }

        private void GestureListener_Tap(object sender, GestureEventArgs e)
        {
            this.NavigationService.Navigate(new Uri(&quot;/ChildPage.xaml&quot;, UriKind.Relative));
        }
    }
</pre>
<p>The child page is to set the property <code>FaveColor</code> of parent page within the <code>OnNavigatedFrom</code> event where the parent page context is available.</p>
<pre class="brush: csharp; highlight: [25]; title: ; notranslate">
    public partial class ChildPage : PhoneApplicationPage
    {
        private string selectedColor;

        public ChildPage()
        {
            InitializeComponent();
        }

        private void lstColors_Tap(object sender, GestureEventArgs e)
        {
            if (lstColors.SelectedItem == null)
                return;

            selectedColor = ((TextBlock)lstColors.SelectedItem).Tag.ToString();

            NavigationService.GoBack();
        }

        protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
        {
            if (e.Content is MainPage &amp;&amp;
                selectedColor != null)
            {
                (e.Content as MainPage).FaveColor = selectedColor;
            }

            base.OnNavigatedFrom(e);
        }
    }
</pre>
<p>Now, we can use the the property <code>FaveColor</code> as the content of the control which displays user&#8217;s favorite color.</p>
<pre class="brush: csharp; highlight: [8,11,12,13,14]; title: ; notranslate">
    public partial class MainPage : PhoneApplicationPage
    {
        public string FaveColor;

        public MainPage()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(MainPage_Loaded);
        }

        void MainPage_Loaded(object sender, RoutedEventArgs e)
        {
            txtFaveColor.Text = FaveColor;
        }

        private void GestureListener_Tap(object sender, GestureEventArgs e)
        {
            this.NavigationService.Navigate(new Uri(&quot;/ChildPage.xaml&quot;, UriKind.Relative));
        }
    }
</pre>
<p>This technique is originally found in <a href="http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx">Charles Petzold&#8217;s &#8220;Programming Windows Phone 7.&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/uncategorized/passing-value-from-child-page-to-parent-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Windows Phone 7 Ebook</title>
		<link>http://rhymedcode.net/uncategorized/free-windows-phone-7-ebook/</link>
		<comments>http://rhymedcode.net/uncategorized/free-windows-phone-7-ebook/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 01:38:51 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=556</guid>
		<description><![CDATA[Get the free ebook &#8220;Programming Windows Phone 7&#8243; by Charles Petzold. That&#8217;s one whole book, not sample chapters.]]></description>
			<content:encoded><![CDATA[<p>Get the <a href="http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx">free ebook &#8220;Programming Windows Phone 7&#8243; by Charles Petzold</a>. That&#8217;s one whole book, not sample chapters.</p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/uncategorized/free-windows-phone-7-ebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax Form and Button&#8217;s Value</title>
		<link>http://rhymedcode.net/implementation/ajax-form-and-buttons-value/</link>
		<comments>http://rhymedcode.net/implementation/ajax-form-and-buttons-value/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 05:27:31 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Implementation]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=471</guid>
		<description><![CDATA[I encountered a bug similar to the one posted on stackoverflow.com while working on my latest pet project. I figured out an elegant workaround and I was writing the post when I found out that it might have not been &#8230; <a href="http://rhymedcode.net/implementation/ajax-form-and-buttons-value/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I encountered a bug similar to <a href="http://stackoverflow.com/questions/787523/asp-net-mvc-ajax-beginform-eats-params-of-submit-button-clicked-looks-like-bug">the one posted on stackoverflow.com</a> while working on <a href="http://framingthesky.net">my latest pet project</a>. I figured out an elegant workaround and I was writing the post when I found out that it might have not been a bug after all.</p>
<p>The HTML of the page where the bug manifested didn&#8217;t validate. I fixed it. And the bug disappeared.</p>
<p>The bug occurred when we submitted a form asynchronously using <code>Ajax.BeginForm()</code>. When the form was submitted, the value of button clicked was not submitted along with other input fields&#8217; values. But turned out, based on my observation, the &#8220;bug&#8221; only manifested when the HTML of the page didn&#8217;t validate.</p>
<p>The following is an example to show that the value of button clicked is submitted as expected when a form is submitted asynchronously.</p>
<p>Consider this form where a site visitor can vote for or against a subject. The subject to vote on is the statement &#8220;I love ASP.NET MVC!&#8221; and a site visitor can vote for or against the statement by clicking the <code>+</code> or <code>-</code> button respectively.</p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_page1.png" rel="lightbox[471]"><img class="size-medium wp-image-478" title="Voting Page" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_page1-300x181.png" alt="" width="300" height="181" /></a><p class="wp-caption-text">Voting Page</p></div>
<p>The code for the view (say, <code>Vote.aspx</code>) looks like the following.</p>
<pre class="brush: csharp; title: ; notranslate">
&lt;%@ Page Language=&quot;C#&quot; Inherits=&quot;System.Web.Mvc.ViewPage&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;Vote&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;%using (Ajax.BeginForm(&quot;Vote&quot;, &quot;Voting&quot;, new AjaxOptions { UpdateTargetId = &quot;message&quot; }))
  { %&gt;
    &lt;%= Html.Hidden(&quot;itemId&quot;, &quot;1&quot;)%&gt;
    &lt;p&gt;I love ASP.NET MVC!&lt;/p&gt;

    &lt;input type=&quot;submit&quot; name=&quot;voteValue&quot; value=&quot;+&quot; /&gt;
    &lt;input type=&quot;submit&quot; name=&quot;voteValue&quot; value=&quot;-&quot; /&gt;
&lt;%} %&gt;

&lt;p id=&quot;message&quot;&gt;&lt;%= TempData[&quot;message&quot;] %&gt;&lt;/p&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;%= Url.Content(&quot;~/Scripts/MicrosoftAjax.js&quot;)%&gt;&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;%= Url.Content(&quot;~/Scripts/MicrosoftMvcAjax.js&quot;)%&gt;&quot;&gt;&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>The code for the controller (say, <code>VotingController.cs</code>) is the following.</p>
<pre class="brush: csharp; title: ; notranslate">
using System.Web.Mvc;

namespace Examples.FormWithMultipleSubmitButtons.Controllers
{
    public class VotingController : Controller
    {
        public ViewResult Vote()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Vote(int itemId, string voteValue)
        {
            switch(voteValue)
            {
                case &quot;+&quot;:
                    TempData[&quot;message&quot;] = &quot;You voted up.&quot;;
                    break;
                case &quot;-&quot;:
                    TempData[&quot;message&quot;] = &quot;You voted down.&quot;;
                    break;
                default:
                    TempData[&quot;message&quot;] = &quot;Your vote was not recognized.&quot;;
                    break;
            }

            if(Request.IsAjaxRequest())
            {
                return Content(TempData[&quot;message&quot;].ToString());
            }
            else
            {
                return View();
            }
        }
    }
}
</pre>
<p>When the site visitor clicks the <code>+</code> button, the form will be submitted asynchronously and the message &#8220;You voted up.&#8221; will appear as expected. Likewise, when the <code>-</code> button is clicked, the message &#8220;You voted down.&#8221; will appear.</p>
<div id="attachment_479" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_up_message1.png" rel="lightbox[471]"><img class="size-medium wp-image-479 " title="Voting Up Message" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_up_message1-300x181.png" alt="" width="300" height="181" /></a><p class="wp-caption-text">Voting Up Message</p></div>
<div id="attachment_477" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_down1.png" rel="lightbox[471]"><img class="size-medium wp-image-477 " title="Voting Down Message" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/10/vote_down1-300x181.png" alt="" width="300" height="181" /></a><p class="wp-caption-text">Voting Down Message</p></div>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/implementation/ajax-form-and-buttons-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 System Styles</title>
		<link>http://rhymedcode.net/user-interface/windows-phone-7-system-styles/</link>
		<comments>http://rhymedcode.net/user-interface/windows-phone-7-system-styles/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 03:23:30 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[User Interface]]></category>
		<category><![CDATA[metro UI]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=432</guid>
		<description><![CDATA[When you add a new page to your WP7 application project, the default XAML page is likely to contain references to style definitions such as PhoneTextNormalStyle and PhoneTextTitle1Style. Those two style definitions are applied to the application title and page &#8230; <a href="http://rhymedcode.net/user-interface/windows-phone-7-system-styles/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you add a new page to your <abbr title="Windows Phone 7">WP7</abbr> application project, the default XAML page is likely to contain references to style definitions such as <code>PhoneTextNormalStyle</code> and <code>PhoneTextTitle1Style</code>.</p>
<pre class="brush: csharp; title: ; wrap-lines: false; notranslate">
&lt;!--TitlePanel contains the name of the application and page title--&gt;
&lt;StackPanel x:Name=&quot;TitlePanel&quot; Grid.Row=&quot;0&quot; Margin=&quot;12,17,0,28&quot;&gt;
    &lt;TextBlock x:Name=&quot;ApplicationTitle&quot; Text=&quot;MY APPLICATION&quot; Style=&quot;{StaticResource PhoneTextNormalStyle}&quot;/&gt;
    &lt;TextBlock x:Name=&quot;PageTitle&quot; Text=&quot;page name&quot; Margin=&quot;9,-7,0,0&quot; Style=&quot;{StaticResource PhoneTextTitle1Style}&quot;/&gt;
&lt;/StackPanel&gt;
</pre>
<p>Those two style definitions are applied to the application title and page title of the page with the goal that all <abbr title="Windows Phone 7">WP7</abbr> applications will share similar look.</p>
<div id="attachment_437" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/wp7_default_style.png" rel="lightbox[432]"><img src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/wp7_default_style-300x260.png" alt="" title="Application Title and Page Title in WP7 Application" width="300" height="260" class="size-medium wp-image-437" /></a><p class="wp-caption-text">Application Title and Page Title in WP7 Application</p></div>
<p>Just as you would use .NET libraries (as opposed to crafting your own wheels), you should use the built-in styles available. To discover more style definition that you can use, browse the file <code>ThemeResources.xaml</code> found in <code>C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Design</code>. Using these styles will guarantee that the application&#8217;s look will still be presentable when users change the color theme. </p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/user-interface/windows-phone-7-system-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit Post Screen (Variant II)</title>
		<link>http://rhymedcode.net/analysis-design/edit-post-screen-variant-ii/</link>
		<comments>http://rhymedcode.net/analysis-design/edit-post-screen-variant-ii/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 01:02:27 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Analysis & Design]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[WordPress for Windows Phone]]></category>
		<category><![CDATA[metro UI]]></category>
		<category><![CDATA[pocket wp]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=420</guid>
		<description><![CDATA[I thought of this during the long wait at In-n-Out drive-thru (yes, it was good). Utilizing the pivot control, I could place the writing area in one view and the auxiliary components (less used features) in another view. Which components &#8230; <a href="http://rhymedcode.net/analysis-design/edit-post-screen-variant-ii/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought of this during the long wait at In-n-Out drive-thru (yes, it was good).</p>
<p>Utilizing the pivot control, I could place the writing area in one view and the auxiliary components (less used features) in another view. Which components are more or less used is up for pointless debate, though.</p>
<p>I can see how this is beneficial for the workflow of writing a blog post. When writing a post, I would normally start with a title and move on to writing the content. While writing, I&#8217;m focusing on writing and only writing. When I&#8217;m finished, I would set the categories. Writing the post content and setting the attributes of the post are two separate tasks in the post writing workflow; hence, the separation of the views.</p>
<div id="attachment_421" class="wp-caption aligncenter" style="width: 310px"><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/pocketwp_editpost_2.png" rel="lightbox[420]"><img class="size-medium wp-image-421 " title="Edit Post Screen with Pivot Control" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/pocketwp_editpost_2-300x252.png" alt="" width="300" height="252" /></a><p class="wp-caption-text">Edit Post Screen with Pivot Control</p></div>
<p style="text-align: center;">
<p>The UI Design and Interaction Guide for Windows Phone 7 does not recommend pivot control for this kind of usage, however. The following are excerpts from the guide that the pivot control in Edit Post screen violates.</p>
<blockquote><p>Pivot pages should not be used for task flow.</p></blockquote>
<blockquote><p>The pivot control should only be used to display items or data of similar type.</p></blockquote>
<p>I understood why the first item of guideline is there. A task flow requires a strict order; user has to complete task one before proceeding to task two. Pivot control does not enforce that. User can navigate to views in pivot control in any order (except there is always one same initial view). This is less of an issue for this scenario. The big issue is that pivot control does not guarantee that a user will navigate to all views. I could click [save] and realize that I forgot to assign categories in the other view.</p>
<p>For the second item in the guideline. I could argue that I do use the control to display items of similar type: blog post&#8217;s properties of most used, and less used. But the author(s) of the guideline may disagree with that. Microsoft uses the email reader to show how a pivot control should be used. In the email reader, pivot control is used to display emails with status unread, flag, and the like in the different views.</p>
<p>Whether a pivot control is appropriate for the Edit Post screen, I need  a usability testing to know if it will work for users.</p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/analysis-design/edit-post-screen-variant-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit Post Screen</title>
		<link>http://rhymedcode.net/analysis-design/edit-post-screen/</link>
		<comments>http://rhymedcode.net/analysis-design/edit-post-screen/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 21:19:38 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Analysis & Design]]></category>
		<category><![CDATA[WordPress for Windows Phone]]></category>
		<category><![CDATA[pocket wp]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[wordpress for windows phone]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=416</guid>
		<description><![CDATA[I have the most basic Edit Post screen finished. No custom control implemented so far&#8211;want to stay with the native ones. I&#8217;m still not sure about the category selection&#8211;need to look around what other people do.]]></description>
			<content:encoded><![CDATA[<p><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/pocketwp_editpost.png" rel="lightbox[416]"><img src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/pocketwp_editpost-150x150.png" alt="" title="Edit Post Screen" width="150" height="150" class="alignleft size-thumbnail wp-image-417" /></a>I have the most basic Edit Post screen finished. No custom control implemented so far&#8211;want to stay with the native ones. I&#8217;m still not sure about the <code>category</code> selection&#8211;need to look around what other people do.</p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/analysis-design/edit-post-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text Guidelines for Windows Phone 7</title>
		<link>http://rhymedcode.net/analysis-design/text-guidelines-for-windows-phone-7/</link>
		<comments>http://rhymedcode.net/analysis-design/text-guidelines-for-windows-phone-7/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 06:49:07 +0000</pubDate>
		<dc:creator>Joshua Sigar</dc:creator>
				<category><![CDATA[Analysis & Design]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[metro UI]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://rhymedcode.net/?p=393</guid>
		<description><![CDATA[A chapter in UI Design and Interaction Guide for Windows Phone 7 concerning text capitalization says that list items are to be displayed in lowercase. But the Design Templates released as Photoshop files and a Windows Phone app show list &#8230; <a href="http://rhymedcode.net/analysis-design/text-guidelines-for-windows-phone-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/guide_listitems.png" rel="lightbox[393]"><img class="size-thumbnail wp-image-401 alignleft" title="List Items in UI Guide" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/guide_listitems-150x150.png" alt="" width="150" height="150" /></a><br />
<a href="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/photoshop_listitems.png" rel="lightbox[393]"><img class="size-thumbnail wp-image-403 alignright" title="List Items in Photoshop Design Templates" src="http://rhymedcode.net/wordpress/wp-content/uploads/2010/09/photoshop_listitems-150x150.png" alt="" width="150" height="150" /></a>A chapter in <a href="http://go.microsoft.com/fwlink/?LinkID=183218">UI Design and Interaction Guide for Windows Phone 7</a> concerning text capitalization says that list items are to be displayed in <em>lowercase</em>. But the Design Templates released as <a href="http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/07/27/windows-phone-7-design-resources-ui-guide-and-design-templates.aspx">Photoshop files</a> and <a href="http://wp7designtemplates.codeplex.com/">a Windows Phone app</a> show list items in <em>sentence caps</em>.</p>
<p>What to do?</p>
]]></content:encoded>
			<wfw:commentRss>http://rhymedcode.net/analysis-design/text-guidelines-for-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

