<?xml version="1.0" encoding="ISO-8859-1"?>
<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>Linux, PHP, MySQL, Windows, C#</title>
	<atom:link href="http://www.massimo-caselli.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.massimo-caselli.com</link>
	<description>Articoli, news e pillole sul mondo LAMP e l&#039;opensource. Pillole di C#</description>
	<lastBuildDate>Sun, 27 Jun 2010 11:25:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Portale Azienda Condominio</title>
		<link>http://www.massimo-caselli.com/2010/06/27/portale-azienda-condominio-primo-sviluppo-completo-in-dot-net/</link>
		<comments>http://www.massimo-caselli.com/2010/06/27/portale-azienda-condominio-primo-sviluppo-completo-in-dot-net/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 11:24:18 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Linq]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=237</guid>
		<description><![CDATA[Ho appena messo in produzione il portale Azienda Condominio, primo sviluppo realizzato completamente in ASP.NET. Le tecnologie utilizzate sono: ASP.NET MVC 2 LINQ TO SQL SQL SERVER Inoltre altri componenti sono: XML, JQUERY, TELERIK MVC, CACHING MVC Il portale espone moltissime informazioni inerenti ad un modello innovativo di gestione condominiale che forse a molti potrebbero]]></description>
			<content:encoded><![CDATA[<p>Ho appena messo in produzione il <strong><a href="http://portale.aziendacondominio.it" target="_blank">portale Azienda Condominio</a></strong>, primo sviluppo realizzato completamente in ASP.NET.<br />
Le tecnologie utilizzate sono:<br />
<strong>ASP.NET MVC 2<br />
LINQ TO SQL<br />
SQL SERVER</strong></p>
<p>Inoltre altri componenti sono:<br />
XML, JQUERY, TELERIK MVC, CACHING MVC</p>
<p>Il portale espone moltissime informazioni inerenti ad un modello innovativo di gestione condominiale che forse a molti potrebbero interessare.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/06/27/portale-azienda-condominio-primo-sviluppo-completo-in-dot-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ottenere dati random da una query con LINQ to SQL</title>
		<link>http://www.massimo-caselli.com/2010/06/13/ottenere-dati-random-da-una-query-con-linq-to-sql/</link>
		<comments>http://www.massimo-caselli.com/2010/06/13/ottenere-dati-random-da-una-query-con-linq-to-sql/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:55:23 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Linq]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[linq random result]]></category>
		<category><![CDATA[linq to sql]]></category>
		<category><![CDATA[random query linq]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=224</guid>
		<description><![CDATA[Per un progetto avevo la necessità di estrarre randomicamente i dati presenti in una tabella &#8220;Articolo&#8221; contenente appunto articoli di categorie diverse. Per fare questa operazione con classici statement SQL con mysql sarebbe stato abbastanza semplice, bastava utilizzare una query del tipo: 1SELECT *, RAND&#40;&#41; AS rand_value FROM Articolo ORDER BY rand_value; Con il modello]]></description>
			<content:encoded><![CDATA[<p>Per un progetto avevo la necessità di estrarre <strong>randomicamente i dati presenti in una tabella</strong> &#8220;Articolo&#8221; contenente appunto articoli di categorie diverse.<br />
Per fare questa operazione con classici statement SQL con <a target="_blank" href="http://www.mysql.com">mysql</a> sarebbe stato abbastanza semplice, bastava utilizzare una query del tipo:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*,</span> RAND<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> rand_value <span style="color: #993333; font-weight: bold;">FROM</span> Articolo <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> rand_value;</div></td></tr></tbody></table></div>
<p>Con il modello a oggetti di LINQ to SQL, era un filo più complesso (tra l&#8217;altro come base dati avevo SQL Server), per cui ho seguito questo howto:<br />
<a title="Randomizing LINQ to SQL queries" href="http://weblogs.asp.net/fmarguerie/archive/2008/01/10/randomizing-linq-to-sql-queries.aspx" target="_blank"> http://weblogs.asp.net/fmarguerie/archive/2008/01/10/randomizing-linq-to-sql-queries.aspx</a></p>
<p>In buona sostanza è sufficiente andare a creare una nuova view:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">VIEW</span> RandomView <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">SELECT</span> NEWID<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> ID</div></td></tr></tbody></table></div>
<p>E una funziona che possa richiamarla:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">FUNCTION</span> GetNewId<br />
<span style="color: #66cc66;">&#40;</span><br />
<span style="color: #66cc66;">&#41;</span><br />
RETURNS uniqueidentifier<br />
<span style="color: #993333; font-weight: bold;">AS</span><br />
BEGIN<br />
<span style="color: #993333; font-weight: bold;">RETURN</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> ID <span style="color: #993333; font-weight: bold;">FROM</span> RandomView<span style="color: #66cc66;">&#41;</span><br />
END</div></td></tr></tbody></table></div>
<p>A questo punto il tutto si conclude andando ad aggiornare il modello LINQ to SQL per poter utilizzare la funzione utilizzare la seguente sintassi:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">public</span> IEnumerable<span style="color: #008000;">&lt;</span>articolo<span style="color: #008000;">&gt;</span> GetArticoliRandom<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> AreaCode<span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; IEnumerable <span style="color: #008000;">&lt;</span> Articolo <span style="color: #008000;">&gt;</span> &nbsp;ArtList <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">from</span> art <span style="color: #0600FF; font-weight: bold;">in</span> _model<span style="color: #008000;">.</span><span style="color: #0000FF;">Articolo</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">where</span> art<span style="color: #008000;">.</span><span style="color: #0000FF;">AreaCode</span> <span style="color: #008000;">==</span> AreaCode<br />
&nbsp; &nbsp; &nbsp; &nbsp; orderby _model<span style="color: #008000;">.</span><span style="color: #0000FF;">GetNewId</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">select</span> art<span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Take</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">5</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> ArtList<span style="color: #008000;">;</span><br />
<span style="color: #008000;">&#125;</span></div></td></tr></tbody></table></div>
<p>Ovviamente il .Take(5) non serve necessariamente ma solo nel mio caso dove dovevo estrarre 5 articoli.</articolo></p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/06/13/ottenere-dati-random-da-una-query-con-linq-to-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classe C# per parsing Atom da Blogspot e da PhpBB</title>
		<link>http://www.massimo-caselli.com/2010/05/25/classe-c-per-parsing-atom-da-blogspot-e-da-phpbb/</link>
		<comments>http://www.massimo-caselli.com/2010/05/25/classe-c-per-parsing-atom-da-blogspot-e-da-phpbb/#comments</comments>
		<pubDate>Tue, 25 May 2010 13:59:17 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Linq]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[consume atom c#]]></category>
		<category><![CDATA[consume rss]]></category>
		<category><![CDATA[linq]]></category>
		<category><![CDATA[parse atom]]></category>
		<category><![CDATA[parse rss]]></category>
		<category><![CDATA[xmlreader]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=208</guid>
		<description><![CDATA[Di seguito una semplice classe con due metodi per leggere (o come dicono gli americani, consumare) atom feed. In entrambi i casi i due metodi ricevono in input l&#8217;URL del feed da parsare e ne restituiscono un Dictionary composito (semplicemente perchè mi serviva un tipo di dato di questo tipo). In teoria sarebbe stato sufficiente]]></description>
			<content:encoded><![CDATA[<p>Di seguito una semplice classe con due metodi per <strong>leggere (o come dicono gli americani, consumare) atom feed</strong>.<br />
In entrambi i casi i due metodi ricevono in <strong>input l&#8217;URL del feed da parsare</strong> e ne restituiscono un Dictionary composito (semplicemente perchè mi serviva un tipo di dato di questo tipo).</p>
<p>In teoria sarebbe stato sufficiente l&#8217;utilizzo del solo metodo GetAtomItemsBlog() per leggere anche altri Atom, sfortunatamente però il tipo di Atom che esporta PhpBB non viene correttamente letto da questo metodo. Per ovviare al problema ho creato un secondo metodo GetAtomItemsForum() che utilizza la classe <strong>SyndicationFeed</strong> al posto di <strong>Atom10FeedFormatter</strong>.<br />
Resta comunque interessante il primo metodo visto che va ad utilizzare la sintassi Linq.</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br /></div></td><td><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> AtomRssReader<br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span> GetAtomItemsBlog<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> MyUrl<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; XmlReader reader <span style="color: #008000;">=</span> XmlReader<span style="color: #008000;">.</span><span style="color: #0000FF;">Create</span><span style="color: #008000;">&#40;</span>MyUrl<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Atom10FeedFormatter atom <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Atom10FeedFormatter<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span> Ret <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;</span> Temp<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>atom<span style="color: #008000;">.</span><span style="color: #0000FF;">CanRead</span><span style="color: #008000;">&#40;</span>reader<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; atom<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadFrom</span><span style="color: #008000;">&#40;</span>reader<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var items <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">from</span> item <span style="color: #0600FF; font-weight: bold;">in</span> atom<span style="color: #008000;">.</span><span style="color: #0000FF;">Feed</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Items</span><span style="color: #008000;">.</span><span style="color: #0000FF;">OfType</span><span style="color: #008000;">&lt;</span>syndicationitem<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">select</span> <span style="color: #008000;">new</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Id <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Title <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">Title</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Url <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">Links</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Last</span><span style="color: #008000;">&lt;</span>syndicationlink<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Uri</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AbsoluteUri</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Published <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">PublishDate</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Updated <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">LastUpdatedTime</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Subtitle <span style="color: #008000;">=</span> item<span style="color: #008000;">.</span><span style="color: #0000FF;">Summary</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>var item <span style="color: #0600FF; font-weight: bold;">in</span> items<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Title&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Title</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Url&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Url</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Published&quot;</span>, Convert<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">Published</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LocalDateTime</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Updated&quot;</span>, Convert<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">Updated</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LocalDateTime</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Subtitle&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Subtitle</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ret<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>, Temp<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; reader<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> Ret<span style="color: #008000;">;;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span> GetAtomItemsForum<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> MyUrl<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span> Ret <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; XmlReader reader <span style="color: #008000;">=</span> XmlReader<span style="color: #008000;">.</span><span style="color: #0000FF;">Create</span><span style="color: #008000;">&#40;</span>MyUrl<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; SyndicationFeed feed <span style="color: #008000;">=</span> SyndicationFeed<span style="color: #008000;">.</span><span style="color: #0000FF;">Load</span><span style="color: #008000;">&#40;</span>reader<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;</span> Temp<span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>var item <span style="color: #0600FF; font-weight: bold;">in</span> feed<span style="color: #008000;">.</span><span style="color: #0000FF;">Items</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Dictionary<span style="color: #008000;">&lt;/</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span> , <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Title&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Title</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Published&quot;</span>, Convert<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">LastUpdatedTime</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LocalDateTime</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Updated&quot;</span>, Convert<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">LastUpdatedTime</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LocalDateTime</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Url&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Temp<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Subtitle&quot;</span>, <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>TextSyndicationContent<span style="color: #008000;">&#41;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">Content</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ret<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>, Temp<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> Ret<span style="color: #008000;">;</span> <span style="color: #008000;">;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#125;</span></div></td></tr></tbody></table></div>
<p></string></syndicationlink></syndicationitem></string></p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/05/25/classe-c-per-parsing-atom-da-blogspot-e-da-phpbb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inaugurazione categoria Asp.NET</title>
		<link>http://www.massimo-caselli.com/2010/05/25/inaugurazione-categoria-asp-net/</link>
		<comments>http://www.massimo-caselli.com/2010/05/25/inaugurazione-categoria-asp-net/#comments</comments>
		<pubDate>Tue, 25 May 2010 12:41:13 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[categoria asp.net]]></category>
		<category><![CDATA[csharp]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=206</guid>
		<description><![CDATA[Da oggi apro definitivamente la categoria Asp.NET. Avendo cominciato da qualche mese a programmare in C# mi sembrava doveroso aprire una categoria nella quale postare qualche utile tips&#038;tricks. Buona lettura a tutti.]]></description>
			<content:encoded><![CDATA[<p>Da oggi apro definitivamente la categoria Asp.NET.<br />
Avendo cominciato da qualche mese a programmare in C# mi sembrava doveroso aprire una categoria nella quale postare qualche utile tips&#038;tricks.</p>
<p>Buona lettura a tutti.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/05/25/inaugurazione-categoria-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abilitazione registrazione blog</title>
		<link>http://www.massimo-caselli.com/2010/04/28/abilitazione-registrazione-blog/</link>
		<comments>http://www.massimo-caselli.com/2010/04/28/abilitazione-registrazione-blog/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 17:35:19 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Mondo informatica]]></category>
		<category><![CDATA[Opensource World]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=191</guid>
		<description><![CDATA[Da oggi e&#8217; possibile registrarsi al blog. ( Finalmente ho trovato un sistema di captcha come si deve&#8230; ) Registratevi, scrivete, scrivete e scrivete ancora&#8230;]]></description>
			<content:encoded><![CDATA[<p>Da oggi e&#8217; possibile registrarsi al blog. ( Finalmente ho trovato un sistema di captcha come si deve&#8230; <img src='http://www.massimo-caselli.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  )<br />
Registratevi, scrivete, scrivete e scrivete ancora&#8230; <img src='http://www.massimo-caselli.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/04/28/abilitazione-registrazione-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux/Ubuntu, usare Access tramite ODBC con PHP</title>
		<link>http://www.massimo-caselli.com/2010/02/25/linuxubuntu-usare-access-tramite-odbc-con-php/</link>
		<comments>http://www.massimo-caselli.com/2010/02/25/linuxubuntu-usare-access-tramite-odbc-con-php/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 13:25:27 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[PHP il turbo nel web]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mdb]]></category>
		<category><![CDATA[odbc]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=188</guid>
		<description><![CDATA[Linko un ottimo articolo che spiega come utilizzare Access da php su Linux utilizzando ODBC. L&#8217;articolo fa riferimento ad Ubuntu, comunque in linea di massima è applicabile su qualunque altra distro. http://www.lorenzoingrilli.it/database-access-mdb-da-linux-via-odbc]]></description>
			<content:encoded><![CDATA[<p>Linko un ottimo articolo che spiega come utilizzare Access da <a target="_blank" href="http://www.php.net">php</a> su Linux utilizzando ODBC.<br />
L&#8217;articolo fa riferimento ad Ubuntu, comunque in linea di massima è applicabile su qualunque altra distro.</p>
<p><a href="http://www.lorenzoingrilli.it/database-access-mdb-da-linux-via-odbc" target="_blank">http://www.lorenzoingrilli.it/database-access-mdb-da-linux-via-odbc</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/02/25/linuxubuntu-usare-access-tramite-odbc-con-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware server 2.0 console plugin su Firefox 3.6 e IE su sistemi operativi 64 bit</title>
		<link>http://www.massimo-caselli.com/2010/02/19/vmware-server-2-0-console-plugin-su-firefox-3-6-e-ie-su-sistemi-operativi-64-bit/</link>
		<comments>http://www.massimo-caselli.com/2010/02/19/vmware-server-2-0-console-plugin-su-firefox-3-6-e-ie-su-sistemi-operativi-64-bit/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 14:32:38 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[PHP il turbo nel web]]></category>
		<category><![CDATA[console vmware]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=186</guid>
		<description><![CDATA[Per chi avesse appena aggiornato a firefox 3.6 oppure installato ex-novo, fate attenzione che la console plugin per firefox di VMware 2.0 non funziona. La cosa più semplice è di usarla su internet explorer o in alternativa downgradare a firefox 3.5 Attenzione ancora però, se avete il sistema operativo a 64 bit come nel mio]]></description>
			<content:encoded><![CDATA[<p>Per chi avesse appena aggiornato a <a target="_blank" href="http://www.mozilla.com">firefox</a> 3.6 oppure installato ex-novo, fate attenzione che la console plugin per <a target="_blank" href="http://www.mozilla.com">firefox</a> di VMware 2.0 non funziona.</p>
<p>La cosa più semplice è di usarla su internet explorer o in alternativa downgradare a <a target="_blank" href="http://www.mozilla.com">firefox</a> 3.5</p>
<p>Attenzione ancora però, se avete il sistema operativo a 64 bit come nel mio caso, la console funziona solamente nella versione a 32 bit di internet explorer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/02/19/vmware-server-2-0-console-plugin-su-firefox-3-6-e-ie-su-sistemi-operativi-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parametro tmp dir MySQL, attenzione allo spazio</title>
		<link>http://www.massimo-caselli.com/2010/02/16/parametro-tmp-dir-mysql-attenzione-allo-spazio/</link>
		<comments>http://www.massimo-caselli.com/2010/02/16/parametro-tmp-dir-mysql-attenzione-allo-spazio/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:00:51 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Linux, Opensource]]></category>
		<category><![CDATA[MySQL, DB Server]]></category>
		<category><![CDATA[Opensource World]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[tmpdir]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=184</guid>
		<description><![CDATA[Nella configurazione di mysql (mi pare anche nella standard da RPM delle redhat based) non viene configurato il parametro il parametro: tmpdir che normalmente assume il valore di default del sistema. Su Linux naturalmente /tmp. Qualora per motivi di spazio o banalmente convinti che la /tmp non sia necessario renderla di ampie dimensioni, potrebbe accadere]]></description>
			<content:encoded><![CDATA[<p>Nella configurazione di <a target="_blank" href="http://www.mysql.com">mysql</a> (mi pare anche nella standard da RPM delle redhat based) non viene configurato il parametro <strong>il parametro: tmpdir</strong> che normalmente assume il <strong>valore di default del sistema</strong>. Su Linux naturalmente /tmp.</p>
<p>Qualora per motivi di spazio o banalmente convinti che la /tmp non sia necessario renderla di ampie dimensioni, potrebbe accadere che durante certe <strong>operazioni molto pesanti su tabelle con quantitativi di record notevoli</strong>, il sistema <strong>esaurisca lo spazio nella partizione temporanea</strong> durante la fase di elaborazione dati e scrittura di una tmp table, proprio su questa partizione.</p>
<p>La <strong>query abortira&#8217;</strong> con un messaggio del tipo no space left on device o qualcosa del genere.</p>
<p>In tal caso andra&#8217; allargata la partizione tmp di sistema (o dove si appoggia <a target="_blank" href="http://www.mysql.com">mysql</a>) o in alternativa cambiato il path (che deve essere scrivibile dallo user &#8220;<a target="_blank" href="http://www.mysql.com">mysql</a>&#8220;), fermato il servizio <a target="_blank" href="http://www.mysql.com">mysql</a> e riavviato.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2010/02/16/parametro-tmp-dir-mysql-attenzione-allo-spazio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installazione IonCube Loader su Zend Server CE in Windows</title>
		<link>http://www.massimo-caselli.com/2009/10/27/installazione-ioncube-loader-su-zend-server-ce-in-windows/</link>
		<comments>http://www.massimo-caselli.com/2009/10/27/installazione-ioncube-loader-su-zend-server-ce-in-windows/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 12:09:14 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Apache, Webserver]]></category>
		<category><![CDATA[Opensource World]]></category>
		<category><![CDATA[PHP il turbo nel web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[zend server]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=171</guid>
		<description><![CDATA[Semplice guida per installare IonCube Loader su Zend Server CE in Windows, l&#8217;how to standard non funziona: 1) Scaricare pacchetto e scompattare sul desktop (versione NON TS): http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_win_nonts_x86.zip 2) Copiare il file ioncube_loader_win_5.2.dll in: C:\Programmi\Zend\ZendServer\lib\phpext 3) Aprire il file con editor testuale: C:\Programmi\Zend\ZendServer\etc\php.ini Sopra la riga: zend_extension=&#8221;C:\Programmi\Zend\ZendServer\lib\ZendExtensionManager.dll&#8221; Inserire queste due righe: zend_extension=&#8221;C:\Programmi\Zend\ZendServer\lib\phpext\ioncube_loader_win_5.2.dll&#8221; zend_extension_ts=&#8221;C:\Programmi\Zend\ZendServer\lib\phpext\ioncube_loader_win_5.2.dll&#8221; Salvare e]]></description>
			<content:encoded><![CDATA[<p>Semplice guida per installare IonCube Loader su Zend Server CE in Windows, l&#8217;how to standard non funziona:</p>
<p><strong>1) Scaricare pacchetto e scompattare sul desktop (versione NON TS): </strong><br />
<a class="moz-txt-link-freetext" href="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_win_nonts_x86.zip">http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_win_nonts_x86.zip</a></p>
<p><strong>2) Copiare il file </strong><br />
ioncube_loader_win_5.2.dll in:<br />
C:\Programmi\Zend\ZendServer\lib\phpext</p>
<p><strong>3) Aprire il file con editor testuale: </strong><br />
C:\Programmi\Zend\ZendServer\etc\<a target="_blank" href="http://www.php.net">php</a>.ini<br />
Sopra la riga:<br />
zend_extension=&#8221;C:\Programmi\Zend\ZendServer\lib\ZendExtensionManager.dll&#8221;<br />
Inserire queste due righe:<br />
zend_extension=&#8221;C:\Programmi\Zend\ZendServer\lib\phpext\ioncube_loader_win_5.2.dll&#8221;<br />
zend_extension_ts=&#8221;C:\Programmi\Zend\ZendServer\lib\phpext\ioncube_loader_win_5.2.dll&#8221;</p>
<p><strong>Salvare e riavviare <a target="_blank" href="http://www.apache.org">apache</a>. </strong></p>
<p>Verificare in phpinfo() se l&#8217;estensione viene caricata correttamente.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2009/10/27/installazione-ioncube-loader-su-zend-server-ce-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to installazione mssql su Zend Server CE su linux con freetds</title>
		<link>http://www.massimo-caselli.com/2009/06/26/how-to-installazione-mssql-su-zend-server-ce-su-linux-con-freetds/</link>
		<comments>http://www.massimo-caselli.com/2009/06/26/how-to-installazione-mssql-su-zend-server-ce-su-linux-con-freetds/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:52:55 +0000</pubDate>
		<dc:creator>maxgrante</dc:creator>
				<category><![CDATA[Apache, Webserver]]></category>
		<category><![CDATA[Opensource World]]></category>
		<category><![CDATA[PHP il turbo nel web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[freetds]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[zend server]]></category>

		<guid isPermaLink="false">http://www.massimo-caselli.com/?p=169</guid>
		<description><![CDATA[Di seguito alcuni semplici passaggi per installare su Zend Server CE installato su linux l&#8217;estensione mssql, freetds, per poter utilizzare un server MSSQL da php su macchina Linux. Per prima cosa, installiamo freetds: yum install freetds Dopo procediamo a installare l&#8217;estensione mssql di ZS che non è fornita di default: yum install php-mssql-zend-ce L&#8217;estensione sarà]]></description>
			<content:encoded><![CDATA[<p>Di seguito alcuni semplici passaggi per installare su Zend Server CE installato su linux l&#8217;estensione mssql, freetds, per poter utilizzare un server MSSQL da <a target="_blank" href="http://www.php.net">php</a> su macchina Linux.</p>
<p>Per prima cosa, installiamo freetds:<br />
yum install freetds</p>
<p>Dopo procediamo a installare l&#8217;estensione mssql di ZS che non è fornita di default:<br />
yum install <a target="_blank" href="http://www.php.net">php</a>-mssql-zend-ce</p>
<p>L&#8217;estensione sarà attivata da sola. Meglio comunque riavviare lo zend server.</p>
<p>Andare all&#8217;interno di /etc/freetds.conf</p>
<p>Mettere:<br />
# Myserver<br />
[mysqlserver]<br />
host = 192.168.X.X<br />
port = 1433<br />
tds version = 8.0</p>
<p>A questo punto per connettersi da <a target="_blank" href="http://www.php.net">php</a> utilizzare:</p>
<p>mssql_connect(&#8220;192.168.X.X&#8221;, &#8220;login&#8221;, &#8220;pwd&#8221;) or die (&#8220;Failed&#8221;);</p>
<p>E il gioco è fatto.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.massimo-caselli.com/2009/06/26/how-to-installazione-mssql-su-zend-server-ce-su-linux-con-freetds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
