<?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>Infouma - Informatica Umanistica</title>
	<atom:link href="http://ipertesto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ipertesto.wordpress.com</link>
	<description>Un blog 50% informatico 50% umanistico, 100% libero.</description>
	<lastBuildDate>Thu, 19 Jun 2008 16:37:41 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ipertesto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Infouma - Informatica Umanistica</title>
		<link>http://ipertesto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ipertesto.wordpress.com/osd.xml" title="Infouma - Informatica Umanistica" />
	<atom:link rel='hub' href='http://ipertesto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Vincoli interrelazionali</title>
		<link>http://ipertesto.wordpress.com/2008/06/19/vincoli-interrelazionali/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/19/vincoli-interrelazionali/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:37:41 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[foreign key]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=24</guid>
		<description><![CDATA[I vincoli interrelazionali più diffusi e significativi so i vincoli di integrità referenziale. In SQL per la loro definizione si usa l&#8217;apposito vincolo di foreign key, ovvero chiave esterna. Questo vincolo crea un legame tra i valori di un attributo della tabella su cui è definito (Tabella interna) e i valori di un&#8217;attributo di un&#8217;altra [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=24&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I vincoli interrelazionali più diffusi e significativi so i <em>vincoli di integrità referenziale</em>. In SQL per la loro definizione si usa l&#8217;apposito vincolo di <strong>foreign key</strong>, ovvero <em>chiave esterna</em>. Questo vincolo crea un legame tra i valori di un attributo della tabella su cui è definito (Tabella interna) e i valori di un&#8217;attributo di un&#8217;altra tabbella (Tabella esterna). Il vincolo impone che per ogni riga della tabella il valore dell&#8217;attributo specificate, se diverso dal valore nullo, sia presente nelle righe ella tabella esterna tra i valori del corrispondente attributo. L&#8217;unico requisito che la tabella impone è il vincolo <em>unique</em> in fatti tipicamente l&#8217;attributo della tabella esterna cui si fa riferimento rappresenta in effetti la chiave primaria della tabella. Se c&#8217;è un solo attributo coinvolto si può usare il costrutto sintattico <strong>references</strong>, con il quale si specifica che la tabella esterna e l&#8217;attributo della tabella esterna al quale l&#8217;attributo in questione deve essere legato.<strong><br />
Es:</strong></p>
<blockquote><p>create table Impiegato (<br />
Matricola char ( 6 ) primary key,<br />
Nome varchar ( 20 ) not null,<br />
Cognome varchar ( 20 ) not null,<br />
Dipart varchar ( 15 )<br />
<strong>reference</strong> <em>Dipartimento</em> (<em> NomeDip </em>),<br />
Ufficio numeric ( 13 ),<br />
Stipendio numeric ( 9 ) default 0,<br />
unique ( Cognome, Nome )<br />
)</p></blockquote>
<p>Il vincolo impone che l&#8217;attributo <em>Dipart</em> della tabella Impiegato possa assumere solo uno dei valori che le riche della tabella <em>Dipartimento</em> possiedono per l&#8217;attributo <em>NomeDip</em>.</p>
<p>Quando il legame invece è rappresentato da un&#8217;insieme di attributi, fa uso invece del costrutto <strong>foreign key</strong>, posto al termine della definizione degli attributi.<br />
<strong>Es:</strong> Se si volesse prendere la tabella di prima e imporre che gli attributi Nome e Cognome debbano comparire in una tabella anagrafica, si potrebbe aggiungere il vincolo</p>
<blockquote><p>foreing key ( Nome, Cognome )<br />
reference Anagrafica ( Nome , Cognome )</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=24&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/19/vincoli-interrelazionali/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Vincoli intrarelazionali</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/vincoli-intrarelazionali/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/vincoli-intrarelazionali/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 18:01:41 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[not null]]></category>
		<category><![CDATA[primary key]]></category>
		<category><![CDATA[unique]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=23</guid>
		<description><![CDATA[Sia nella definizione dei domini sia nella definizione delle tabelle è possibile definire dei vincoli, ovvero delle propietà che devono essere verificate da ogni istanza nella base di dati. I più semplici vinconli intrarelazionali sono i vincoli not null, unique e primary key. Not Null Il vincolo not null indica che il valore nullo non [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=23&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sia nella definizione dei domini sia nella definizione delle tabelle è possibile definire dei vincoli, ovvero delle propietà che devono essere verificate da ogni istanza nella base di dati. I più semplici vinconli intrarelazionali sono i vincoli <strong>not null</strong>, <strong>unique</strong> e <strong>primary key</strong>.</p>
<h2><span style="text-decoration:underline;">Not Null</span></h2>
<p>Il vincolo <strong>not null</strong> indica che il valore <em>nullo</em> non è ammesso come valore dell&#8217;attributo; in tal caso, l&#8217;attributo deve sempre essere specificato, tipicamente in fase d&#8217;inserimento. Se all&#8217;attributo però associato un valore di default diverso dal valore nullo, allora diventa possibile effetuare l&#8217;insermiento anche senza fornire un valore per l&#8217;attributo , in quanto all&#8217;attributo viene automanticamente assegnato il valore di default. Il vincolo viene specificato facendo seguire alla defiizione dell&#8217;attributo la dichiarazione <strong>not null</strong>.</p>
<p><strong>Es:</strong></p>
<blockquote><p>Cognome varchar ( 20 ) not null</p></blockquote>
<h2><span style="text-decoration:underline;">Unique</span></h2>
<p>Un vincolo <strong>unique</strong> si applica a un attributo o un insieme di attributi di una tabella e impone che i valori dell&#8217;attributo siano una (super)chiave, cioè righe differenti della tabella non possono avere gli stessi valori; viene fatta un&#8217;eccezione per il valore nullo, il quale può comparire su diverse righe senza violare il vincolo, in quanto si presume che i valori nulli siano tutti diversi fra di loro.<br />
La defefinizione di questo vincolo può avvenire in due modi: la prima alternativa può essere usata unicamente quando bisogna definire il vincolo su un solo attributo.<br />
<strong>Sintassi:</strong></p>
<blockquote><p><strong>unique</strong> ( <em>Attributo</em> { , <em>Attributo</em> } )</p></blockquote>
<p><strong>Es:</strong></p>
<blockquote><p>Nome varchar ( 20 ) not null,<br />
Cognome varchar ( 20 ) not null,<br />
unique ( Cognome, Nome )</p></blockquote>
<p>In questo caso, si impone che non ci siano due righe che abbiano uguali sia il Nome che il Cognome.</p>
<p><strong>Es:<br />
</strong></p>
<blockquote><p>Nome varchar ( 20 ) not null unique,<br />
Cognome varchar ( 20 ) not null unique</p></blockquote>
<p>In questo caso più restrittivo, si ha una violazione se nelle righe compaiono più di una volta lo stesso nome o lo stesso cognome.</p>
<h2><span style="text-decoration:underline;">Primary Key</span></h2>
<p>E&#8217; di norma necessario specificare per ogni relazione la chiave primaria, il più importante tra gli identificatori della relazione. SQL permette così di specificare il vincolo <strong>primary key</strong> una sola volta per tabella. Come il vincolo <em>unique</em>, il vincolo <strong>primary key</strong> può essere definito direttamente su di un singolo attributo, oppure essere definito elencando più attributi che costituiscono l&#8217;identificatore. Gli attributi che fanno parte della chiave primaria non possono assumere il valore nullo; pertanto la definizione di <strong>primary key</strong> implica per tutti gli attributi della chiave primaria di una definizione <em>not null</em>, che può essere omessa.</p>
<p><strong>Es:</strong> <em>Per esempio , la definizione seguente impone che la coppia di attributi </em>Nome <em>e </em>Cognome costituiscano la chiave primaria</p>
<blockquote><p>Nome varchar ( 20 ),<br />
Cognome varchar ( 20 ),<br />
primary key ( Cognome, Nome )</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=23&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/vincoli-intrarelazionali/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Definizione di Domini</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/definizione-di-domini/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/definizione-di-domini/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 05:19:39 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[definizione]]></category>
		<category><![CDATA[dominio]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=20</guid>
		<description><![CDATA[Nella definizione delle tabelle si può far riferimento ai domini predefiniti del, linguaggio o a domini definiti dall&#8217;utente a partire dai domini predefiniti. Partendo dai domini predefiniti è possibile costruire nuovi domini tramite la primitiva create domain: create domain NomeDominio as TipoDiDato [ ValoreDiDefault ] [ Vincolo ] Un dominio è così caratterizato dal propio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=20&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Nella definizione delle tabelle si può far riferimento ai domini predefiniti del, linguaggio o a domini definiti dall&#8217;utente a partire dai domini predefiniti. Partendo dai domini predefiniti è possibile costruire nuovi domini tramite la primitiva <strong>create domain</strong>:</p>
<blockquote><p><strong>create domain</strong> <em>NomeDominio </em><strong>as </strong><em>TipoDiDato </em>[ ValoreDiDefault ] [ Vincolo ]</p></blockquote>
<p>Un dominio è così caratterizato dal propio nome, da un dominio elementare (che può essere predefinito o definito dall&#8217;utente in precedenza), da un eventuale valore di default, e infine da un insieme di vincoli (eventualmente vuoto) che rappresenta un insieme di condizioni che devono essere rispettate dai valori del dominio. La dichiarazione di nuovi domini permette di associare un insieme di vincoli a un nome di dominio, il che è importante quando per esempio si deve ripetere la stessa definizione di attributo nell&#8217;ambito di diverse tabelle. Definendo un dominio apposito si rende la definizione più facile modificabile; se si vuole modificare la definizione di un insieme di attributi con lo stesso dominio (in modo partcolare il valore di default e i vincoli), risulta sufficiente modificare la definizione del dominio e la modifica si applicherà a tutte le tabelle in cui il dominio viene usato.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=20&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/definizione-di-domini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Definizioni delle Tabelle</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/definizioni-delle-tabelle/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/definizioni-delle-tabelle/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 05:03:02 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[definizione]]></category>
		<category><![CDATA[tabella]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=19</guid>
		<description><![CDATA[Una tabella SQL è costituita da una collezione ordinata di attributi e da un insieme (eventualmente vuoto) di vincoli. La sintassi per la definizione di tabelle è: create table NomeTabella ( NomeAttributo Dominio [ ValoreDiDefault ] [ Vincoli ] { , NomeAttributo Dominio [ ValoreDiDefault ] [ Vincoli ] } AltriVincoli&#8230; ) Es: Lo schema [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=19&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Una tabella SQL è costituita da una collezione ordinata di attributi e da un insieme (eventualmente vuoto) di vincoli. La sintassi per la definizione di tabelle è:</p>
<blockquote><p><strong>create table </strong><em>NomeTabella<br />
</em>( <em>NomeAttributo</em> <strong>Dominio</strong> [ <em>ValoreDiDefault</em> ] [ <strong><em>Vincoli </em></strong>]<br />
{ , <em>NomeAttributo</em> <strong>Dominio</strong> [ <em>ValoreDiDefault</em> ] [ <strong><em>Vincoli</em> </strong>] }<br />
<em>AltriVincoli</em>&#8230;<br />
)</p></blockquote>
<p><strong>Es:</strong> Lo schema della Tabbella Dipartimento viene per esempio definito tramite la seguente istruzione SQL.</p>
<blockquote><p><strong>create table</strong> <em>Dipartimento<br />
</em> (<em> Nome </em><strong>varchar </strong>(<em>20</em>)<strong> <em>primary key </em></strong>,<strong><br />
</strong><em>Indirizzo </em><strong>varchar </strong>(<em>50</em>) ,<br />
<em> Città</em> <strong>varchar </strong>(<em>20</em>)<br />
)</p></blockquote>
<p>La tabella possiede tre attributi di tipo stringa di caratteri e l&#8217;attributo <em>Nome</em> che costituisce la chiave primaria della tabella. Osserviamo che, come avviene normalmente nei linguaggi di programmazione, una qualsiasi sequenza di spazi e di caratteri di fine linea è equivalente a un singolo spazio; ciò deve essere sfruttato per aumentare la leggibilità dei comandi SQL, usando strutture allineate come nel comando visto sopra.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=19&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/definizioni-delle-tabelle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Definizione di schema</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/definizione-di-schema/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/definizione-di-schema/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 04:38:04 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[definizione]]></category>
		<category><![CDATA[schema]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=18</guid>
		<description><![CDATA[SQL consente la definizione di uno schema di base di dati come collezione di oggetti (tabbelle, domini, viste ecc..). Uno schema viene definito dalla seguente sintassi: create schema [ NomeSchema ]  [ [ authorization ] Autorizzazione ] { DefElementoSchema } Autorizzazione rappresenta il nome dell&#8217;utente dpropietario dello schema: se il termine viene omesso, si assume [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=18&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SQL consente la definizione di uno schema di base di dati come collezione di oggetti (tabbelle, domini, viste ecc..). Uno schema viene definito dalla seguente sintassi:</p>
<blockquote><p><strong>create schema </strong>[ <em>NomeSchema </em>]  [ [ <strong>authorization </strong>] <em>Autorizzazione </em>] { <em>DefElementoSchem</em>a }</p></blockquote>
<p><em>Autorizzazione</em> rappresenta il nome dell&#8217;utente dpropietario dello schema: se il termine viene omesso, si assume che il propietario sia l&#8217;utente che ha lanciato il comando.</p>
<p>Non è necessario che la definizione di tutti i componenti avvenga contemporaneamente alla creazione dello schema, ma può anzi avvenire in più fasi successive.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=18&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/definizione-di-schema/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Specifica dei valori di default</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/specifica-dei-valori-di-default/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/specifica-dei-valori-di-default/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 04:28:30 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[valore]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=17</guid>
		<description><![CDATA[Default: Valore assunto da un attributo in assenza di specificazione Default &#60; Generic &#124; User &#124; Null &#62; Generic è un valore scelto (purchè nel dominio), User è l&#8217;ID dell&#8217;utente che inserisce l&#8217;update, Null è il default generico.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=17&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Default</strong>: Valore assunto da un attributo in assenza di specificazione</p>
<blockquote><p><strong>Default</strong> &lt; <em>Generic</em> | <em>User</em> | <em>Null</em> &gt;</p></blockquote>
<p><em>Generic</em> è un valore scelto (purchè nel dominio), <em>User</em> è l&#8217;ID dell&#8217;utente che inserisce l&#8217;update, <em>Null</em> è il default generico.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=17&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/specifica-dei-valori-di-default/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>I domini elementari</title>
		<link>http://ipertesto.wordpress.com/2008/06/18/i-domini-elementari/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/18/i-domini-elementari/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 00:22:33 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[Base di dati]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Domini]]></category>
		<category><![CDATA[elementari]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=14</guid>
		<description><![CDATA[SQL (Esse-Qu-Elle) o (Se-Qu-El) da a disposizione varie tipi di famiglie. Caratteri Il dominio character permette di rappresentare singoli caratteri oppure stringhe. La lunghezza delle stringhe può essere fissa o variabile. Per lunghezza variabile si intende la lunghezza massima. Per ogni schema si può definire la famiglia di caratteri di default. La sintassi: character [ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=14&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SQL (Esse-Qu-Elle) o (Se-Qu-El) da a disposizione varie tipi di famiglie.</p>
<h2><strong><span style="text-decoration:underline;">Caratteri</span></strong></h2>
<p>Il dominio character permette di rappresentare singoli caratteri oppure stringhe.<br />
La lunghezza delle stringhe può essere fissa o variabile. Per lunghezza variabile si intende la lunghezza massima. Per ogni schema si può definire la famiglia di caratteri di default.</p>
<h4><strong>La sintassi:</strong></h4>
<blockquote><p><strong>character</strong> [ <strong>varying</strong> ] [ ( <em>lunghezza</em> ) ]<br />
[ <strong>character set</strong> <em>NomeFamigliaCaratteri</em> ]</p></blockquote>
<p><strong>Es: </strong><em>Se vogliamo definire una stringa di </em>20 caratteri e con un set di caratteri appartenente alla famiglia &#8220;Greek&#8221; dobbiamo fare.</p>
<blockquote><p><strong>character</strong> (<em>20</em>) <strong>character set</strong> <em>Greek</em></p></blockquote>
<p><strong>Es2:</strong> <em>Se vogliamo invece definire una stringa di <span style="text-decoration:underline;">massimo</span> 100 caratteri e con un set di caratteri appartenente alla famiglia &#8220;Latin&#8221; dobbiamo fare.</em></p>
<blockquote><p><strong>character varying</strong> (<em>100</em>) <strong>character set</strong> <em>Latin</em>.</p></blockquote>
<p>Inoltre sono implementate in SQL delle abbreviazioni per questi domini.</p>
<ul>
<li><strong>char</strong> =  character</li>
<li><strong>varchar</strong> = character varying</li>
</ul>
<h2><span style="text-decoration:underline;">Tipi Numerici Esatti</span></h2>
<p>Questa famiglia contiene i domini che permettono di rappresentare i valori esatti, interi o con una parte decimale di lunghezza prefissata. I tipi numerici esatti messi a disposizione da SQL sono:</p>
<ul>
<li><strong>numeric</strong> [ ( Precisione [ , Scala ] ) ]</li>
<li><strong>decimal</strong> [ ( Precisione [ , Scala ] ) ]</li>
<li><strong>integer</strong></li>
<li><strong>smallint</strong></li>
</ul>
<p><strong>Numeric e Decimal<br />
</strong>Rappresentano numeri in base decimale. Dove <strong>Precisione</strong> specifica il numero di cifre che compone il valore e <strong>Scala</strong> la posizione della virgola. La differenza tra i domini <strong>numeric </strong>e<strong> decimal</strong> consiste nel fatto che la precisione per il dominio <strong>numeric</strong> rappresenta un valore esatto, mentre per il dominio <strong>decimal</strong> costituisce un requisito minimo.</p>
<p>Nel caso non sia importante la rappresentazione frazionaria diventa possibile utilizare <strong>integer</strong> e <strong>smallint</strong>.<br />
Per questi domini non esiste un vincolo sulla rappresentazione ed essi sono generalmente basati sulla rappresentazione binaria interna del calcolatore.</p>
<h2><span style="text-decoration:underline;">Tipi numerici approsimati</span></h2>
<p>Per la rappresentazione di valori reali approsimati (utili per esempio per la rappresentazione di grandezze fisiche), SQL fornisce i seguenti tipi:</p>
<ul>
<li><strong>float</strong> [ ( Precisione ) ]</li>
<li><strong>real</strong></li>
<li><strong>double precision</strong></li>
</ul>
<p><strong>ES:</strong> <em>1.6E12</em><br />
A float può essere assegnata esplicitamente una precision, interne al numero di cifre della mantissa.</p>
<p>Per gli altri due la precisione dipende dal sistema di calcolo, ma la precision di <strong>double precision è ≥ a real </strong>(normalmente doppia).</p>
<h2><span style="text-decoration:underline;">Istanti Temporali</span></h2>
<p>Questa famiglia di domini sono stati introdotti in SQL-2 per descrivere informazioni temporali e permette di rappresentare <em>istanti</em> di tempo in tre diverse forme:</p>
<ul>
<li><strong>date</strong></li>
<li><strong>time </strong>[ ( Precisione ) ] [ whit time zone ]</li>
<li><strong>timestamp</strong> [ ( Precisione ) ]  [ whit time zone ]</li>
</ul>
<p>Sono strutturati nelle seguenti maniere.<br />
La forma  <strong>date </strong>accetta il modello americano year-month-day con la regola &#8220;<strong>(yyyy:mm:dd)</strong>&#8220;<br />
La forma  <strong>time </strong>accetta il modello hour-minute-second &#8220;<strong>(hh:mm:ss)&#8221;<br />
</strong>Di default Precision è 0(s) per <strong>time</strong> e di 6 per timestamp (<strong>μ</strong>s) metre per &#8220;<em>whit time zone&#8221; </em>fa riferimento all&#8217;ora di <em>Greenwich</em>, questo apre la possibilità di accedere ad altri 2 campi,<em> timezone_hour </em>e<em> timezone_minute</em>. la formula per completo agli standard UTC è <strong>01:03:04+1:00</strong>. Timestamp non è nient&#8217;altro che date+time.</p>
<h2><span style="text-decoration:underline;">Intervalli Temporali</span></h2>
<p>Questa famiglia di domini permette di rappresentare <em>intervalli</em> di tempo, come per esempio la durata di un&#8217;evento. La sintassi è:</p>
<blockquote><p><strong>interval </strong><em>PrimaUnitàDiTempo </em>[ to <em>UltimaUnitàDiTempo </em>]</p></blockquote>
<p>Specifica un intervallo di tempo cioè un valore relativo utilizzabile per <strong>incrementare</strong>/<strong>decrementare</strong> un valore <strong>date</strong>,<strong> time</strong> o <strong>timestamp</strong>.</p>
<p><strong>Es:</strong> <em><strong>interval</strong> years </em>(<em>5</em>)<em> </em>to<em> month</em><br />
Permette di rappresentare intervalli temporali fino a 99.999 anni e 11 mesi.</p>
<p><strong>Es: <em>interval</em> </strong><em>day</em>(<em>4</em>) to <em>second </em>(<em>6</em>)<br />
Permette di rappresentare intervalli temporali fino a 9.999 giorni 23 ore, 59 minuti e 59,999999 secondi, con una precisione al milionesimo di secondi.</p>
<h2><span style="text-decoration:underline;">Definizione di nuovi Domini</span></h2>
<p>E&#8217; possibile definire nuovi domini a partire da quelli elementari alternativamente è possibile dichiarare il dominio e usarlo (peggiora la leggibilità)</p>
<blockquote><p><strong>create domain </strong><em>NomeDominio </em><strong>as </strong><em>TipoDato </em>[ <em>ValoreDiDefault</em> ] [ <em>Vincolo</em> ]</p></blockquote>
<p><strong>Es: create domain </strong><em>copie_vendute </em><strong>as</strong><em><strong> </strong>smallint </em>default 0</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=14&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/18/i-domini-elementari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ri-nasce ma infouma.</title>
		<link>http://ipertesto.wordpress.com/2008/06/17/rinasce-ma-infouma/</link>
		<comments>http://ipertesto.wordpress.com/2008/06/17/rinasce-ma-infouma/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 22:28:35 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[infouma]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/?p=13</guid>
		<description><![CDATA[Ormai sono quasi sei mesi che sono iscritto al corso d&#8217;informatica umanistica. Oggi ho deciso di dedicare questo blog a quello che il mio mondo universitario. Facendo le categorie per materie e per quello che sono i miei interessi.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=13&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ormai sono quasi sei mesi che sono iscritto al corso d&#8217;informatica umanistica. Oggi ho deciso di dedicare questo blog a quello che il mio mondo universitario. Facendo le categorie per materie e per quello che sono i miei interessi.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=13&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2008/06/17/rinasce-ma-infouma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>
	</item>
		<item>
		<title>Se è gratis, è MEGLIO.</title>
		<link>http://ipertesto.wordpress.com/2007/04/16/se-e-gratis-e-meglio/</link>
		<comments>http://ipertesto.wordpress.com/2007/04/16/se-e-gratis-e-meglio/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 02:42:47 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[I Love PHP]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/2007/04/16/se-e-gratis-e-meglio/</guid>
		<description><![CDATA[Come si è chiarito nel precedente articolo, Cos’è PHP?, il linguaggio di programmazione PHP è gratuito. Appunto per questo motivo molta gente diffida ad utilizarlo. Per alcune filosofie di vita si crede che tutto quello che paghi sia migliore di quello che è gratuito, in effetti come regola di vita quotidiana può anche essere vero [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=9&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img src="http://ipertesto.files.wordpress.com/2007/04/ilovephp.png?w=510" alt="I Love PHP" /></p>
<p>Come si è chiarito nel precedente articolo, <a href="http://ipertesto.wordpress.com/2007/04/14/cose-php/" rel="bookmark">Cos’è PHP?</a>, il linguaggio di programmazione PHP è gratuito. Appunto per questo motivo molta gente diffida ad utilizarlo. Per alcune filosofie di vita si crede che tutto quello che paghi sia migliore di quello che è gratuito, in effetti come regola di vita quotidiana può anche essere vero ma teniamo conto che in internet è una cosa ben distinta dalla vita quotidiana, penso d&#8217;altronde che se ti metti a parlare con un linguaggio di programmazione per strada, l&#8217;impressione che darai non sarà tra le migliori.<span id="more-9"></span></p>
<p align="left">Ma perchè qualcuno lavora gratuitamente? Da premettere che la gente che ha inventato linguaggi come il PHP penso che vivrà di fama ma poi, i motivi che incitano una persona a lavorare &#8220;gratuitamente&#8221; sono sempre soggetivi e quindi in questo caso non sarei in grado di rispondervi, ma personalmente parlando mi basterebbe essere un brufolo nel sedere di uno delle persone più ricche al mondo per incitarmi a lavorare senza stipendio.</p>
<p align="left">Sarebbe bene ricordare quanto gratis non vuol dire scadente, facendo un esempio tra alcune aziende più importanti al mondo che utilizano sistemi gratuiti e tra questi anche il PHP: &#8220;<strong>IBM, NASA, France Telecom, Siemens o molti comuni Olandesi</strong>&#8220;.</p>
<p align="left">Questo è uno dei motivi per passare a PHP.</p>
<p align="left">&nbsp;</p>
<p align="left">I LOVE PHP</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=9&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2007/04/16/se-e-gratis-e-meglio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>

		<media:content url="http://ipertesto.files.wordpress.com/2007/04/ilovephp.png" medium="image">
			<media:title type="html">I Love PHP</media:title>
		</media:content>
	</item>
		<item>
		<title>La storia di PHP</title>
		<link>http://ipertesto.wordpress.com/2007/04/14/la-storia-di-php/</link>
		<comments>http://ipertesto.wordpress.com/2007/04/14/la-storia-di-php/#comments</comments>
		<pubDate>Sat, 14 Apr 2007 14:11:00 +0000</pubDate>
		<dc:creator>m3kh</dc:creator>
				<category><![CDATA[PHP FaQ]]></category>

		<guid isPermaLink="false">http://ipertesto.wordpress.com/2007/04/14/la-storia-di-php/</guid>
		<description><![CDATA[Tratto da Wikipedia &#8211; L&#8217;eciclopedia Libera. Nato nel 1994 ad opera del danese Rasmus Lerdorf, PHP era in origine una raccolta di script CGI che permettevano una facile gestione delle pagine personali. Per questo motivo il significato originario dell&#8217;acronimo pare fosse Personal Home Page (sull&#8217;origine dell&#8217;acronimo ci sono tuttora alcuni dubbi, alimentati dallo stesso Lerdorf [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=5&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img src="http://ipertesto.files.wordpress.com/2007/04/phpi.png?w=510" alt="php info" /></p>
<p><em>Tratto da <a href="http://it.wikipedia.org/wiki/PHP" title="Wikipedia - PHP" target="_blank">Wikipedia  &#8211; L&#8217;eciclopedia Libera</a>.</em><br />
Nato nel 1994 ad opera del danese Rasmus Lerdorf, PHP era in origine una raccolta di <em>script</em> CGI che permettevano una facile gestione delle pagine personali. Per questo motivo il significato originario dell&#8217;acronimo pare fosse <em><strong>P</strong>ersonal <strong>H</strong>ome <strong>P</strong>age</em> (sull&#8217;origine dell&#8217;acronimo ci sono tuttora alcuni dubbi, alimentati dallo stesso Lerdorf che ha contribuito volontariamente a generare attorno al nome questo alone di mistero). Il pacchetto originario venne in seguito esteso e riscritto dallo stesso Lerdorf in C, aggiungendo funzionalità quali il supporto al database mSQL e prese a chiamarsi <strong>PHP/FI</strong>, dove <em>FI</em> sta per <em><strong>F</strong>orm <strong>I</strong>nterpreter</em> (interprete di <em>form</em>), prevedendo la possibilità di integrare il codice PHP nel codice HTML in modo da semplificare la realizzazione di pagine dinamiche. In quel periodo, 50.000 domini internet annunciavano di aver installato PHP.<span id="more-5"></span>A questo punto il linguaggio cominciò a godere di una certa popolarità tra i progetti <em>open source</em> del <em>web</em>, e venne così notato da due giovani programmatori: <span class="new">Zeev Suraski</span> e <span class="new">Andi Gutmans</span>. I due collaborarono nel 1998 con Lerdorf allo sviluppo della terza versione di PHP (il cui acronimo assunse il significato attuale) riscrivendone il motore che fu battezzato <span class="new">Zend</span> da una contrazione dei loro nomi. Le caratteristiche chiave della versione PHP 3.0 frutto del loro lavoro, erano la straordinaria estensibilità, la connettività ai database e il supporto iniziale per il paradigma a oggetti. Verso la fine del 1998 PHP 3.0 era installato su circa il 10% dei server web presenti su Internet.<br />
PHP diventò a questo punto talmente maturo da competere con ASP, linguaggio <em>lato server</em> analogo a PHP sviluppato da Microsoft, e cominciò ad essere usato su larga scala. La versione 4 di PHP venne rilasciata nel 2000 e prevedeva notevoli migliorie. Attualmente siamo alla quinta versione, sviluppata da un <span class="external text">team</span> di programmatori, che comprende ancora Lerdorf, oltre a Suraski e Gutmans.<br />
La popolarità del linguaggio PHP è in costante crescita grazie alla sua semplicità: nel Giugno 2001, ha superato il milione di <span class="external text">siti che lo utilizzano</span>. Nell&#8217;ottobre 2002, <span class="external text">più del 45%</span> dei server Apache usavano PHP.<br />
Nel gennaio 2005 è stato insignito del titolo di &#8220;Programming Language of 2004&#8243; dal TIOBE Programming Community Index, classifica che valuta la popolarità dei linguaggi di programmazione sulla base di informazioni raccolte dai motori di ricerca.<br />
Nel 2005 la configurazione LAMP (Linux, Apache, MySQL, PHP) supera il 50% del totale dei server sulla rete mondiale.</p>
<p><em>Non ho ritenuto necessario scrivere la storia di PHP perchè questa mi piaceva molto.</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ipertesto.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ipertesto.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipertesto.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipertesto.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipertesto.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipertesto.wordpress.com&amp;blog=985906&amp;post=5&amp;subd=ipertesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipertesto.wordpress.com/2007/04/14/la-storia-di-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cfee65b1322c5375888bed9784821a3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">m3kh</media:title>
		</media:content>

		<media:content url="http://ipertesto.files.wordpress.com/2007/04/phpi.png" medium="image">
			<media:title type="html">php info</media:title>
		</media:content>
	</item>
	</channel>
</rss>
