<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Luca e Andrea &#187; js</title>
	<atom:link href="http://www.lucaeandrea.com/category/js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucaeandrea.com</link>
	<description>Il blog di Luca e Andrea</description>
	<lastBuildDate>Thu, 25 Nov 2010 15:44:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Inseriamo una mappa con le API 3</title>
		<link>http://www.lucaeandrea.com/inseriamo-una-mappa-con-le-api-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=inseriamo-una-mappa-con-le-api-3</link>
		<comments>http://www.lucaeandrea.com/inseriamo-una-mappa-con-le-api-3/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 21:33:38 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[api 3.0]]></category>
		<category><![CDATA[gmap]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mappe]]></category>
		<category><![CDATA[maps]]></category>

		<guid isPermaLink="false">http://www.lucaeandrea.com/?p=143</guid>
		<description><![CDATA[Vediamo come inserire in modo semplice una mappa di Google su una pagina web utilizzando le API versione 3.
Con questo post si genera una mappa partendo dalle coordinate geografiche.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.lucaeandrea.com%252Finseriamo-una-mappa-con-le-api-3%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Faa0jhW%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Inseriamo%20una%20mappa%20con%20le%20API%203%22%20%7D);"></div>
<p>Con l&#8217;introduzione della versione 3 delle <a href="http://www.lucaeandrea.com/tag/api/" class="st_tag internal_tag" rel="tag" title="Post taggati con api">API</a> di <a href="http://www.lucaeandrea.com/tag/google/" class="st_tag internal_tag" rel="tag" title="Post taggati con google">Google</a> map non è più necessario generare una chiave univoca per ogni sito dove dobbiamo inserire le nostre <a href="http://www.lucaeandrea.com/tag/mappe/" class="st_tag internal_tag" rel="tag" title="Post taggati con mappe">mappe</a> e questo semplifica molto le cose quando procediamo alla pubblicazione di un sito dall&#8217;area di sviluppo in produzione perché non ci dobbiamo preoccupare di generare una nuova chiave.</p>
<p>Ma ora andiamo più nello specifico e vediamo come iniziare da markup della nostra pagina dove inseriamo un div con ID<strong> map.</strong></p>
<pre class="brush: xml; title: ; notranslate">﻿﻿&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;it&quot; lang=&quot;it&quot;&gt;
&lt;head&gt;
   &lt;title&gt;Contatti - Sport 62&lt;/title&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
   &lt;meta name=&quot;Language&quot; content=&quot;it&quot;/&gt;
   &lt;meta name=&quot;Description&quot; content=&quot;&quot;/&gt;
   &lt;meta name=&quot;KeyWords&quot; content=&quot;&quot;/&gt;
   &lt;script type=&quot;text/javascript&quot; src=&quot;/include/<a href="http://www.lucaeandrea.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Post taggati con jquery">jquery</a>.js&quot;&gt;&lt;/script&gt;
   &lt;script type=&quot;text/javascript&quot; src=&quot;http://<a href="http://www.lucaeandrea.com/tag/maps/" class="st_tag internal_tag" rel="tag" title="Post taggati con maps">maps</a>.google.com/<a href="http://www.lucaeandrea.com/tag/maps/" class="st_tag internal_tag" rel="tag" title="Post taggati con maps">maps</a>/api/js?sensor=true&amp;language=it&quot;&gt;&lt;/script&gt;
   &lt;!-- DOCUMENT READY --&gt;
   &lt;script type=&quot;text/javascript&quot;&gt;
   $(document).ready(function(){
   });
   &lt;/script&gt;
   &lt;style&gt;
   #contenitore{
     width:900px;
     height:100%;
     margin:auto;
     background-color:#ccc;
   }
   #map {
     width:500px;
     height:400px;
   }
   &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;contenitore&quot;&gt;
    &lt;div id=&quot;mappa&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<div>Nel nostro documento abbiamo definito un di contenitore largo 900px e il div map che conterrà la nostra mappa di google. Nell&#8217;head del documento c&#8217;è la chiamata alle api di google dove gli passiamo come parametro <strong>sensor=true</strong> e la localizzazione della lingua tramite il parametro <strong>language=it</strong> così la nostra mappa &#8220;parlerà italiano&#8221;.</div>
