<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Opinionated Input Builders – Part 9 override the default Date Time picker</title>
	<atom:link href="http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/</link>
	<description></description>
	<lastBuildDate>Thu, 16 May 2013 09:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Maarten Balliauw</title>
		<link>http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/#comment-194</link>
		<dc:creator>Maarten Balliauw</dc:creator>
		<pubDate>Thu, 02 Jul 2009 09:34:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker.aspx#comment-194</guid>
		<description>Also checkout http://haineault.com/media/jquery/ui-timepickr/page/, which is a jQuery time picker I find quite nice and fancy.</description>
		<content:encoded><![CDATA[<p>Also checkout <a href="http://haineault.com/media/jquery/ui-timepickr/page/" rel="nofollow">http://haineault.com/media/jquery/ui-timepickr/page/</a>, which is a jQuery time picker I find quite nice and fancy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/#comment-193</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Tue, 30 Jun 2009 17:46:19 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker.aspx#comment-193</guid>
		<description>@jimmy... by easier to test you suggest that the string based methods are tested and that you correctly setup the ViewContext for the Html Helpers. I would rather change this implementation so that rather than taking a DateTime I would make a type that contains all the date needed so that the ViewModel for this input is cleaner. At the end of the day I think this would be pretty easy to test with QUnit.. and given the amount of javascript I think it would be necessary.

@David, I am not sure that this jquery could use class selectors, at least not without it being turned into a plugin. This has to work in a way where multiple inputs of the same type could exist on the same page and they need to work independently of each other.   But that being said, I will update the source code and would love to see how it could be done with class selectors alone.  I imagine it would have to include some knowledge of the sibling controls.

</description>
		<content:encoded><![CDATA[<p>@jimmy&#8230; by easier to test you suggest that the string based methods are tested and that you correctly setup the ViewContext for the Html Helpers. I would rather change this implementation so that rather than taking a DateTime I would make a type that contains all the date needed so that the ViewModel for this input is cleaner. At the end of the day I think this would be pretty easy to test with QUnit.. and given the amount of javascript I think it would be necessary.</p>
<p>@David, I am not sure that this jquery could use class selectors, at least not without it being turned into a plugin. This has to work in a way where multiple inputs of the same type could exist on the same page and they need to work independently of each other.   But that being said, I will update the source code and would love to see how it could be done with class selectors alone.  I imagine it would have to include some knowledge of the sibling controls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Alpert</title>
		<link>http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/#comment-192</link>
		<dc:creator>David Alpert</dc:creator>
		<pubDate>Tue, 30 Jun 2009 15:54:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker.aspx#comment-192</guid>
		<description>You could factor that jQuery out of your control and into an external script file by using CSS classes instead of ID&#039;s to identify your HTML elements.  The script can then use class selectors to wire up your client-side event handling.

This gives you lighter pages, cacheable javascript, and better overall seperation of concerns on the front-end.</description>
		<content:encoded><![CDATA[<p>You could factor that jQuery out of your control and into an external script file by using CSS classes instead of ID&#8217;s to identify your HTML elements.  The script can then use class selectors to wire up your client-side event handling.</p>
<p>This gives you lighter pages, cacheable javascript, and better overall seperation of concerns on the front-end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/erichexter/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker/#comment-191</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Tue, 30 Jun 2009 13:50:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/30/opinionated-input-builders-part-9-override-the-default-date-time-picker.aspx#comment-191</guid>
		<description>Man - master pages are HTML inheritance.  It&#039;s basically the same thing, right?  Derived classes, template method, overriding methods to change behavior.  I still prefer code, though, as it&#039;s a lot easier to test and debug.  Doing F11 through partials is not the easiest thing in the world.</description>
		<content:encoded><![CDATA[<p>Man &#8211; master pages are HTML inheritance.  It&#8217;s basically the same thing, right?  Derived classes, template method, overriding methods to change behavior.  I still prefer code, though, as it&#8217;s a lot easier to test and debug.  Doing F11 through partials is not the easiest thing in the world.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
