<?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>Tims Tech Blog</title>
	<atom:link href="http://www.golen.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.golen.net/blog</link>
	<description>My blog looks bad because I&#039;m working on making yours look better</description>
	<lastBuildDate>Thu, 20 Sep 2012 14:53:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>AJAX Form Not Prompting to Save Password</title>
		<link>http://www.golen.net/blog/ajax-form-not-prompting-to-save-password/</link>
		<comments>http://www.golen.net/blog/ajax-form-not-prompting-to-save-password/#comments</comments>
		<pubDate>Thu, 07 Jun 2012 23:30:31 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[backbone.js]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[prompt for password]]></category>
		<category><![CDATA[saving password]]></category>
		<category><![CDATA[underscore.js]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1565</guid>
		<description><![CDATA[The problem is fairly straight forward. I have an HTML log in form, it uses AJAX to validate my login, then if it validates, it sends me onto the page for my internal application. I was running into problems with &#8230; <a href="http://www.golen.net/blog/ajax-form-not-prompting-to-save-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The problem is fairly straight forward. I have an HTML log in form, it uses AJAX to validate my login, then if it validates, it sends me onto the page for my internal application. I was running into problems with the browser no longer prompting users to save their password.</p>
<p>I first turned to Stack Overflow and found <a href="http://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-password/10941073#10941073">this thread</a>. They gave me some good direction, but no one had a clear answer. It seems that everyone implements this a little differently. For example, if you&#8217;re not redirecting them anywhere after the form is submitted, you need to implement the <a href="http://stackoverflow.com/a/9116737/424457">iFrame solution</a> (I think).</p>
<p>A little bit more about my particular situation. I used <a href="http://documentcloud.github.com/backbone/">backbone.js</a> to inject all of my HTML into the page after page load using <a href="http://documentcloud.github.com/underscore/">underscore.js</a> templates. This is fairly standard practice.</p>
<p>However, what I found out is that in order for the browser to know to prompt you to save your password, it has to be aware of the actual form existing in the HTML. I guess that since I was dynamically injecting my login form after page load, then the browser wasn&#8217;t aware of it.</p>
<h1>Solution</h1>
<p>Embed the HTML for your form directly into your HTML page. I still used backbone.js to attach my backbone view to that HTML, but I cut out using the underscore.js template for the form.</p>
<h2>Caveats</h2>
<ul>
<li>Make sure that your form is still submitting to a real page. In this case, I am using action=&#8221;app&#8221;</li>
<li>Make sure that you have name=&#8221;username&#8221; and name=&#8221;password&#8221; on your form fields to help the browser know that it&#8217;s a log in form</li>
<li>Attach your AJAX validation to the click event of the form&#8217;s submit button, and then once the credentials have been validated, call the submit() method on the form itself.</li>
</ul>
<p>Let me know if this helps you find a solution. If you think I came up with a good solution, then please take a moment to vote on my answer <a href="http://stackoverflow.com/a/10941073/424457?stw=1">over at stackoverflow.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/ajax-form-not-prompting-to-save-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Beauty of the m.nodeable.com Mobile Web App That Only Contains Three Images</title>
		<link>http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/</link>
		<comments>http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/#comments</comments>
		<pubDate>Tue, 22 May 2012 21:37:30 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1550</guid>
		<description><![CDATA[Beauty in programming is a rare thing indeed. I&#8217;ve developed several mobile web applications over the years, and it&#8217;s amazing the lessons that you quickly learn. This is a mobile app that I did for my current employer. It&#8217;s all &#8230; <a href="http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Beauty in programming is a rare thing indeed. I&#8217;ve developed several mobile web applications over the years, and it&#8217;s amazing the lessons that you quickly learn. This is a mobile app that I did for my current employer. It&#8217;s all custom coded with a Backbone.js framework, using Underscore.js and jQuery. I really want to port it over to something like Zepto, but I haven&#8217;t had the time yet.</p>
<p>You can check it out at <a href="http://m.nodeable.com">http://m.nodeable.com</a> but you&#8217;ll need a beta account which you can get from here: <a href="http://border-radius.com/">https://beta.nodeable.com</a>.</p>

<a href='http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/mobile-files/' title='mobile files'><img width="150" height="150" src="http://www.golen.net/blog/wp-content/uploads/2012/05/mobile-files-150x150.jpg" class="attachment-thumbnail" alt="mobile files" title="mobile files" /></a>
<a href='http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/photo-2-17/' title='photo 2'><img width="150" height="150" src="http://www.golen.net/blog/wp-content/uploads/2012/05/photo-2-150x150.png" class="attachment-thumbnail" alt="photo 2" title="photo 2" /></a>
<a href='http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/photo-1/' title='photo 1'><img width="150" height="150" src="http://www.golen.net/blog/wp-content/uploads/2012/05/photo-1-150x150.png" class="attachment-thumbnail" alt="photo 1" title="photo 1" /></a>

<p>How did I accomplish this? Lots and lots of CSS. Know how to use your border radius, gradients, box shadows, and sprites. Here are some links that might help you.</p>
<ul>
<li>Border Radius: <a href="http://border-radius.com/">http://border-radius.com/</a></li>
<li>Gradients: <a href="http://www.colorzilla.com/gradient-editor/">http://www.colorzilla.com/gradient-editor/</a></li>
<li>Box Shadow: <a href="http://www.css3.info/preview/box-shadow/">http://www.css3.info/preview/box-shadow/</a></li>
<li>Sprites: <a href="http://css-tricks.com/css-sprites/">http://css-tricks.com/css-sprites/</a></li>
</ul>
<h2>Another Hint:</h2>
<div><strong>DON&#8217;T USE PRE-BUILT MOBILE FRAMEWORKS</strong> (jQuery Mobile, IUI, Sencha Touch, etc.)</div>
<div></div>
<div>I know that&#8217;s going to freak a lot of people out, but I know what I&#8217;m talking about. I&#8217;ve used them all, and they&#8217;ve got some common problems.</div>
<div>
<ol>
<li>While their kitchen sinks might work OK, if at any point you have to deviate from their pre-built examples and customize something, you&#8217;re going to be causing overhead in an already bloated framework. This can very quickly lead to an unresponsive app.</li>
<li>At any one time you&#8217;re probably only using 1/3 of the framework. Why have all the bloat if you&#8217;re not going to use it?</li>
<li>If you code it yourself, you can debug it yourself. Good luck debugging something built with Sencha Touch.</li>
</ol>
<h2>Final Stats:</h2>
<div>Total JS and HTML size: 265kb (not gzipped)</div>
<div>Total Images: 3</div>
<div>Total Image Size: 28kb</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/the-beauty-of-the-m-nodeable-com-mobile-web-app-that-only-contains-three-images/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Daddy&#8217;s Girl</title>
		<link>http://www.golen.net/blog/daddys-girl/</link>
		<comments>http://www.golen.net/blog/daddys-girl/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 02:15:57 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1547</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221534.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221534.jpg" alt="20120329-221534.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/daddys-girl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Movie Theater in Hilton Head</title>
		<link>http://www.golen.net/blog/interesting-movie-theater-in-hilton-head/</link>
		<comments>http://www.golen.net/blog/interesting-movie-theater-in-hilton-head/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 02:15:09 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1544</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221430.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221430.jpg" alt="20120329-221430.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/interesting-movie-theater-in-hilton-head/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fort Pulaski</title>
		<link>http://www.golen.net/blog/fort-pulaski/</link>
		<comments>http://www.golen.net/blog/fort-pulaski/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 02:14:16 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1541</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221354.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120329-221354.jpg" alt="20120329-221354.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/fort-pulaski/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Savannah</title>
		<link>http://www.golen.net/blog/to-savannah/</link>
		<comments>http://www.golen.net/blog/to-savannah/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 14:03:11 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1538</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120326-100250.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120326-100250.jpg" alt="20120326-100250.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/to-savannah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where are her legs?!</title>
		<link>http://www.golen.net/blog/where-are-her-legs/</link>
		<comments>http://www.golen.net/blog/where-are-her-legs/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 14:02:32 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1535</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120326-100210.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120326-100210.jpg" alt="20120326-100210.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/where-are-her-legs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long walks on the Beach</title>
		<link>http://www.golen.net/blog/long-walks-on-the-beach/</link>
		<comments>http://www.golen.net/blog/long-walks-on-the-beach/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 15:02:00 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1532</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120324-110130.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120324-110130.jpg" alt="20120324-110130.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/long-walks-on-the-beach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sounds Like Bacon</title>
		<link>http://www.golen.net/blog/sounds-like-bacon/</link>
		<comments>http://www.golen.net/blog/sounds-like-bacon/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 22:24:24 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1529</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120323-182407.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120323-182407.jpg" alt="20120323-182407.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/sounds-like-bacon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passed Out Sleeping</title>
		<link>http://www.golen.net/blog/passed-out-sleeping/</link>
		<comments>http://www.golen.net/blog/passed-out-sleeping/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 21:38:45 +0000</pubDate>
		<dc:creator>Tim Golen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.golen.net/blog/?p=1526</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.golen.net/blog/wp-content/uploads/2012/03/20120323-173826.jpg"><img src="http://www.golen.net/blog/wp-content/uploads/2012/03/20120323-173826.jpg" alt="20120323-173826.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.golen.net/blog/passed-out-sleeping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
