<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Collisioni di Pixels</title>
	<atom:link href="http://faustodassenno.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://faustodassenno.wordpress.com</link>
	<description>Blog personale di Fausto Dassenno</description>
	<lastBuildDate>Mon, 23 May 2011 14:06:05 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='faustodassenno.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Collisioni di Pixels</title>
		<link>http://faustodassenno.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://faustodassenno.wordpress.com/osd.xml" title="Collisioni di Pixels" />
	<atom:link rel='hub' href='http://faustodassenno.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Nuovo sito di Danilo Gallinari</title>
		<link>http://faustodassenno.wordpress.com/2009/10/16/nuovo-sito-di-danilo-gallinari/</link>
		<comments>http://faustodassenno.wordpress.com/2009/10/16/nuovo-sito-di-danilo-gallinari/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 20:44:25 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://faustodassenno.wordpress.com/2009/10/16/nuovo-sito-di-danilo-gallinari/</guid>
		<description><![CDATA[Mancano due giorni alla pubblicazione del sito Internet ufficiale di Danilo Gallinari. Il lavoro di aggiornamento è stato principalmente volto al restyling delle pagine integrandovi elementi 2.0.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=15&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mancano due giorni alla pubblicazione del sito Internet ufficiale di Danilo Gallinari. </p>
<p>Il lavoro di aggiornamento è stato principalmente volto al restyling delle pagine integrandovi elementi 2.0. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=15&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2009/10/16/nuovo-sito-di-danilo-gallinari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>
	</item>
		<item>
		<title>E&#8217; arrivato ScarabeoDigital II</title>
		<link>http://faustodassenno.wordpress.com/2009/10/15/e-arrivato-scarabeodigital-ii/</link>
		<comments>http://faustodassenno.wordpress.com/2009/10/15/e-arrivato-scarabeodigital-ii/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 16:40:20 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://faustodassenno.wordpress.com/?p=13</guid>
		<description><![CDATA[Dopo lunga gestazione abbiamo finalmente pubblicato per Kalicanthus la nuova versione di Scarabeo Online. Al sito scarabeo.kalicanthus.it trovate il client di gioco free per 15gg. Mettetevi alla prova!!!!!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=13&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dopo lunga gestazione abbiamo finalmente pubblicato per Kalicanthus la nuova versione di Scarabeo Online.</p>
<p>Al sito scarabeo.kalicanthus.it trovate il client di gioco free per 15gg.</p>
<p>Mettetevi alla prova!!!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=13&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2009/10/15/e-arrivato-scarabeodigital-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>
	</item>
		<item>
		<title>In attesa di ScarabeoDigital2</title>
		<link>http://faustodassenno.wordpress.com/2009/10/15/in-attesa-di-scarabeodigital2/</link>
		<comments>http://faustodassenno.wordpress.com/2009/10/15/in-attesa-di-scarabeodigital2/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 10:08:55 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://faustodassenno.wordpress.com/2009/10/15/in-attesa-di-scarabeodigital2/</guid>
		<description><![CDATA[Oggi esce SD2. Vi attendiamo numerosi. Appena pubblicato il sito di supporto posterò il link.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=12&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oggi esce SD2.</p>
<p>Vi attendiamo numerosi. </p>
<p>Appena pubblicato il sito di supporto posterò il link. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=12&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2009/10/15/in-attesa-di-scarabeodigital2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Ci vuole metodo&#8230;</title>
		<link>http://faustodassenno.wordpress.com/2006/11/22/ci-vuole-metodo/</link>
		<comments>http://faustodassenno.wordpress.com/2006/11/22/ci-vuole-metodo/#comments</comments>
		<pubDate>Wed, 22 Nov 2006 07:46:26 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[AJAX + APS]]></category>
		<category><![CDATA[love_lib.js]]></category>
		<category><![CDATA[Programmazione]]></category>

		<guid isPermaLink="false">http://faustodassenno.wordpress.com/2006/11/22/ci-vuole-metodo/</guid>
		<description><![CDATA[Breve digressione sui metodi che possiamo invocare in fase di modifica di un campo al quale è applicato il tag love_lib. Il primo e più semplice è il metodo TEXT il quale tramuta il div nel quale è contenuto il testo in una TEXTAREA il cui contenuto verrà poi aggiornato nel database. La forma del [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=6&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://faustodassenno.files.wordpress.com/2006/11/4.jpg" title="4.jpg"></a>Breve digressione sui metodi che possiamo invocare in fase di modifica di un campo al quale è applicato il tag love_lib.<br />
Il primo e più semplice è il metodo <strong>TEXT</strong> il quale tramuta il div nel quale è contenuto il testo in una TEXTAREA il cui contenuto verrà poi aggiornato nel database. La forma del controllo creato da love_lib è mostrato nella figura 1.</p>
<p><a href="http://faustodassenno.files.wordpress.com/2006/11/1.jpg" title="1.jpg"><img src="http://faustodassenno.files.wordpress.com/2006/11/1.miniatura.jpg?w=500" alt="1.jpg" /></a>Il controllo prima del click dell&#8217;utente.                 </p>
<p><a href="http://faustodassenno.files.wordpress.com/2006/11/2.jpg" title="2.jpg"><img width="128" src="http://faustodassenno.files.wordpress.com/2006/11/2.miniatura.jpg?w=128&#038;h=90" alt="2.jpg" height="90" /></a> il controllo in modalità modifica.</p>
<p>La funzione dei tasti EXIT e SALVA direi che è piuttosto ovvia. Il tasto Salva invoca una funzione AJAX che richiama una pagina ASP chiamata UPDATE.ASP la quale ricevento come parametro l&#8217;ID del record da aggiornare, il nome del campo da aggionare e la tabella di riferimento esegue l&#8217;update nel DB. Va da se che la chiamata ad UPDATE.ASP è puramente una mia scelte, potete personalizzare il sistema con ogni tipo di linguaggio server-side. Anzi chiunque volesse creare una pagina UPDATE, ADD_NEW e DELETE in altri linguaggi me la mandi e la includerò nelle prossime release.</p>
<p><em>Altr</em><a href="http://faustodassenno.files.wordpress.com/2006/11/3.jpg" title="3.jpg"></a><em>i metodi&#8230;</em></p>
<p><strong>Date</strong>: il metodo DATE crea in fase di modifica un datepicker come mostrato in figura.</p>
<p> <a href="http://faustodassenno.files.wordpress.com/2006/11/3.jpg" title="3.jpg"><img src="http://faustodassenno.files.wordpress.com/2006/11/3.miniatura.jpg?w=500" alt="3.jpg" /></a> il controllo datepicker.</p>
<p><strong>Colorpicker</strong>: il metodo Color crea un colorpicker come mostrato in figura.</p>
<p><a href="http://faustodassenno.files.wordpress.com/2006/11/4.jpg" title="4.jpg"><img src="http://faustodassenno.files.wordpress.com/2006/11/4.miniatura.jpg?w=500" alt="4.jpg" /></a> il controllo colorpicker.</p>
<p>Esiste un ultimo metodo che è IMG il cui funzionamento è un po meno automatizzato dei precedenti nel senso che viene richiamata via AJAX una pagina che ho chiamato immagini.asp nella quale viene generato tutto l&#8217;output di thumbnails contenute in una cartella del server. Perchè dico che la funzione quì è meno automatizzata? per il semplice fatto che per adattare love_lib ad altri schemi di deployment sarà necessario ritoccare vari file tra i quali immagini.asp (usata per scegliere una immagine in un record già esistente) e new_immagine.asp ( usata nella creazione di nuovi record ).</p>
<p>relativamente alla creazione di nuovi record non ho ancora accennato che love_lib in modo automatico e con il semplice passaggio dei parametri e dei campi crea il form di inserimento nuovo record ma di questo parlerà in un prossimo post.</p>
<p>Fin d&#8217;ora chiedo a chiunque voglia autarmi a sgrossare il sistema e ad ottimizzarlo a commentare il post o scrivere a dieffe at gmail.com.</p>
<p>Fausto</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/faustodassenno.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/faustodassenno.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=6&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2006/11/22/ci-vuole-metodo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>

		<media:content url="http://faustodassenno.files.wordpress.com/2006/11/1.miniatura.jpg" medium="image">
			<media:title type="html">1.jpg</media:title>
		</media:content>

		<media:content url="http://faustodassenno.files.wordpress.com/2006/11/2.miniatura.jpg" medium="image">
			<media:title type="html">2.jpg</media:title>
		</media:content>

		<media:content url="http://faustodassenno.files.wordpress.com/2006/11/3.miniatura.jpg" medium="image">
			<media:title type="html">3.jpg</media:title>
		</media:content>

		<media:content url="http://faustodassenno.files.wordpress.com/2006/11/4.miniatura.jpg" medium="image">
			<media:title type="html">4.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Quel che resta del&#8230;..server side.</title>
		<link>http://faustodassenno.wordpress.com/2006/11/16/quel-che-resta-delserver-side/</link>
		<comments>http://faustodassenno.wordpress.com/2006/11/16/quel-che-resta-delserver-side/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 09:23:39 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[AJAX + APS]]></category>
		<category><![CDATA[love_lib.js]]></category>
		<category><![CDATA[Programmazione]]></category>

		<guid isPermaLink="false">http://faustodassenno.wordpress.com/2006/11/16/quel-che-resta-delserver-side/</guid>
		<description><![CDATA[Perchè ho deciso di creare una libreria che automatizzasse i processi di update, aggiunta ed eliminazione nel database? Beh principalmente per rendere più rapida la realizzazione di back office nei quali le esigenze di grafica sono al minimo ma sono in compenso pressanti le esigenze di semplice modificabilità da parte dall&#8217;utente anche scarsamente informatizzato. L&#8217;obiettivo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=3&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Perchè ho deciso di creare una libreria che automatizzasse i processi di update, aggiunta ed eliminazione nel database? Beh principalmente per rendere più rapida la realizzazione di back office nei quali le esigenze di grafica sono al minimo ma sono in compenso pressanti le esigenze di semplice modificabilità da parte dall&#8217;utente anche scarsamente informatizzato.</p>
<p>L&#8217;obiettivo è quello di permettere la creazione di un sistema che tramite l&#8217;insertimento di un tag onClick su di un DIV ne permetta la modifica diretta. Va da se che il DIV deve contente un campo database e devono essere rispettate determinate sintassi.</p>
<p>Al momento la libreria love_lib.js è in fase beta e non è in nessun modo ne ottimizzata ne debuggata ed è per questo che chiedo aiuto a chiuque voglia metterci il naso.</p>
<p>In allegato la prima primissima pre-release di love_lib.js. Il contenuto del file zip è il seguente:<br />
- <strong>\images\</strong> (immagini usate per il loading)<br />
- <strong>\lib\love_lib.js</strong> (la libreria vera e propria)<br />
- <strong>\css\love_lib.css</strong> (alcuni stili usati ad esempio nel datepicker o nei collegamenti)<br />
- <strong>del_record.asp</strong> (pagina asp che elimina un record passando come parametri la tabella e l&#8217;id)<br />
- <strong>new_record.asp</strong> (pagina asp che aggiunge un record al database ricevendo come parametri i campi da compilare nel nuovo record, la tabella nella quale aggiungere il record)<br />
- <strong>update.asp</strong> (pagina asp che aggiorna un campo di un record ricevendo come parametro il nome del campo da aggiornare, il valore da aggiornare e l&#8217;id del record da aggiornare )</p>
<p><strong>N.B. LA LIBRERIA E LE PAGINE ASP NON SONO OTTIMIZZATE E PERTANTO POTREBBE ESSERE NECESSARIO DEL REVERSE ENGENERRING PER ADATTARE LA CONNESSIONE DATABASE ASP ALLA PROPRIA</strong> <strong>CONFIGURAZIONE.</strong></p>
<p><a href="http://balthazar.artlantisweb.com/webworks/--love_lib.zip" title="love_lib.js (preRelease)">love_lib.js (preRelease)</a></p>
<p><strong>Cosa devo fare per implementarla?<br />
</strong>Facciamo un primo esempio. Mettiamo di voler aggiungere ad una pagina .asp un campo di un database e di renderlo modificabile con un semplice click.<br />
Per prima cosa creiamo l&#8217;html:</p>
<p><strong>&lt;TABLE&gt;<br />
&lt;TR&gt;<br />
&lt;TD&gt;&lt;%=valore_estratto_dal_db%&gt;&lt;/TD&gt;<br />
&lt;/TR&gt;<br />
&lt;/TABLE&gt;</strong></p>
<p>Per rendere operativa love_lib dobbiamo per prima cosa includere i file di script e css:</p>
<p><strong>&lt;script src=&#8221;lib/prototype-1.4.0.js&#8221; mce_src=&#8221;lib/prototype-1.4.0.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;lib/love_lib.js&#8221; mce_src=&#8221;lib/love_lib.js&#8221;&gt;&lt;/script&gt;<br />
&lt;style type=&#8221;text/css&#8221; media=&#8221;all&#8221;&gt;@import &#8220;css/love_lib.css&#8221;&lt;/style&gt;</strong></p>
<p>Come si evince dal codice viene anche inclusa prototype per una accesso un po più rapido alle funzioni javascript.<br />
A questo punto dobbiamo aggiungere il codice love_lib creando all&#8217;interno del TD nel quale figura il valore preso dal database un DIV che sarà il target di tutte le operazioni di postback.<br />
Il codice modificato sarà:</p>
<p>&lt;TABLE&gt;<br />
&lt;TR&gt;<br />
&lt;TD&gt;<br />
<strong>&lt;div id=div_a_&lt;%=rs(&#8220;id&#8221;)%&gt; onClick=&#8221;modificabile(this,&#8217;arg1&#8242;,&lt;%=rs(&#8220;id&#8221;)%&gt;,&#8217;text&#8217;,1,20,&#8217;arg2&#8242;)&#8221;&gt;</strong><br />
&lt;%=valore_estratto_dal_db%&gt;<br />
<strong>&lt;/div&gt;</strong><br />
&lt;/TD&gt;<br />
&lt;/TR&gt;<br />
&lt;/TABLE&gt;</p>
<p>Commentiamo la sintassi. Sull&#8217;evento onClick viene associata la funzione modificabile la quale necessita dei seguenti parametri:<br />
<em>this</em>: nome del controllo che riceve il risultato della modifica, nel nostro caso il DIV stesso e quindi <em>this.<br />
arg1: </em>nome del campo database sul quale eseguire la modifica.<br />
<em>id: </em>l&#8217;id al quale fare riferimento nella funzione di update.<br />
<em>text: </em>il tipo di dato da modifiare, <em>text</em> significa che verrà creato un modulo input text con 1 riga e 20 colonne carattere.<br />
<em>1:</em>  numero di righe nel controllo di modifica.<br />
<em>20: </em>numero di colonne nel controllo di modifica.<br />
<em>arg2: </em>nome della tabella nella quale aggiornare il record.</p>
<p><strong>cosa succede quando clicco sul controllo?<br />
</strong>Cliccando sul div il suo contenuto viene modificato e viene inserito un modulo di imput text e due link, salva e exit. Cliccando su exit viene rimosso il modulo e ripristinato lo stato precedente del div. Cliccando su salva viene invocata una funzione Ajax che modifica il campo database.</p>
<p>Se qualcosa va storto vi troverete l&#8217;immagine di loading fissa e vi toccherà un po&#8217; di debug in attesa che love_lib diventi un progetto più stabile.</p>
<p>Sperando di avere reso l&#8217;idea di quello che ho fatto e voglio fare attendo commenti.</p>
<p>Fausto</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/faustodassenno.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/faustodassenno.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=3&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2006/11/16/quel-che-resta-delserver-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Pastrocchi in Ajax</title>
		<link>http://faustodassenno.wordpress.com/2006/11/12/pastrocchi-in-ajax-e-asp/</link>
		<comments>http://faustodassenno.wordpress.com/2006/11/12/pastrocchi-in-ajax-e-asp/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 13:04:59 +0000</pubDate>
		<dc:creator>dieffe</dc:creator>
				<category><![CDATA[AJAX + APS]]></category>
		<category><![CDATA[Programmazione]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Ciao a tutti, ho aperto questo blog per condividere un progettino che sto realizzando per un cliente. Realizzando un sito comprensivo di front-end e back-office mi sono chiesto se fosse stato possibile creare una libreria in AJAX che mi permettesse in modo semplice e veloce di amministrare i record di alcune tabelle di un database. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=1&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ciao a tutti, ho aperto questo blog per condividere un progettino che sto realizzando per un cliente.<br />
Realizzando un sito comprensivo di front-end e back-office mi sono chiesto se fosse stato possibile creare una libreria in AJAX che mi permettesse in modo semplice e veloce di amministrare i record di alcune tabelle di un database.</p>
<p>La soluzione è, a mio parere, interessante e con un connubbio buffo di AJAX e ASP ho creato una libreria (love_lib.js) che può essere integrata nelle pagine asp e gestire automaticamente l&#8217;aggiornamento dei campi e l&#8217;aggiunta di nuovi.</p>
<p>A breve la vorrei condividere con la community e ottenere aiuto e consiglio.</p>
<p>Fausto</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/faustodassenno.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/faustodassenno.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustodassenno.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustodassenno.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustodassenno.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustodassenno.wordpress.com&amp;blog=541606&amp;post=1&amp;subd=faustodassenno&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://faustodassenno.wordpress.com/2006/11/12/pastrocchi-in-ajax-e-asp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79fa62b5eed1beec337a436cd3ca6672?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dieffe</media:title>
		</media:content>
	</item>
	</channel>
</rss>
