<?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>Keasoft &#187; Web</title>
	<atom:link href="http://www.keasoft.it/blog/category/web/feed" rel="self" type="application/rss+xml" />
	<link>http://www.keasoft.it/blog</link>
	<description>Dio non gioca a dadi con l'universo</description>
	<lastBuildDate>Wed, 11 Jan 2012 11:42:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Human vs Bot: captcha o altro?</title>
		<link>http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro</link>
		<comments>http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro#comments</comments>
		<pubDate>Sun, 02 Oct 2011 13:28:56 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/?p=232</guid>
		<description><![CDATA[In questi giorni mi sono chiesto se il catpcha fosse veramente la soluzione al problema Bot per SocialCibus. Così mi sono letto diversi articoli in rete. Alcuni di questi parlavano di un 3-10% di utenti che, quando vedono un captcha, &#8230; <a href="http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F10%2F02%2Fhuman-vs-bot-captcha-o-altro&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F10%2F02%2Fhuman-vs-bot-captcha-o-altro&amp;text=Human+vs+Bot%3A+captcha+o+altro%3F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F10%2F02%2Fhuman-vs-bot-captcha-o-altro&amp;title=Human+vs+Bot%3A+captcha+o+altro%3F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F10%2F02%2Fhuman-vs-bot-captcha-o-altro&amp;title=Human+vs+Bot%3A+captcha+o+altro%3F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=Human vs Bot: captcha o altro?&amp;body=http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>In questi giorni mi sono chiesto se il <a href="http://it.wikipedia.org/wiki/Captcha" title="captcha">catpcha</a> fosse veramente la soluzione al problema <a href="http://it.wikipedia.org/wiki/Bot" title="Bot">Bot</a> per <a href="http://socialcibus.com" title="Ricette per tutti SociaCibus">SocialCibus</a>. Così mi sono letto diversi articoli in rete. Alcuni di questi parlavano di un 3-10% di utenti che, quando vedono un captcha, lasciano perdere la registrazione, altri abbandonano solo dopo aver sbagliato una o due volte l&#8217;inserimento del testo.<br />
Posso tenere fuori i bot e dentro gli esseri umani senza captcha? E&#8217; la domanda che si sono posti in tanti.<br />
<span id="more-232"></span><br />
Di risposte ce ne sono diverse ma a me è piaciuta questa soluzione: inserire un campo di testo in più nel form, nascondendolo con css o javascipt e verificare che questo rimanga vuoto.<br />
Il trucco è che i bot normalmente non visualizzano la pagina e sono ingolositi da campi di testo che tendono a riempire in maniera casuale o inserendo js.<br />
Quindi se sei un bot probabilmente riempirai il campo, se sei un umano sicuramente no, visto che è nascosto!</p>
<p>Per Symfony è piuttosto semplice implementare questo sistema. Nel form si aggiunge un campo di testo, es:</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgetSchema</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> sfWidgetFormInputText<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">validatorSchema</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> EmptyValidator<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'required'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>e un metodo che mi verifichi se l&#8217;errore è in questo campo</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> isBot<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #b1b100;">return</span> <span style="color: #339933;">!</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isValid</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">errorSchema</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span> instanceof sfValidatorError<span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>quindi nell&#8217;action</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> executeRegistration<span style="color: #009900;">&#40;</span>sfWebRequest <span style="color: #000088;">$request</span><span style="color: #009900;">&#41;</span><br />
&nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">form</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> RegistrationForm<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isMethod</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'POST'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getParameter</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isBot</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">forward404</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">isValid</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// tutto ok, procedi!</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>Anche il 404 sembra sia un modo per scoraggiare i bot.<br />
Aggiornerò al più presto con le statistiche di funzionamento di questo sistema.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2011/10/02/human-vs-bot-captcha-o-altro/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testare pagine web con versioni differenti di Internet Explorer</title>
		<link>http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer</link>
		<comments>http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer#comments</comments>
		<pubDate>Sun, 18 Sep 2011 14:40:47 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/?p=229</guid>
		<description><![CDATA[Spesso ho la necessità di testare alcune pagine web con differenti versioni di IE, a volte per la grafica ma più spesso per verificare le funzionalità Javascript sulle varie versioni di Internet Explorer. Fin&#8217;ora ho sempre pensato che lo strumento &#8230; <a href="http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F09%2F18%2Ftestare-pagine-web-con-versioni-differenti-di-internet-explorer&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F09%2F18%2Ftestare-pagine-web-con-versioni-differenti-di-internet-explorer&amp;text=Testare+pagine+web+con+versioni+differenti+di+Internet+Explorer" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F09%2F18%2Ftestare-pagine-web-con-versioni-differenti-di-internet-explorer&amp;title=Testare+pagine+web+con+versioni+differenti+di+Internet+Explorer" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2011%2F09%2F18%2Ftestare-pagine-web-con-versioni-differenti-di-internet-explorer&amp;title=Testare+pagine+web+con+versioni+differenti+di+Internet+Explorer" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=Testare pagine web con versioni differenti di Internet Explorer&amp;body=http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Spesso ho la necessità di testare alcune pagine web con differenti versioni di IE, a volte per la grafica ma più spesso per verificare le funzionalità Javascript sulle varie versioni di Internet Explorer.<br />
Fin&#8217;ora ho sempre pensato che lo strumento migliore fosse <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" title="IETester">IETester</a> anche se sapevo che non era sempre coerente.<br />
Oggi ho letto questa guida sul <a href="http://coding.smashingmagazine.com/2011/09/02/reliable-cross-browser-testing-part-1-internet-explorer/">cross browser testing con IE</a>. Spettacolo!<br />
Il post è un po&#8217; lunghino ma ne vale la pena leggerlo. Non racconta cose mirabolanti ma descrive lo stato dell&#8217;arte e mi ha rivelato un tool che non conoscevo: <a href="http://utilu.com/IECollection/">Utilu IE Collection</a> [Non è un errore si chiama proprio Utilu]<br />
Ma non voglio svelarvi il finale <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Buona lettura.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2011/09/18/testare-pagine-web-con-versioni-differenti-di-internet-explorer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>K3a.it: un mashup in PHP (blog, flickr, twitter) con HTML5 e CSS3</title>
		<link>http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3</link>
		<comments>http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3#comments</comments>
		<pubDate>Sat, 20 Nov 2010 10:47:00 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[k3a]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/?p=192</guid>
		<description><![CDATA[Prendendo spunto dal mio amico Francesco mi vorrei inoltrare nel creare una pagina di mashup dei miei account dei servizi maggiormente utilizzati: twitter, flickr e blog. Visto che non inserisco contenuti da mesi in nessuno dei tre, voi direte, &#8220;cosa &#8230; <a href="http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2010%2F11%2F20%2Fk3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2010%2F11%2F20%2Fk3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3&amp;text=K3a.it%3A+un+mashup+in+PHP+%28blog%2C+flickr%2C+twitter%29+con+HTML5+e+CSS3" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2010%2F11%2F20%2Fk3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3&amp;title=K3a.it%3A+un+mashup+in+PHP+%28blog%2C+flickr%2C+twitter%29+con+HTML5+e+CSS3" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2010%2F11%2F20%2Fk3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3&amp;title=K3a.it%3A+un+mashup+in+PHP+%28blog%2C+flickr%2C+twitter%29+con+HTML5+e+CSS3" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=K3a.it: un mashup in PHP (blog, flickr, twitter) con HTML5 e CSS3&amp;body=http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Prendendo spunto dal mio amico <a href="http://www.trucchia.it/">Francesco</a> mi vorrei inoltrare nel creare una pagina di mashup dei miei account dei servizi maggiormente utilizzati: twitter, flickr e blog. Visto che non inserisco contenuti da mesi in nessuno dei tre, voi direte, &#8220;cosa lo fai a fare?&#8221;. Per ripassare come si può realizzare qualcosa di semplice in PHP e come si può organizzare un progetto (semplice) da zero utilizzando le &#8220;migliori pratiche&#8221; imparando qualcosa di nuovo.<span id="more-192"></span></p>
<p>Vediamo le cose che devono essere affrontate in ordine sparso:</p>
<ol>
<li>Registrare il dominio </li>
<li>Scrivere le storie</li>
<li>Implementare il tutto</li>
<li>Studiare HTML5 e CSS3</li>
<li>Creare/trovare la grafica</li>
</ol>
<p><strong>1. Registrare il dominio</strong><br />
Per mia grande fortuna il dominio <a href="k3a.it">k3a.it</a> era disponibile, l&#8217;ho acquistato e sono cominciati i problemi. Ho un account illimitato su Dreamhost con il quale posso ospitare i miei siti personali. Il problema è che permette di registrare o trasferire solo domini .com, .net, .org, .edu. Il mio registrant per conto suo ha politiche di cambio DNS un po&#8217; troppo restrittive e non sono riuscito a far puntare i DNS correttamente: come risultato ho inserito a mano una ventina di entri nel gestore di DNS. Cominciamo male!</p>
<p><strong>2. Scrivere le storie</strong><br />
Quali storie scriviamo? &#8220;C&#8217;era una volta&#8230;&#8221; no, non quelle! Facciamo un elenco delle funzionalità che il sito/pagina deve avere:</p>
<ul>
<li>Come utente voglio visualizzare gli ultimi K tweet di k3a</li>
<li>Come utente voglio visualizzare gli ultimi E post di keasoft.it</li>
<li>Come utente voglio visualizzare le ultime A foto di kea42 su Flickr</li>
<li>Come utente voglio visualizzare alcune informazioni sull&#8217;autore del sito</li>
</ul>
<p><strong>3. Implementare il tutto</strong><br />
Prima di iniziare direi di ricordare a me stesso alcune cose da tenere in mente durante lo sviluppo:</p>
<ul>
<li>DRTW (Don&#8217;t Reinvent The Wheel)</li>
<li>TDD (Test Driven Design)</li>
<li>KISS (Keep It Simple, Stupid)</li>
<li>DRY (Don&#8217;t Repeat Yourself)</li>
<li>HFDSA (Hai Finito Di Scrive Acronimi?)</li>
</ul>
<p>Quindi per il primo principio è meglio verificare prima se ci sono già alcune classi PHP che fanno ciò di cui ho bisogno.<br />
Nel caso in cui non esistano classi adatte o per fare alcuni di test di integrazione, direi di orientarmi su un classico <a href="http://www.phpunit.de/">PHPUnit</a> per la scrittura dei test. Questa scelta (a parte perché PHPUnit è la libreria di riferimento) è anche perché probabilmente non utilizzerò nessun framework in particolare vista la semplicità del progetto.</p>
<p><strong>4. Studiare HTML5 e CSS3</strong><br />
Al momento un progetto molto interessante per iniziare a scrivere da subito siti con HTML5 è senza dubbio <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>. Nella pagina del progetto ci sono anche numerosi link dove poter iniziare a studiare sia HTML5 che CSS3. Il progetto HTML5 Boilerplate, attraverso un template omnicomprensivo e a partire da una pagina HTML5, degrada il codice in base al browser che visualizza la pagine e la &#8220;traduce&#8221; in modo che ogni browser possa interpretarla in maniera corretta. Il sistema è piuttosto semplice nel concetto ma molto potente nel contempo. Per esempio il tag</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HEADER</div></div>
<p>è tradotto per i browser che non lo suppotano con</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;DIV class&quot;header&quot;&gt;</div></div>
<p>e adattati contemporaneamente anche i CSS, il tutto via Javascript e senza scrivere una riga di codice.<br />
Oltre a questo mette a disposizione template sia per i CSS che per i Javascript e anche per i Web server più diffusi in modo da iniziare a lavorare con un ambiante già configurato per le performace.</p>
<p><strong>5. Creare/trovare la grafica</strong><br />
Il primo pensiero è stato quello di cercare sui classici siti che forniscono template gratuitamente, ma dopo un po&#8217; di ricerca, i siti che offrono un layout a me congeniale e realizzati in HTML5 sono veramente pochi. Al momento mi ispirerò vagamente ad un layout a tre colonne e cercherò di riscriverlo per HTML5, ispirandomi di tanto in tanto ad altri siti.</p>
<p>Ok ci siamo, posso cominciare.<br />
Alla prossima puntata!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2010/11/20/k3a-it-un-mashup-in-php-blog-flickr-twitter-con-html5-e-css3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPC 2008 Marble game: the solution!</title>
		<link>http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution</link>
		<comments>http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution#comments</comments>
		<pubDate>Thu, 13 Nov 2008 13:28:25 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[IPC]]></category>
		<category><![CDATA[IPC2008]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/?p=152</guid>
		<description><![CDATA[I&#8217;m happy to announce that I&#8217;ve found the solution! Marble game (only one level) is solved with 30 steps and the program runs only 173734 iterations!!! You can try to decrease the limit (now 30) and reach the solution quickly&#8230; &#8230; <a href="http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F11%2F13%2Fipc-2008-marble-game-the-solution&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F11%2F13%2Fipc-2008-marble-game-the-solution&amp;text=IPC+2008+Marble+game%3A+the+solution%21" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F11%2F13%2Fipc-2008-marble-game-the-solution&amp;title=IPC+2008+Marble+game%3A+the+solution%21" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F11%2F13%2Fipc-2008-marble-game-the-solution&amp;title=IPC+2008+Marble+game%3A+the+solution%21" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=IPC 2008 Marble game: the solution!&amp;body=http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>I&#8217;m happy to announce that I&#8217;ve found the solution! Marble game (only one level) is solved with 30 steps and the program runs only 173734 iterations!!! <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
You can try to decrease the limit (now 30) and reach the solution quickly&#8230; but be aware, you may not find the solution at all.</p>
<p><a href='http://www.keasoft.it/blog/wp-content/uploads/2008/11/marble_game.zip'>Donwload: marble_game.zip (1.3KB)</a></p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ php marble_game.php</div></div>
<p>And wait&#8230; <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2008/11/13/ipc-2008-marble-game-the-solution/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADSL: il distacco</title>
		<link>http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco</link>
		<comments>http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco#comments</comments>
		<pubDate>Fri, 09 May 2008 15:15:22 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[adsl]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/?p=110</guid>
		<description><![CDATA[Dopo diversi anni di ADSL a casa, l&#8217;assuefazione è diventata completa&#8230; e adesso&#8230; SONO SENZA!!! Sto cambiando operatore e nel frattempo sono scollegato dalla rete globale per almeno 20 giorni&#8230; ne sono già passati 10!!! Passo da Wooow (ex Tariffe.it &#8230; <a href="http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F05%2F09%2Fadsl-il-distacco&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F05%2F09%2Fadsl-il-distacco&amp;text=ADSL%3A+il+distacco" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F05%2F09%2Fadsl-il-distacco&amp;title=ADSL%3A+il+distacco" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F05%2F09%2Fadsl-il-distacco&amp;title=ADSL%3A+il+distacco" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=ADSL: il distacco&amp;body=http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Dopo diversi anni di ADSL a casa, l&#8217;assuefazione è diventata completa&#8230; e adesso&#8230; SONO SENZA!!!<br />
Sto cambiando operatore e nel frattempo sono scollegato dalla rete globale per almeno 20 giorni&#8230; ne sono già passati 10!!!<br />
Passo da Wooow (ex Tariffe.it su connettività Eutelia) ad Alice di Telecom: il passaggio è stato dettato da una mera ragione economica (19.90€ < 28.70€). Ho avuto modo di provare entrambe e non ho trovato nessuna differenza di prestazioni&#8230; quindi il risparmio è una buona discriminante.<br />
Sto rimpallando da un operatore all&#8217;altro perché (come spesso accade in Italia) si stanno scaricando vicendevolmente le responsabilità dei ritardi.<br />
Aspetto fiducioso il ritorno del Web a domicilio.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2008/05/09/adsl-il-distacco/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informazioni sulla rete</title>
		<link>http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete</link>
		<comments>http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete#comments</comments>
		<pubDate>Mon, 25 Feb 2008 17:32:18 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete</guid>
		<description><![CDATA[Oggi, spero ultimo giorno di degenza forzata a casa causa influenza perdurata 5 giorni, ho girellato qua e là per la rete alla ricerca di informazioni! Ebbene sì, sono sempre stato avido di conoscenza sopratutto tecnica (direi, purtroppo, quasi esclusivamente &#8230; <a href="http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F02%2F25%2Finformazioni-sulla-rete&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F02%2F25%2Finformazioni-sulla-rete&amp;text=Informazioni+sulla+rete" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F02%2F25%2Finformazioni-sulla-rete&amp;title=Informazioni+sulla+rete" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2008%2F02%2F25%2Finformazioni-sulla-rete&amp;title=Informazioni+sulla+rete" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=Informazioni sulla rete&amp;body=http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Oggi, spero ultimo giorno di degenza forzata a casa causa influenza perdurata 5 giorni, ho girellato qua e là per la rete alla ricerca di informazioni!<br />
Ebbene sì, sono sempre stato avido di conoscenza sopratutto tecnica (direi, purtroppo, quasi esclusivamente tecnica).<br />
Mi sono imbattuto in una tipa che in soli 6 mesi è diventata mooolto famosa, anche su YouTube, creando dei <a href="http://www.videomarta.com">clip video tecnologici molto friendly</a>: i video spaziano dal HDTV alle differenze tra i borwser alle alternative a M$ Office ai MMORPG.<br />
Gli ultimissimi post non mi fanno impazzire ma nel blog ci sono diverse chicche per non esperti del settore, un po&#8217; superficiali ma molto efficaci come punto di partenza per un ricerca/approfondimento personale. Da notare il box in alto a destra &#8220;Archivio puntate&#8221; un indice per farvi subito un&#8217;idea degli argomenti.<br />
Consigliatissimo per chi vuole avvicinarsi alla tecnologia ma non è un guru del settore.<br />
Che dire buon lavoro Marta!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2008/02/25/informazioni-sulla-rete/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiki on a page, ovvero idee in una pagina</title>
		<link>http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina</link>
		<comments>http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina#comments</comments>
		<pubDate>Mon, 10 Dec 2007 22:12:16 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina</guid>
		<description><![CDATA[Quanti di voi hanno cercato invano un metodo per &#8220;catalogare&#8221; i propri pensieri, prendere appunti velocemente tenendo traccia di un ragionamento logico o ancora organizzare le proprie note? Quando hanno trovato i wiki un buono strumento ma poco &#8220;trasportabile&#8221;? Forse &#8230; <a href="http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F12%2F11%2Fwiki-on-a-page-ovvero-idee-in-una-pagina&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F12%2F11%2Fwiki-on-a-page-ovvero-idee-in-una-pagina&amp;text=Wiki+on+a+page%2C+ovvero+idee+in+una+pagina" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F12%2F11%2Fwiki-on-a-page-ovvero-idee-in-una-pagina&amp;title=Wiki+on+a+page%2C+ovvero+idee+in+una+pagina" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F12%2F11%2Fwiki-on-a-page-ovvero-idee-in-una-pagina&amp;title=Wiki+on+a+page%2C+ovvero+idee+in+una+pagina" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=Wiki on a page, ovvero idee in una pagina&amp;body=http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Quanti di voi hanno cercato invano un metodo per &#8220;catalogare&#8221; i propri pensieri, prendere appunti velocemente tenendo traccia di un ragionamento logico o ancora organizzare le proprie note?<br />
Quando hanno trovato i wiki un buono strumento ma poco &#8220;trasportabile&#8221;?<br />
Forse un rimedio c&#8217;è&#8230; anzi due: <a href="http://stickwiki.sourceforge.net/">Wiki on a Stick</a> e <a href="http://www.tiddlywiki.com/">TiddlyWiki</a>.<br />
Sono 2 wiki autocontenuti in una sola pagina html!!! Comprendono tutto il codice per la gestione dei contenuti nella pagina stessa e sono scritti interamente in Javascript.<br />
La metodologia di approccio all&#8217;organizzazione dei contenuti è radicalmente diversa: in Wiki on a Stick (woas) le pagine sono raccolte nella classica forma gerarchica mentre in TiddlyWiki in una forma tipo blog.<br />
Li sto provando entrambi per vedere con quale mi trovo meglio, la sintassi è semplice in entrambi e assomiglia alla classica sintassi dei wiki.<br />
Il bello è che è possibile avere in un unico file html tutti gli appunti, veloce da copiare su supporti usb o spedirsi via mail. Nonostante venga memorizzato tutto in un unico file, la visualizzazione è fatta per post/pagine con relativi link e/o struttura. Si possono anche includere (allegare) file e immagini&#8230; spettacolare.<br />
Un ultima nota, sembra che il supporto per TW sia nettamente superione visto anche il gran numero di <a href="http://www.tiddlytools.com/">plugin</a> che si trovano. A giorni il verdetto.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2007/12/11/wiki-on-a-page-ovvero-idee-in-una-pagina/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php: più che trim dovevano chiamarla saw</title>
		<link>http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw</link>
		<comments>http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw#comments</comments>
		<pubDate>Tue, 26 Jun 2007 20:20:54 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw/</guid>
		<description><![CDATA[Stavo realizzando uno script manipolando stringhe in UTF-8, mi serviva fare il trim e&#8230; mi segava mezza stringa! Avevo variabili tipo $pippo = ' Abcdèfg '; $pippo_trim = trim($pippo); In $pippo mi ritrovavo con un carattere strano seguito da &#8216;fg&#8217;! &#8230; <a href="http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F06%2F26%2Fphp-piu-che-trim-dovevano-chiamarla-saw&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F06%2F26%2Fphp-piu-che-trim-dovevano-chiamarla-saw&amp;text=Php%3A+pi%C3%B9+che+trim+dovevano+chiamarla+saw" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F06%2F26%2Fphp-piu-che-trim-dovevano-chiamarla-saw&amp;title=Php%3A+pi%C3%B9+che+trim+dovevano+chiamarla+saw" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F06%2F26%2Fphp-piu-che-trim-dovevano-chiamarla-saw&amp;title=Php%3A+pi%C3%B9+che+trim+dovevano+chiamarla+saw" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=Php: più che trim dovevano chiamarla saw&amp;body=http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Stavo realizzando uno script manipolando stringhe in UTF-8, mi serviva fare il trim e&#8230; mi segava mezza stringa!<br />
Avevo variabili tipo</p>
<pre>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$pippo = ' Abcdèfg ';<br />
$pippo_trim = trim($pippo);</div></div>
</pre>
<p>In $pippo mi ritrovavo con un carattere strano seguito da &#8216;fg&#8217;! <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Il codice non era proprio così semplice e ci ho messo un po&#8217; a capire che il problema era il trim&#8230; ma il trim mi serviva e così ho provato con un subset di caratteri di trim</p>
<pre>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$pippo_trim = trim($pippo, &quot; \\n\\r&quot;);</div></div>
</pre>
<p>Et voilà! Funziona perfettamente <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Buon trim a tutti</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2007/06/26/php-piu-che-trim-dovevano-chiamarla-saw/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhpDay 2007</title>
		<link>http://www.keasoft.it/blog/2007/05/24/phpday-2007</link>
		<comments>http://www.keasoft.it/blog/2007/05/24/phpday-2007#comments</comments>
		<pubDate>Thu, 24 May 2007 08:27:00 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Viaggi]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/2007/05/24/phpday-2007/</guid>
		<description><![CDATA[Con solo una settimana si ritardo metto il mio mattoncino per la descrizione di un bell&#8217;evento: il PhpDay 2007. Il 17 e 18 sono stato al PhpDay a Verona. Moooolto interessante. Grazie all&#8217;organizzazione del Grusp l&#8217;evento è sicuramente ben riuscito. &#8230; <a href="http://www.keasoft.it/blog/2007/05/24/phpday-2007">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F24%2Fphpday-2007&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2007/05/24/phpday-2007" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F24%2Fphpday-2007&amp;text=PhpDay+2007" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2007/05/24/phpday-2007"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F24%2Fphpday-2007&amp;title=PhpDay+2007" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F24%2Fphpday-2007&amp;title=PhpDay+2007" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=PhpDay 2007&amp;body=http://www.keasoft.it/blog/2007/05/24/phpday-2007"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Con solo una settimana si ritardo metto il mio mattoncino per la descrizione di un bell&#8217;evento: il PhpDay 2007.<br />
Il 17 e 18 sono stato al PhpDay a Verona. Moooolto interessante. Grazie all&#8217;organizzazione del Grusp l&#8217;evento è sicuramente ben riuscito.<br />
Ho seguito quasi totalmente il canale developer tranne per il primo talk dove sono andato ad ascoltare il dott. Andrea Giorgini che ha descritto una sua esperienza con Typo3.<br />
Sono stato particolarmente fortunato a poter stare in compagnia della combriccola degli organizzatori/relatori con i quali mi sono sentito la solita cacchetta&#8230; quanta ne devo ancora imparare&#8230; sigh!<br />
Mi sono stupito di quanto l&#8217;extreme programming e test dell&#8217;applicazione potessero cambiare radicalmente il modo di approcciare i problemi informatici. Jacopo diceva che quando ha sentito Gabriele Lana la prima volta ha eseguito la funzione scalino da 0 a 1 (da &#8220;normale&#8221; a XP): per il mio mondo lavorativo è difficile applicare questa funzione anche se mi impegnerò, inizialmente, almeno nello studio e nell&#8217;utilizzo dei test. [miiii l'ho promesso al blog gh!]<br />
A parte il lato tecnico devo sicuramente ringraziare anche per il lato umano, per la bella serata (anche se mi è mancata la fiorentina [intesa come carne e non come ragazza di firenze]) e per la disponibilità al confronto nei break. Non faccio l&#8217;elenco delle persone anche perchè mi dimenticherei sicuramente di qualcuno, quindi, grazie a tutti!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2007/05/24/phpday-2007/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>4012</title>
		<link>http://www.keasoft.it/blog/2007/05/08/4012</link>
		<comments>http://www.keasoft.it/blog/2007/05/08/4012#comments</comments>
		<pubDate>Tue, 08 May 2007 09:02:04 +0000</pubDate>
		<dc:creator>kea</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.keasoft.it/blog/2007/05/08/4012/</guid>
		<description><![CDATA[Facendo pulizia, oggi ho trovato in un sito che mantengo un file php con 4012 righe di codice! Era stato creato nel 1999 con poche &#8220;opzioni&#8221; e nel tempo, invece di creare una tabella di database apposta, sono state aggiunge &#8230; <a href="http://www.keasoft.it/blog/2007/05/08/4012">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F08%2F4012&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><div id="fb-root"></div><fb:send href="http://www.keasoft.it/blog/2007/05/08/4012" font=""></fb:send></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F08%2F4012&amp;text=4012" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.keasoft.it/blog/2007/05/08/4012"></g:plusone></span><span class="mr_social_sharing"><a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F08%2F4012&amp;title=4012" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/delicious.png" alt="Save on Delicious" title="Save on Delicious"/></a></span><span class="mr_social_sharing"><a href="http://digg.com/submit?url=http%3A%2F%2Fwww.keasoft.it%2Fblog%2F2007%2F05%2F08%2F4012&amp;title=4012" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/digg.png" alt="Digg This" title="Digg This"/></a></span><span class="mr_social_sharing"><a href="mailto:?subject=4012&amp;body=http://www.keasoft.it/blog/2007/05/08/4012"><img src="http://www.keasoft.it/blog/wp-content/plugins/social-sharing-toolkit/images/buttons/email.png" alt="Share via email" title="Share via email"/></a></span></div><p>Facendo pulizia, oggi ho trovato in un sito che mantengo un file php con 4012 righe di codice! Era stato creato nel 1999 con poche &#8220;opzioni&#8221; e nel tempo, invece di creare una tabella di database apposta, sono state aggiunge nuove voci come casi particolari&#8230; il risultato è un file ingestibile: l&#8217;unica cosa che mi rincuora è che non è opera mia <img src='http://www.keasoft.it/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.keasoft.it/blog/2007/05/08/4012/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

