<?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>ramblings &#187; gps</title>
	<atom:link href="http://techore.com/tag/gps/feed/" rel="self" type="application/rss+xml" />
	<link>http://techore.com</link>
	<description>come to your own conclusions</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:08:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>COTW: Facebook Places two-timing</title>
		<link>http://techore.com/2010/08/cotw-facebook-places-two-timing/</link>
		<comments>http://techore.com/2010/08/cotw-facebook-places-two-timing/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 12:00:18 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[industry]]></category>
		<category><![CDATA[ars technica]]></category>
		<category><![CDATA[booyah]]></category>
		<category><![CDATA[bright kite]]></category>
		<category><![CDATA[brightkite]]></category>
		<category><![CDATA[conspiracy]]></category>
		<category><![CDATA[conspiracy of the week]]></category>
		<category><![CDATA[cotw]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[four square]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[gowalla]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[location based services]]></category>
		<category><![CDATA[location-based]]></category>
		<category><![CDATA[loopt]]></category>

		<guid isPermaLink="false">http://techore.com/?p=281</guid>
		<description><![CDATA[Last Thursday morning Facebook announced their location based application: Places.  One of the surprises in the announcement is that the most popular existing location based services are able to integrate with Facebook's application and share data.]]></description>
			<content:encoded><![CDATA[<p>ACTION:</p>
<p>Last Thursday morning Facebook <a title="arstechnica.com" href="http://bit.ly/cTpgjm" target="_blank">announced</a> their location based application: Places.  One of the surprises in the announcement is that the <a title="booyah.com" href="http://bit.ly/axnqgi" target="_blank">most</a> <a title="foursquare.com" href="http://bit.ly/cXAXC2" target="_blank">popular</a> <a title="loopt.com" href="http://bit.ly/aXLUcF" target="_blank">existing</a> <a title="brightkite.com" href="http://bit.ly/dDxlqS" target="_blank">location</a> <a title="gowalla.com" href="http://bit.ly/9hwpqh" target="_blank">based</a> services are able to integrate with Facebook&#8217;s application and share data.</p>
<p>REAL SCENARIO:</p>
<p>I believe that Facebook will play nice and work closely with the competition until Facebook is able to become the dominant player in the game.  Then as the competition introduces new features and continue to evolve Facebook will slowly begin to not support those new features and use the &#8216;extraneous&#8217; features as a reason to stop supporting that service altogether.  Since most people are already on Facebook, when the user is required to suddenly have to start checking in with Facebook AND another service, well, we all know how lazy users can be.</p>
<p>Till Next Time</p>
]]></content:encoded>
			<wfw:commentRss>http://techore.com/2010/08/cotw-facebook-places-two-timing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>updating symfony form values after submitting</title>
		<link>http://techore.com/2010/01/updating-symfony-form-values-after-submitting/</link>
		<comments>http://techore.com/2010/01/updating-symfony-form-values-after-submitting/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 21:46:36 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[form update]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sfForms]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://techore.com/wp/?p=240</guid>
		<description><![CDATA[One thing that's made programming on symfony very aggravating has been dealing with the forms.  Some sections of the forms are not well documented.  The main issue that I have with this at work is that we deal with GPS coordinates and the users enter their coordinates in degree-minute-seconds format but the database saves them in degree-decimal format.]]></description>
			<content:encoded><![CDATA[<p>One thing that&#8217;s made programming on symfony very aggravating has been dealing with the forms.  Some sections of the forms are not well documented.  The main issue that I have with this at work is that we deal with GPS coordinates and the users enter their coordinates in degree-minute-seconds format but the database saves them in degree-decimal format.</p>
<p>I had googled for a solution to this problem before, but had not found anything to guide me to the answer.  The couple answers I had found were not very clear on getting it to work.  Till I found <a title="jamescharlesworth.com" href="http://bit.ly/5YpPpu" target="_blank">this</a>.  Following these guidelines I got it to work on a test deployment of symfony.  Code below:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Blog <span style="color: #000000; font-weight: bold;">extends</span> BaseBlog <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #009933; font-style: italic;">/**
	 * Initializes internal state of Blog object.
	 * @see        parent::__construct()
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// Make sure that parent constructor is always invoked, since that</span>
		<span style="color: #666666; font-style: italic;">// is where any default values for this object are set.</span>
		parent<span style="color: #339933;">::</span>__construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #666666; font-style: italic;">/*
	 * this function overrides the BaseBlog::save function to allow
	 * changes to be made to the object before saving to the database
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> save<span style="color: #009900;">&#40;</span>PropelPDO <span style="color: #000088;">$con</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setCommentCount</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'11'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> parent<span style="color: #339933;">::</span><span style="color: #004000;">save</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$con</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Till Next Time</p>
]]></content:encoded>
			<wfw:commentRss>http://techore.com/2010/01/updating-symfony-form-values-after-submitting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