<div>Ora andiamo a scrivere la nostra funzione che ci permetterà di visualizzare la mappa.</div>
<div>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
function initialize() {
    var map = new google.maps.Map(document.getElementById(&quot;map&quot;), {
    scaleControl: true});
    map.setCenter(new google.maps.LatLng(45.66100, 12.24581));
    map.setZoom(15);
    map.setMapTypeId(google.maps.MapTypeId.ROADMAP);
    var marker = new google.maps.Marker({map: map, position:
    map.getCenter()});
    var infowindow = new google.maps.InfoWindow();
    infowindow.setContent(&quot;&lt;p&gt;Testo di prova del fumetto&lt;br /&gt;Piazzale Duca d'aosta&lt;br /&gt;Treviso (TV)&lt;br /&gt;Ulteriore riga&lt;/p&gt;&quot;);

    infowindow.open(map, marker);
    google.maps.event.addListener(marker, 'click', function() {
      infowindow.open(map, marker);
    });
}
&lt;/script&gt;</pre>
</div>
<p>In questa funzione per prima cosa andiamo ad inizializzare l&#8217;oggetto google.maps.Map nel nostro div, poi gli impostiamo il centro della mappa con le coordinate, in questo esempio è la stazione ferroviaria di Treviso ed impostiamo il livello di zoom a 15, l&#8217;ultima impostazione della mappa è la tipologia che corrisponde a Mappa quando utilizziamo le Google Maps.<br />
Fatto questo creiamo un nuovo marker posizionandolo nel nostro centro della mappa ed è molto semplice perché nell&#8217;inizializzazione gli passiamo un oggetto con la mappa da utilizzare e la posizione.<br />
Impostato il marker creiamo il fumetto attracerso l&#8217;oggetto InfoWindows() dove gli facciamo scrivere del testo di prova e lo associamo al marker creato prima.<br />
L&#8217;ultima azione che facciamo è associare al click sul marker l&#8217;apertura del fumetto.</p>
<p>Ora è sufficiente richiamare la funzione initialize() all&#8217;apertura della pagina ed abbiamo la nostra mappa.</p>
<pre class="brush: xml; title: ; notranslate">$(document).ready(function(){
    initialize();
})</pre>
<p>Per tutte le opzioni che si possono utilizzare vi rimando alla <a title="Documentazione Google Map API" href="http://code.google.com/intl/it-IT/apis/maps/documentation/javascript/" target="_blank">documentazione ufficiale</a> di google Map.</p>
<p>L&#8217;esempio di questo post lo potete trovare <a title="Esempio della google map" href="http://www.lucaeandrea.com/esempi/prova-googlemap.html" target="_blank">qui</a>.</p>
<p>Come sempre aspetto commenti / critiche / approvazioni</p>

]]></content:encoded>
			<wfw:commentRss>http://www.lucaeandrea.com/inseriamo-una-mappa-con-le-api-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Recuperare la password con ajax</title>
		<link>http://www.lucaeandrea.com/recuperare-la-password-con-ajax/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=recuperare-la-password-con-ajax</link>
		<comments>http://www.lucaeandrea.com/recuperare-la-password-con-ajax/#comments</comments>
		<pubDate>Wed, 05 May 2010 22:00:07 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[guida]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[passowrd]]></category>

		<guid isPermaLink="false">http://www.lucaeandrea.com/?p=105</guid>
		<description><![CDATA[Oggi vi spiego come poter creare una piccola richiesta di password smarrita utilizzando Jquery e una chiamata ajax. ipotizziamo di avere una tabella degli utenti così strutturata che memorizza le password in chiaro (solo a scopo didattico e per questo articolo). Ora Creaiamo la nostra pagina base come mostrato qui sotto Ora inziamo ad inserire [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.lucaeandrea.com%252Frecuperare-la-password-con-ajax%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fawm38G%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Recuperare%20la%20password%20con%20ajax%22%20%7D);"></div>
<p>Oggi vi spiego come poter creare una piccola richiesta di password smarrita utilizzando <a href="http://www.lucaeandrea.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Post taggati con jquery">Jquery</a> e una chiamata <a href="http://www.lucaeandrea.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Post taggati con ajax">ajax</a>.</p>
<p>ipotizziamo di avere una tabella degli utenti così strutturata che memorizza le password in chiaro (solo a scopo didattico e per questo articolo).</p>
<pre class="brush: sql; title: ; notranslate">
CREATE TABLE user(
    id bigint AUTO_INCREMENT,
    username varchar(50) NOT NULL,
    password varchar(30) NOT NULL,
    nome varchar(80) NOT NULL,
    cognome varchar(80) NOT NULL,
    ins_date datetime,
    upd_date datetime,
    lastlogin datetime,
    status tinyint(1) DEFAULT 1
    PRIMARY KEY (`id`),
    KEY `username` (`username`,`password`)
) ENGINE=MyISAM
</pre>
<p><span id="more-105"></span>Ora Creaiamo la nostra pagina base come mostrato qui sotto</p>
<pre class="brush: xml; title: ; notranslate">&lt;/p&gt;
&lt;pre&gt;&lt;!DOCTYPE  HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;  &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;  charset=iso-8859-1&quot;&gt;
    &lt;script  type=&quot;text/javascript&quot;&gt;
        // qui scriveremo la nostra funzione per il recupero
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Ora inziamo ad inserire Jquery nell&#8217;head della pagina</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;
</pre>
<p>Fatto questo possiamo iniziare a creare la base della form per il recupero della password fornendo l&#8217;indirizzo email dell&#8217;utente registrato.</p>
<pre class="brush: xml; title: ; notranslate">&lt;/p&gt;
&lt;p&gt;Se hai perso la password digita nella casella di testo la tua email e clicca su &quot;RECUPERA PASSWORD&quot;, ti verr&amp;agrave; inviata la password.&lt;/p&gt;
&lt;form action=&quot;/recupero_password.php&quot; method=&quot;post&quot; id=&quot;form&quot;&gt;
    email &lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; /&gt;&lt;br /&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;lang&quot; id=&quot;lang&quot; value=&quot;1&quot; /&gt;&lt;br /&gt;
    &lt;input type=&quot;button&quot; value=&quot;Recupera Password&quot; onclick=&quot;recupera()&quot; /&gt;&lt;br /&gt;
    &lt;span class=&quot;colore_rosso&quot; id=&quot;errore&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/form&gt;
&lt;p&gt;</pre>
<p>L&#8217;html, come possiamo vedere è molto semplice abbiamo un <strong>input text</strong> dove inseriremo la nostra email, il <strong>button</strong> che  richiamerà la funzione <em>recupera()</em> per fare la chiamata ajax, infine c&#8217;è uno span per mostrare gli errori. All&#8217;interno dell&#8217;head del nostro documento dove ho messo il commento //qui andremo ad inserire la nostra funzione scriviamo la funzione riportata qui sotto.</p>
<p>La funzione è molto banale ma molto efficace perché è il cuore della  chiamata ajax all&#8217;inizio fa un primo controllo sulla presenza di  qualche valore nell&#8217;input dove inseriamo l&#8217;email e poi possa in POST  l&#8217;email alla nostra pagina PHP recupera_password.php, l&#8217;ultimo parametro  passato a <strong>$.post()</strong> è il dataType che nel nostro caso JSON in  modo da poter utilizzare un array come risposta e non una solo valore.</p>
<pre class="brush: jscript; title: ; notranslate">
function recupera(){
    var email = $('#email').val();
    if(email != ''){
        $('#errore').html('');
        $.post(
        '/recupera_password.php',
        'email='+email,
        function(m){
            $('#errore').html(m.messaggio);
            $('#email').val('');
        },
        'json'
        );
     } else
        $('#errore').html(&quot;&lt;strong&gt;Non &amp;egrave; stata inserita l'email&lt;/strong&gt;&quot;);
}
</pre>
<pre class="brush: php; title: ; notranslate">
&lt;?php // file recupera_password.php
session_start();
require_once('inc/DATABASE.php');
require_once(&quot;inc/phpmailer/class.phpmailer.php&quot;);
require_once(&quot;inc/phpmailer/phpmailer.lang-it.php&quot;);
$db = new DATABASE();
$mail = new PHPmailer();

$errore = false;
if(trim($_POST[&quot;email&quot;]) == &quot;&quot;){
    $errore = true;
    $str_errore .= &quot;Non &amp;egrave; stata inserita l'email&quot;;
}

if(!$errore){
    $sql = &quot;SELECT id, username, password, CONCAT(nome, ' ', cognome) AS nome, email
            FROM user
            WHERE status = 1
            AND email = '&quot;. $_POST[&quot;email&quot;] . &quot;'&quot;;
    $data = $db-&gt;getOneItem($sql);
    if(is_array($data)){
        $mail-&gt;SetFrom(&quot;email@email.it&quot;,&quot;Mittente&quot;);
        $nome = $data[&quot;nome&quot;] . &quot; &quot; . $data[&quot;cognome&quot;];
        $mail-&gt;AddAddress($data[&quot;email&quot;], $nome );
        $mail-&gt;Subject = &quot;Recupero password&quot;;
        $messaggio = str_replace(
            array(&quot;[NOME]&quot;,&quot;[USERNAME]&quot;,&quot;[PASSWORD]&quot;),
            array($data[&quot;nome&quot;],$data[&quot;username&quot;],$data[&quot;password&quot;]),
            $L_testo_mail_rec
        );

        $mail-&gt;msgHtml($messaggio);
        $mail-&gt;AltBody = strip_tags($messaggio);
        $mail-&gt;Sender = &quot;email@email.it&quot;;
        $mail-&gt;WordWrap = 78;
        if(!$mail-&gt;Send()) {
            $str_errore = &quot;Non &amp;egrave; stato possibile recuperare la password ed inviare una mail, riporivare pi&amp;ugrave; tardi&quot;;
        } else{
            $str_errore = &quot;Password recuperata correttamente. A breve riceverai un email&quot;;
        }
    } else     //non eisite l'username
        $str_errore = &quot;Utente inesistente&quot;;
}

print json_encode(
    array(
        &quot;errore&quot;    =&gt; $errore,
        &quot;messaggio&quot;    =&gt; $str_errore
     )
);
?&gt;
</pre>
<p>Il file php include un file con la configurazione del db e una classe per poter fare le query al database e la classe phpMailer per inviare la mail con la password alla persona che ne ha fatto richiesta.</p>
<p>Il php, che riceve in post l&#8217;email controlla l&#8217;esistenza del campo altrimenti restituisce un errore e successivamente fa una query sulla tabella user per cercare le credenziali dell&#8217;utente associato a quell&#8217;email, una volta trovato il record invia una mail.</p>
<p>Alcune considerazioni sul mio articolo</p>
<ul>
<li>Sicuramente non è la miglior cosa utilizzare le <a href="http://www.lucaeandrea.com/tag/passowrd/" class="st_tag internal_tag" rel="tag" title="Post taggati con passowrd">passowrd</a> in chiaro perché se siamo vittima di un attacco hacker avremmo perso tutti gli accessi al sito web.</li>
<li>La password andrebbe resettata, una volta che viene trovato il record nel DB, creandone una casuale di n caratteri ricordando all&#8217;utente di cambiarla il prima possibile perché è stta generata automaticamente dal sistema.</li>
<li>Andrebbe aggiornata la data di modifica del record relativo all&#8217;utente e incrementato il numero di richieste di password e il nostro sito web prevede un massimo di tentativi di accesso al sistema allora dovremmo azzerare quel contatore</li>
</ul>
<p>Per oggi è tutto vi aspetto alla prossima</p>

]]></content:encoded>
			<wfw:commentRss>http://www.lucaeandrea.com/recuperare-la-password-con-ajax/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>firebug in internet explorer</title>
		<link>http://www.lucaeandrea.com/firebug-in-internet-explorer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firebug-in-internet-explorer</link>
		<comments>http://www.lucaeandrea.com/firebug-in-internet-explorer/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 10:57:13 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firebug IE]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.lucaeandrea.com/?p=69</guid>
		<description><![CDATA[Come avere firebug su IE]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.lucaeandrea.com%252Ffirebug-in-internet-explorer%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2F5Ha0HR%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22firebug%20in%20internet%20explorer%22%20%7D);"></div>
<p>cercando un aggiornamento di <a href="http://www.lucaeandrea.com/tag/firebug/" class="st_tag internal_tag" rel="tag" title="Post taggati con firebug">firebug</a> ho trovato questa pagina:</p>
<p><a title="firebug lite" href="http://getfirebug.com/lite.html" target="_blank">http://getfirebug.com/lite.html</a></p>
<p>che spiega come integrare firebug lite in IE e potrebbe essere interessante per avere un po&#8217; più di <a href="http://www.lucaeandrea.com/tag/debug/" class="st_tag internal_tag" rel="tag" title="Post taggati con debug">debug</a> in IE che è uno dei sponosi problemi di quel browser (almeno dal mio punto di vista).</p>
<p>per inserire firebug lite è sufficiente aggiungere questa riga di codice nell&#8217;head della vostra pagina web.</p>
<pre>&lt;script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'&gt;&lt;/script&gt;
</pre>
<p>Ho potuto fare delle prove veloci e mi sembra molto utile.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.lucaeandrea.com/firebug-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Jquery 1.4</title>
		<link>http://www.lucaeandrea.com/jquery-1-4/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-1-4</link>
		<comments>http://www.lucaeandrea.com/jquery-1-4/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 10:26:55 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[varie]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery 1.4]]></category>

		<guid isPermaLink="false">http://www.lucaeandrea.com/?p=65</guid>
		<description><![CDATA[Come recita il banner nell&#8217;home page di jquery Nuovo anno, nuova versione. Infatti, ieri è uscrita la nuova versione 1.4 della libreria javascript. Per festeggiare l&#8217;evento hano creatoun nuovo sito dove possiamo trovare tutte le informazioni sul rilascio di jquery dal&#8217;ultima RC. Sicuramente interessante è l&#8217;annucio del rilascio della nuove versione o le domande e [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.lucaeandrea.com%252Fjquery-1-4%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Jquery%201.4%22%20%7D);"></div>
<p>Come recita il banner nell&#8217;home page di <a title="Jquery" href="http://jquery.com" target="_blank">jquery</a> Nuovo anno, nuova versione. Infatti, ieri è uscrita la nuova versione 1.4 della libreria javascript. Per festeggiare l&#8217;evento hano creatoun nuovo <a title="Jqery 1.4" href="http://jquery14.com/" target="_blank">sito</a> dove possiamo trovare tutte le informazioni sul rilascio di <a href="http://www.lucaeandrea.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Post taggati con jquery">jquery</a> dal&#8217;<a title="jquery 1.4 RC1" href="http://jquery14.com/pre-release-2/jquery-14rc1" target="_blank">ultima RC</a>.</p>
<p>Sicuramente interessante è l&#8217;annucio del <a title="Rilascio Jquery" href="http://jquery14.com/day-01/jquery-14" target="_self">rilascio</a> della nuove versione o le <a title="Live Q &amp; A" href="http://jquery14.com/day-01/jquery-14-live-qa" target="_self">domande e risposte</a>.</p>
<p>Tutte le novità e modifiche sono presenti <a title="Novità di Jquery 1.4" href="http://api.jquery.com/category/version/1.4/" target="_blank">qui</a></p>
<p>Riporto un elenco delle nuove funzionalità:</p>
<ul>
<li>
<address><a title=".clearQueue()" href="http://api.jquery.com/clearQueue/" target="_blank">.clearQueue()</a></address>
</li>
<li>
<address><a title="jQuery.contains()" href="http://api.jquery.com/jQuery.contains/">jQuery.contains()</a></address>
</li>
<li>
<address><a title=".delay()" href="http://api.jquery.com/delay/">.delay()</a></address>
</li>
<li>
<address><a title=".detach()" href="http://api.jquery.com/detach/">.detach()</a></address>
</li>
<li>
<address><a title=".focusin()" href="http://api.jquery.com/focusin/">.focusin()</a></address>
</li>
<li>
<address><a title=".focusout()" href="http://api.jquery.com/focusout/">.focusout()</a></address>
</li>
<li>
<address><a title=".has()" href="http://api.jquery.com/has/">.has()</a></address>
</li>
<li>
<address><a title="jQuery.isEmptyObject()" href="http://api.jquery.com/jQuery.isEmptyObject/">jQuery.isEmptyObject()</a></address>
</li>
<li>
<address><a title="jQuery.isPlainObject()" href="http://api.jquery.com/jQuery.isPlainObject/">jQuery.isPlainObject()</a></address>
</li>
<li>
<address><a title=".nextUntil()" href="http://api.jquery.com/nextUntil/">.nextUntil()</a></address>
</li>
<li>
<address><a title="jQuery.noop" href="http://api.jquery.com/jQuery.noop/">jQuery.noop</a></address>
</li>
<li>
<address><a title=".parentsUntil()" href="http://api.jquery.com/parentsUntil/">.parentsUntil()</a></address>
</li>
<li>
<address><a title=".prevUntil()" href="http://api.jquery.com/prevUntil/">.prevUntil()</a></address>
</li>
<li>
<address><a title="jQuery.proxy()" href="http://api.jquery.com/jQuery.proxy/">jQuery.proxy()</a></address>
</li>
<li>
<address><a title=".toArray()" href="http://api.jquery.com/toArray/">.toArray()</a></address>
</li>
<li>
<address><a title=".unwrap()" href="http://api.jquery.com/unwrap/">.unwrap()</a></address>
</li>
</ul>
<p>Ci sono delle novità anche per quanto riguarda la parte <a href="http://www.lucaeandrea.com/tag/ajax/" class="st_tag internal_tag" rel="tag" title="Post taggati con ajax">AJAX</a>, cito solo i titoli dei paragrafic eh riguardano la sezione</p>
<blockquote><p><strong>Nested param serialization</strong> (<a href="http://api.jquery.com/jQuery.param/">jQuery.param() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/50d78e7658382d2a2f5149cae7a6572f78ce403f">Commit  1</a>, <a href="http://github.com/jquery/jquery/commit/67089eedf6f84acd9c16ea2a6dadadf7b13a7c84">Commit  2</a>)</p>
<p><strong>JSON and script types auto-detected by content-type</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/787f271052220c20787104f0eba6441aedac22ff">Commit  1</a>, <a href="http://github.com/jquery/jquery/commit/6861b5d4eb16222ed5ea623af6ce75362b55d1d4">Commit  2</a>)</p>
<p><strong>Etag support has been added</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/28ab4d32247943e1ae3409b23fe69303df0bc9eb">Commit</a>)</p>
<p><strong>Strict JSON parsing, using native JSON.parse</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/90a87c03b4943d75c24bc5e6246630231d12d933">Commit  1</a>, <a href="http://github.com/jquery/jquery/commit/308d6cdad023da190ace2a698ee4815ed8dad9c5">Commit  2</a>, <a href="http://github.com/jquery/jquery/commit/44e6beb10304789044de2c5a58f5bb82e8321636">Commit  3</a>)</p>
<p><strong>Serialize HTML5 elements</strong> (<a href="http://api.jquery.com/jQuery.param/">jQuery.param() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/b31b9bd756a1489c3b1b856ed8b624c55da9e02f">Commit</a>)</p>
<p><strong>Context for Ajax Request</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/183f37e4b4128af7ba096ac40046768b84b6d66e">Commit</a>)</p>
<p><strong>Success callback receives XHR object as third argument</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/c2101245c07afdb831b0c79869c7263420407b67">Commit</a>)</p>
<p><strong>Explicitly set a content-type</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax() Documentation</a>,  <a href="http://github.com/jquery/jquery/commit/25b0ba9f9612583033b902a0e40345463a3a71d0">Commit</a>)</p>
<p><strong>Explicitly specify a JSONP callback name</strong> (<a href="http://api.jquery.com/jQuery.ajax/">jQuery.ajax Documentation</a>,   <a href="http://github.com/jquery/jquery/commit/fbc73d45b487dd863886c7fd3f0af1fd4dec261b">Commit</a>)</p>
<p><strong>Avoid pre-flighting cross-domain XHR</strong> (<a href="http://github.com/jquery/jquery/commit/a7678267d848fcef8775c8b9f4fa3e507b8cc5f4">Commit</a>)</p>
<p><strong>jQuery.ajax() is now using onreadystatechange instead of a timer</strong> (<a href="http://github.com/jquery/jquery/commit/fe6c86d53046b0f4d648f61c0b8e75387af65152">Commit</a>)</p></blockquote>
<p>Ce n&#8217;è da imparare!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.lucaeandrea.com/jquery-1-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

