<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Gavinho Labs</title>
	
	<link>http://www.gavinho.eti.br/blog/en/</link>
	<description>Web, Mobile &amp; Technology</description>
	<lastbuilddate>Sun, 13 May 2012 20:56:21 +0000</lastbuilddate>
	<language>en</language>
	<sy:updateperiod>hourly</sy:updateperiod>
	<sy:updatefrequency>1</sy:updatefrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/gavinholabs" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="gavinholabs" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">gavinholabs</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Mobile App with PhoneGap</title>
		<link>http://www.gavinho.eti.br/blog/en/mobile-app-with-phonegap/</link>
		<comments>http://www.gavinho.eti.br/blog/en/mobile-app-with-phonegap/#comments</comments>
		<pubdate>Sun, 13 May 2012 20:56:21 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=1085-en</guid>
		<description><![CDATA[PhoneGap (was called by the name Apache Callback,but now Apache Cordova) is an open-source mobile development framework produced by Nitobi, purchased by Adobe Systems. It enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as Objective-C.The resulting applications are hybrid, meaning that they are neither truly native (all &#8230; <a href="http://www.gavinho.eti.br/blog/mobile-app-with-phonegap/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gavinho.eti.br/blog/mobile-app-with-phonegap/featured_phonegap/" rel="attachment wp-att-1090"><img class="aligncenter size-full wp-image-1090" title="PhoneGap" src="http://www.gavinho.eti.br/blog/assets/2012/05/featured_phonegap.png" alt="" width="457" height="192" /></a></p>
<blockquote><p><strong>PhoneGap</strong> (was called by the name <strong>Apache Callback</strong>,but now <strong>Apache Cordova</strong>) is an open-source mobile development framework produced by <a title="Nitobi (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Nitobi&amp;action=edit&amp;redlink=1">Nitobi</a>, purchased by <a title="Adobe Systems" href="http://en.wikipedia.org/wiki/Adobe_Systems">Adobe Systems</a>. It enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as <a title="Objective-C" href="http://en.wikipedia.org/wiki/Objective-C">Objective-C</a>.The resulting applications are hybrid, meaning that they are neither truly native (all layout rendering is done via the webview instead of the platform&#8217;s native UI framework) nor purely web based (they are not just web apps but packed for appstore distribution, and have access to part of the device application programming interface).</p></blockquote>
<p style="text-align: right;">Source: <a href="http://en.wikipedia.org/wiki/PhoneGap" target="_blank">Wikipedia.org</a></p>
<p><a href="http://phonegap.com/" target="_blank">PhoneGap</a> is very nice framework to have access of mobile features, like: GPS, camera, file, storage, accelerometer, etc. As you know you develop the GUI with HTML5 and CSS3. If you prefer you can do it without graphical frameworks. But I suggest you to use one, for example: <a href="http://jquerymobile.com/" target="_blank">Jquery Mobile</a>.</p>
<p>The advantages that I found  of this approach are:</p>
<ul>
<li>Multi-platform - you have a unique code and you can delivery to Android, iOS, Windows Phone, BlackBerry, Symbian and Bada. Look, you pack your application like a native app and send it to app stores.</li>
<li>Fast learning &#8211; if you are a web developer you can develop great applications quickly.</li>
</ul>
<p>OK, with this approach you can&#8217;t take advantages of native user experience of each platform. Because that, maybe it is a excellent solution to prototype a mobile app to prove a concept.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/mobile-app-with-phonegap/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Have you ever forgotten a password?</title>
		<link>http://www.gavinho.eti.br/blog/en/have-you-ever-forgotten-a-password/</link>
		<comments>http://www.gavinho.eti.br/blog/en/have-you-ever-forgotten-a-password/#comments</comments>
		<pubdate>Tue, 08 May 2012 02:10:29 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=1060-en</guid>
		<description><![CDATA[I think you have many password to memorize, but it is impossible. Never saves yours passwords in plain text. You need to save its encrypted. The best software to save a security data that I know is 1Password. It is great &#8230; <a href="http://www.gavinho.eti.br/blog/have-you-ever-forgotten-a-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gavinho.eti.br/blog/have-you-ever-forgotten-a-password/1password-2/" rel="attachment wp-att-1065"><img class="aligncenter size-full wp-image-1065" title="1password" src="http://www.gavinho.eti.br/blog/assets/2012/05/1password1.png" alt="" width="574" height="358" /></a></p>
<p>I think you have many password to memorize, but it is impossible. Never saves yours passwords in plain text. You need to save its encrypted.</p>
<p>The best software to save a security data that I know is <a href="https://agilebits.com/onepassword" target="_blank">1Password</a>.</p>
<p>It is great because:</p>
<ul>
<li>It is multi-platform. There are versions to: Windows (USD$49.99) , Mac (USD$49.99), Android (Free), iOS (USD$14.99) and <a href="http://www.windowsphone.com/en-US/apps/21ed2e70-e011-e011-9264-00237de2db9e" target="_blank">Windows Phone</a> (Free).</li>
<li>If you have multiple devices you can keep all <a href="http://help.agilebits.com/1Password3/configure_dropbox_on_mac.html" target="_blank">sync</a> thru the Dropbox. It is possible because you save the database file in your dropbox folder and all devices catch it from there. <a href="http://help.agilebits.com/1Password3/tutorials.html" target="_blank">Check it how to do it</a>.</li>
</ul>
<p>OK, it&#8217;s not cheap. But I believe it is a good investment.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/have-you-ever-forgotten-a-password/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Static Maps as an image</title>
		<link>http://www.gavinho.eti.br/blog/en/google-static-maps-as-an-image/</link>
		<comments>http://www.gavinho.eti.br/blog/en/google-static-maps-as-an-image/#comments</comments>
		<pubdate>Fri, 04 May 2012 03:21:23 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[googleapi]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[maps]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=1044-en</guid>
		<description><![CDATA[The Google Static Maps API lets you embed a Google Maps image on your web page without requiring JavaScript or any dynamic page loading. The Google Static Map service creates your map based on URL parameters sent through a standard &#8230; <a href="http://www.gavinho.eti.br/blog/google-static-maps-as-an-image/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Google Static Maps API lets you embed a Google Maps image on your web page without requiring JavaScript or any dynamic page loading. The Google Static Map service creates your map based on URL parameters sent through a standard HTTP request and returns the map as an image you can display on your web page.</p>
<p>Example:</p>
<pre class="brush: html; gutter: false; no_translate">&lt;img src=&quot;https://maps.googleapis.com/maps/api/staticmap?center=Manaus, AM, Brasil&amp;amp;zoom=14&amp;amp;size=288x200&amp;amp;markers=Manaus, AM&amp;amp;sensor=false&quot; width=&quot;288&quot; height=&quot;200&quot; /&gt;</pre>
<p style="text-align: center;"><img src="https://maps.googleapis.com/maps/api/staticmap?center=Manaus, AM, Brasil&amp;zoom=14&amp;size=288x200&amp;markers=Manaus, AM&amp;sensor=false" alt="" width="288" height="200" /></p>
<p style="text-align: left;">If you want to define a location with <em>latitude</em> and <em>longitude</em> changes the address field (center or/and markers) to values separated by comma.</p>
<p style="text-align: left;"><strong>For example:</strong></p>
<p>Latitude: -3.1251171<br />
Longitude: -60.0261357</p>
<p><strong>-3.1251171,-60.0261357</strong></p>
<pre class="brush: html; gutter: false; no_translate">&lt;img src=&quot;https://maps.googleapis.com/maps/api/staticmap?center=-3.1251171,-60.0261357&amp;amp;zoom=14&amp;amp;size=288x200&amp;amp;markers=-3.1251171,-60.0261357&amp;amp;sensor=false&quot; width=&quot;288&quot; height=&quot;200&quot; /&gt;</pre>
<p><img class="aligncenter" src="https://maps.googleapis.com/maps/api/staticmap?center=-3.1251171,-60.0261357&amp;zoom=14&amp;size=288x200&amp;markers=-3.1251171,-60.0261357&amp;sensor=false" alt="" width="288" height="200" /></p>
<p style="text-align: left;">Reference: <a href="https://developers.google.com/maps/documentation/staticmaps/" target="_blank">https://developers.google.com/maps/documentation/staticmaps/</a></p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/google-static-maps-as-an-image/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to select multiple messages on Windows Phone Email Client?</title>
		<link>http://www.gavinho.eti.br/blog/en/how-to-select-multiple-messages-on-windows-phone-email-client/</link>
		<comments>http://www.gavinho.eti.br/blog/en/how-to-select-multiple-messages-on-windows-phone-email-client/#comments</comments>
		<pubdate>Sat, 28 Apr 2012 13:26:35 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[windowsphone7]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=1018-en</guid>
		<description><![CDATA[On Windows Phone Mail Client you have a hidden feature to select multiple messages and execute actions with this selection. 1. Open your Inbox. 2. Touch at border between the phone and the message. If you continue pressing for more than 2 &#8230; <a href="http://www.gavinho.eti.br/blog/how-to-select-multiple-messages-on-windows-phone-email-client/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gavinho.eti.br/blog/how-to-select-multiple-messages-on-windows-phone-email-client/featured_r/" rel="attachment wp-att-1028"><img class="aligncenter size-medium wp-image-1028" title="Windows Phone Mail Client" src="http://www.gavinho.eti.br/blog/assets/2012/04/featured_r-300x239.jpg" alt="" width="300" height="239" /></a></p>
<p>On Windows Phone Mail Client you have a hidden feature to select multiple messages and execute actions with this selection.</p>
<p>1. Open your Inbox.</p>
<p><a href="http://www.gavinho.eti.br/blog/how-to-select-multiple-messages-on-windows-phone-email-client/wpmail_normal_r/" rel="attachment wp-att-1023"><img class="aligncenter size-medium wp-image-1023" title="Inbox" src="http://www.gavinho.eti.br/blog/assets/2012/04/wpmail_normal_r-187x300.jpg" alt="" width="187" height="300" /></a></p>
<p>2. Touch at border between the phone and the message. If you continue pressing for more than 2 seconds, it will open a menu to execute actions to that specific message.</p>
<p><a href="http://www.gavinho.eti.br/blog/how-to-select-multiple-messages-on-windows-phone-email-client/wpmail_tap_r/" rel="attachment wp-att-1025"><img class="aligncenter size-medium wp-image-1025" title="Touch" src="http://www.gavinho.eti.br/blog/assets/2012/04/wpmail_tap_r-194x300.jpg" alt="" width="194" height="300" /></a></p>
<p>3. Voilá!</p>
<p><a href="http://www.gavinho.eti.br/blog/how-to-select-multiple-messages-on-windows-phone-email-client/wpmail_selected_r/" rel="attachment wp-att-1024"><img class="aligncenter size-medium wp-image-1024" title="Select" src="http://www.gavinho.eti.br/blog/assets/2012/04/wpmail_selected_r-190x300.jpg" alt="" width="190" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/how-to-select-multiple-messages-on-windows-phone-email-client/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a ringtone from a music with Windows Phone 7</title>
		<link>http://www.gavinho.eti.br/blog/en/create-a-ringtone-from-a-music-with-windows-phone-7/</link>
		<comments>http://www.gavinho.eti.br/blog/en/create-a-ringtone-from-a-music-with-windows-phone-7/#comments</comments>
		<pubdate>Fri, 20 Apr 2012 16:00:45 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[ringtone]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windowsphone7]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=978-en</guid>
		<description><![CDATA[The Marketplace for Windows Phone 7 has many application to create ringtones. I tested some applications and I chose easyRing and Music. I liked this application because you can download music from Youtube directly. But you can download from skydrive, &#8230; <a href="http://www.gavinho.eti.br/blog/create-a-ringtone-from-a-music-with-windows-phone-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gavinho.eti.br/blog/create-a-ringtone-from-a-music-with-windows-phone-7/easyring2/" rel="attachment wp-att-983"><img class="size-medium wp-image-983 alignnone" title="easyring2" src="http://www.gavinho.eti.br/blog/assets/2012/04/easyring2-180x300.png" alt="" width="180" height="300" /></a><a href="http://www.gavinho.eti.br/blog/create-a-ringtone-from-a-music-with-windows-phone-7/easyring1/" rel="attachment wp-att-984"><img class="alignnone size-medium wp-image-984" title="easyring1" src="http://www.gavinho.eti.br/blog/assets/2012/04/easyring1-180x300.png" alt="" width="180" height="300" /></a></p>
<p>The Marketplace for Windows Phone 7 has many application to create ringtones.</p>
<p>I tested some applications and I chose <strong><a href="http://www.windowsphone.com/en-US/apps/c55f00a0-1be0-4111-b529-1913f97064b5?wa=wsignin1.0" target="_blank">easyRing and Music</a></strong>.</p>
<p>I liked this application because you can download music from Youtube directly. But you can download from skydrive, sound cloud and a several others sites.</p>
<p>After you download the music you edit the file, choose less 40 seconds and save it.</p>
<p>Voilà! You have your ringtone selectable in Settings &gt; Ringtones+Sound.</p>
<p>But if you have a Windows PC you can create it from Zune. Check it <a href="http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/create-ringtones.aspx" target="_blank">here</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/create-a-ringtone-from-a-music-with-windows-phone-7/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A experimental function to phonetic search in PHP</title>
		<link>http://www.gavinho.eti.br/blog/en/a-experimental-function-to-phonetic-search-in-php/</link>
		<comments>http://www.gavinho.eti.br/blog/en/a-experimental-function-to-phonetic-search-in-php/#comments</comments>
		<pubdate>Thu, 19 Apr 2012 13:00:00 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[phonetic]]></category>
		<category><![CDATA[PHP]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=948-en</guid>
		<description><![CDATA[The Penultimate Word Sometimes you need to find a name in database but you don&#8217;t remember how exactly this name is written. The phonetic search may be used to this situation. In PHP you have 4 functions to use in &#8230; <a href="http://www.gavinho.eti.br/blog/a-experimental-function-to-phonetic-search-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_963" class="wp-caption aligncenter" style="width: 363px;">
<dt class="wp-caption-dt"><a href="http://www.gavinho.eti.br/blog/a-experimental-function-to-phonetic-search-in-php/phonics1/" rel="attachment wp-att-963"><img class=" wp-image-963   " title="http://www.jedword.com" src="http://www.gavinho.eti.br/blog/assets/2012/04/Phonics1.gif" alt="" width="353" height="288" /></a></dt>
<dd class="wp-caption-dd">The Penultimate Word</dd>
</dl>
</div>
<p>Sometimes you need to find a name in database but you don&#8217;t remember how exactly this name is written. The phonetic search may be used to this situation.</p>
<p>In PHP you have 4 functions to use in this situation.</p>
<p><strong>Textual: </strong>the focus is the textual similarity.</p>
<p><a href="http://br2.php.net/manual/en/function.levenshtein.php" target="_blank">levenshtein</a><br />
<a href="http://br2.php.net/manual/en/function.similar-text.php" target="_blank">similar_text</a></p>
<p><strong>Phonetic: </strong>the focus is the phonetic similarity.</p>
<p><a href="http://br2.php.net/manual/en/function.metaphone.php" target="_blank">metaphone</a><br />
<a href="http://br2.php.net/manual/en/function.soundex.php" target="_blank">soundex</a></p>
<p>In your application you can use any approach (phonetic or textual).</p>
<p>The function <strong>similar_text</strong> is more easy to use, because without additional code you can get the percentual of similarity.</p>
<p>For example:</p>
<pre class="brush: php; gutter: false; no_translate">$r = similar_text($str1, $str2,$perc);</pre>
<p class="brush: php; gutter: false">The parameter <strong>$perc</strong> is passed by reference, then you get the percentual of similarity.</p>
<p class="brush: php; gutter: false">But if you prefer to check with phonetic approach you can use the specific functions. I created the function below with <strong>soundex</strong> that return the percentual of phonetic similarity.</p>
<p class="brush: php; gutter: false"><strong>Attention: <span style="color: #ff0000;">I didn&#8217;t test the performance of this code.</span></strong></p>
<pre class="brush: php; gutter: false; no_translate">function phonetic($str1, $str2) {
	$sdx1 = soundex($str1);
	$sdx2 = soundex($str2);
	$simi = 0;

	if ($sdx1 == $sdx2) {
		$simi = 1; //100%
	}
	else {
		$asdx1 = str_split($sdx1);
		$asdx2 = str_split($sdx2);
		if ($asdx1[0] == $asdx2[0]) {
			$simi += 0.4; //adding 40%
		}
		$n1 = substr($sdx1, 1);
		$n2 = substr($sdx2, 1);
		if ($n1 == $n2) {
			$simi += 0.6; //adding 60%
		}
		else {
			$n1 = (int) $n1;
			$n2 = (int) $n2;
			if ($n1 >; $n2) {
				$diff = $n1 - $n2;
				$p = $diff/$n1;
			}
			else {
				$diff = $n2 - $n1;
				$p = $diff/$n2;
			}
			if ($diff <;= 100) {
				$simi += 0.4; //adding 40%
			}
		}
	}

	return $simi;
}</pre>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/a-experimental-function-to-phonetic-search-in-php/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7.5 and Lumia 800</title>
		<link>http://www.gavinho.eti.br/blog/en/windows-phone-7-5-and-lumia-800/</link>
		<comments>http://www.gavinho.eti.br/blog/en/windows-phone-7-5-and-lumia-800/#comments</comments>
		<pubdate>Wed, 18 Apr 2012 13:00:29 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[lumia]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wp7]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=809-en</guid>
		<description><![CDATA[I&#8217;m using the smartphone Nokia Lumia 800 with Windows Phone 7. It&#8217;s great! Tiles are very useful with good information quickly. Locked screen with current or next meeting. People hub and linked contacts. Pin people to Tiles it is a &#8230; <a href="http://www.gavinho.eti.br/blog/windows-phone-7-5-and-lumia-800/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gavinho.eti.br/blog/windows-phone-7-5-and-lumia-800/nokia-lumia-800-poster_1/" rel="attachment wp-att-901"><img class="aligncenter  wp-image-901" title="nokia-lumia-800-poster_1" src="http://www.gavinho.eti.br/blog/assets/2012/04/nokia-lumia-800-poster_1.jpg" alt="" width="416" height="276" /></a></p>
<p>I&#8217;m using the smartphone Nokia Lumia 800 with Windows Phone 7.</p>
<h2>It&#8217;s great!</h2>
<ul>
<li>Tiles are very useful with good information quickly.</li>
<li>Locked screen with current or next meeting.</li>
<li>People hub and linked contacts.</li>
<li>Pin people to Tiles it is a good feature to follow and quick dial.</li>
<li>&#8220;Me&#8221; feature in Tiles is very good to quickly post a message and see notifications linked with social network (like Facebook, Twitter, Linkedin, Windows Live).</li>
<li>Linked inboxes is good when you have more than one e-mail address. The good thing is you can choose what inbox you want to link.</li>
<li>Find my phone it is a native feature to geolocation your phone. You can do that from WindowsPhone.com.</li>
<li>Battery saver: it improve the battery life.</li>
<li>Messaging integrated with SMS and Facebook chat.</li>
<li>Back feature to show all opened app.</li>
<li>Nokia Drive app it is a really GPS navigator.</li>
<li>Music+Video app like a podcast player.</li>
<li>Windows Phone 7 Connector for Mac with iTunes integration.</li>
<li>Feature that enable sharing data with app. For example: You can play a music at Music+Video app and go to Lyrics app and get lyric automatically related with that music.</li>
<li>Battery. It is still alive for all day without battery saver feature. I charge it only at night.</li>
<li>The 8Mb camera with dual flash and you can take a photo with phone locked. You only need to press the external camera button.</li>
<li>Performance.</li>
</ul>
<h2>It could be better:</h2>
<ul>
<li>Unlock phone with gestures.</li>
<li>Define a music as a ringtone.</li>
<li>Notification bar.</li>
<li>Tiles Calendar with more than one meeting.</li>
<li>Internet Explorer tabs features</li>
<li>Speaker</li>
</ul>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/windows-phone-7-5-and-lumia-800/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 8 Developer Kit</title>
		<link>http://www.gavinho.eti.br/blog/en/windows-8-developer-kit/</link>
		<comments>http://www.gavinho.eti.br/blog/en/windows-8-developer-kit/#comments</comments>
		<pubdate>Tue, 17 Apr 2012 13:00:44 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[windows8]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=928-en</guid>
		<description><![CDATA[Would you like to start to develop for future Windows 8? You can do it today! Download and install Windows 8 Consumer Preview Microsoft Visual Studio 11 Express Beta You can use a virtual machine like Vmware, VirtualBox and others. &#8230; <a href="http://www.gavinho.eti.br/blog/windows-8-developer-kit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gavinho.eti.br/blog/windows-8-developer-kit/vs2011/" rel="attachment wp-att-935"><img class="aligncenter  wp-image-935" title="VS2011" src="http://www.gavinho.eti.br/blog/assets/2012/04/VS2011.jpg" alt="" width="379" height="265" /></a></p>
<p>Would you like to start to develop for future Windows 8?</p>
<p>You can do it today!</p>
<h2>Download and install</h2>
<ul>
<li><a href="http://windows.microsoft.com/en-US/windows-8/download" target="_blank">Windows 8 Consumer Preview</a></li>
<li><a href="http://msdn.microsoft.com/en-us/windows/apps/hh852659" target="_blank">Microsoft Visual Studio 11 Express Beta</a></li>
</ul>
<p>You can use a virtual machine like Vmware, VirtualBox and others. But pay attention to minimal requirements.</p>
<p><strong>Hardware Requirements:</strong></p>
<ul>
<li>1.6 GHz or faster processor</li>
<li>1.5 GB of RAM memory</li>
<li>5.0 GB of available hard disk space</li>
<li>5400 RPM hard drive</li>
<li>DirectX 9-capable video card running at 1024 x 768 or higher display resolution</li>
</ul>
<p>Other downloads: <a href="http://msdn.microsoft.com/pt-br/windows/apps/br229516" target="_blank">http://msdn.microsoft.com/pt-br/windows/apps/br229516</a></p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/windows-8-developer-kit/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to define a type for a function parameter in PHP?</title>
		<link>http://www.gavinho.eti.br/blog/en/how-to-define-a-type-for-a-function-parameter-in-php/</link>
		<comments>http://www.gavinho.eti.br/blog/en/how-to-define-a-type-for-a-function-parameter-in-php/#comments</comments>
		<pubdate>Mon, 16 Apr 2012 13:00:16 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[PHP]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=773-en</guid>
		<description><![CDATA[It is not really true that in PHP you can not define or force a type for your function parameter. You can do that with a mechanism called type hinting. For example: class User { public $name; public $username; public &#8230; <a href="http://www.gavinho.eti.br/blog/how-to-define-a-type-for-a-function-parameter-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is not really true that in PHP you can not define or force a type for your function parameter. You can do that with a mechanism called <strong><a href="http://php.net/manual/en/language.oop5.typehinting.php" target="_blank">type hinting</a></strong>.</p>
<p>For example:</p>
<pre class="brush: php; gutter: true; no_translate">class User {
	public $name;
	public $username;
	public $password;

	public function __construct($username, $password) {
		$this-&gt;username = $username;
		$this-&gt;password = $password;
	}
}

class AccessControl {
	public function login(User $user) {
		echo &quot;Check login...&quot;;
		echo $user-&gt;username;
	}
}

//main
$usero = new User(&quot;lgavinho&quot;,&quot;jaja&quot;);
$ac = new AccessControl();
$ac-&gt;login($usero);</pre>
<p class="brush: php; gutter: true">Look at line 13. As you see the method login has a parameter called <strong>$user</strong> with type <strong>User</strong>. User is a class.</p>
<h2 class="brush: php; gutter: true">You can</h2>
<ul>
<li>Define a NULL default value for your parameter.</li>
<li>Types supported: class, interface and array.</li>
<li>It&#8217;s works for function and method.</li>
<li>In PHP 5.4 with type <a href="http://www.php.net/manual/en/language.types.callable.php" target="_blank">callable</a>, but callback functions can not only be simple functions, but also object methods, including static class methods.</li>
</ul>
<p class="brush: php; gutter: true">But this feature is not complete, it can not be used with scalar types such as int or string.</p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/how-to-define-a-type-for-a-function-parameter-in-php/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Backup process and infrastructure</title>
		<link>http://www.gavinho.eti.br/blog/en/my-backup-process-and-infrastructure/</link>
		<comments>http://www.gavinho.eti.br/blog/en/my-backup-process-and-infrastructure/#comments</comments>
		<pubdate>Sat, 14 Apr 2012 14:46:35 +0000</pubdate>
		<dc:creator>lgavinho</dc:creator>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bitbucket]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[timemachine]]></category>

		<guid ispermalink="false">http://www.gavinho.eti.br/blog/?p=404-en</guid>
		<description><![CDATA[Nowadays if your data are digital because you use a computer, smartphone or tablet, you need to have a good backup mechanism. My computer is a Mac, and because that I will talk about tools for Mac OS. But I’m &#8230; <a href="http://www.gavinho.eti.br/blog/my-backup-process-and-infrastructure/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gavinho.eti.br/blog/my-backup-process-and-infrastructure/cloudbackup/" rel="attachment wp-att-842"><img class="aligncenter  wp-image-842" title="cloudbackup" src="http://www.gavinho.eti.br/blog/assets/2012/04/cloudbackup.jpg" alt="" width="336" height="252" /></a></p>
<p>Nowadays if your data are digital because you use a computer, smartphone or tablet, you need to have a good backup mechanism.</p>
<p>My computer is a Mac, and because that I will talk about tools for Mac OS. But I’m sure that have a similar or the same for Windows or Linux.</p>
<p>The most important files I’m save in <a href="http://db.tt/8M0meYb" target="_blank">Dropbox</a> folder on my computer. But I don’t save there my references files (like photos, videos, e-books). Automatically the Dropbox save it in the cloud. And this is my first backup. It’s free and automatic.</p>
<p>OK, but I have another important files: the project files. For that I’m using a version control repository. In my job we are using <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> (SVN) with a corporate server. Then I’m having backup in the server, and in the server backup. For my personal projects I’m using GIT and <a href="https://bitbucket.org/" target="_blank">Bitbucket</a> with private repository. Then I’m having backup in the <a href="https://bitbucket.org/" target="_blank">Bitbucket</a> server.</p>
<p>And for my all computer I’m using the <a href="http://support.apple.com/kb/HT1427" target="_blank">Time Machine</a>. It is software for Mac OS that save the all data from my computer in another disk. It is very nice and it is easy to restore. For that I have a big USB external HD and I plug it for least one week.</p>
<p>And finally I have another external HD for archived files (very old files and company emails) and references files (photos, videos, e-books). My reference files is always in my computer to quickly access and because that it is save in Time Machine too.</p>
<p>I never transport my notebook with my backup disks (HD).</p>
<h3>Summary</h3>
<ul>
<li><a href="http://db.tt/8M0meYb" target="_blank">Dropbox</a> for most important files.</li>
<li>Version Control repository &#8211; SVN for company projects and Bitbucket GIT for personal projects.</li>
<li>Time Machine backup in external HD.</li>
<li>Another external HD for archived and reference files.</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentrss>http://www.gavinho.eti.br/blog/en/my-backup-process-and-infrastructure/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

