Caputo’s blog

Informatica, tecnologia, programmazione, fai da te, papercraft e papertoy

Modificare, testare e debug Javascript online in modo collaborativo

ottobre 23rd, 2009 by Giovanni Caputo

JS Bin è una webapp progettata specificatamente per aiutare lo sviluppo in Javascript e CSS . Permette di testare ed effettuare il debug del codice in modo collaborativo.

JS Bin permette di modificare e testare codice JavaScript e HTML. Una volta che si è contenti di ciò che si è realizzati, puoi salvare e inviare l’URL a peer per modifiche o chiedere aiuto.

Category: Programmazione, Siti Web, Tecnologia | No Comments »

Validare form con jQuery

giugno 12th, 2009 by Giovanni Caputo

Per vedere come realizzare un validatore di form come quello nell’immagine utilizzate il seguente tutorial

TUTORIAL

Category: Programmazione, Siti Web, Tecnologia, tutorial | 1 Comment »

APE: open source Ajax Push Engine

giugno 9th, 2009 by Giovanni Caputo

The first Open Source Ajax Push Engine

APE (Ajax push Engine) è una tecnologia open source che permette di scambiare i dati attraverso il browser tra vari utenti senza la neccessità di effettuare il caricamento della pagina.
Di seguito il video di presentazione ufficiale.

Utilizza lo standard web per garantire scalabilità, infatti, funziona con i più comuni browser.

APE is fully cross browser. Ajax Push Engine works with all the Internet browsers.

La parte principale di APE è il epoll-driven HTTP server interamente scritto in C. Attraverso particolari protocolli riesci a mantenere attiva la connessione tra client e server  tramite  XHR long-polling (cross browser), forever frame e altri meccanismi. Il server può essere esteso usando moduli scritti in C oppure JacaScript server-side.

La seconda parte di APE è il framework Javascript basato su MooTools.

Per maggiori informazioni visitate il sito ufficiale.

Website: http://www.ape-project.org/en/
Demo: http://www.ape-project.org/en/demos/
Download: http://www.ape-project.org/en/download/

Category: Programmazione, Siti Web, Tecnologia, tutorial | No Comments »

File manager in PHP, Ajax e Javascript

maggio 24th, 2009 by Giovanni Caputo

1. AjaXplorer

Ajax File Manager

2. fileNice

Ajax File Manager

fileNice is a free php file browser, particularly useful if you have a ‘dump’ folder on your server where you regularly upload files and you want to be able to see what’s there.

3. File Thingie

Ajax File Manager

4. MooTools based FileManager

Ajax File Manager

5. Relay

Ajax File Manager

6. Kae’s File Manager

Ajax File Manager

7. eXtplorer

Ajax File Manager

Read the rest of this entry »

Category: Open Source, Programmazione, Siti Web | No Comments »

Debuggare e testare codice per il web con Firebugs

maggio 7th, 2009 by Giovanni Caputo

Segnalo a tutti gli sviluppatori web, un video dal canale di googletechtalks, nel quale viene spiegato come testare ed effettuare il debug di codice web, come javascript e CSS.

Category: Programmazione, Siti Web, tutorial | No Comments »

Creare animazioni con jQuery e CSS

maggio 2nd, 2009 by Giovanni Caputo

demo.
Flashy intro with jQuery animation

Header:

<script src="js/jquery-1.3.2.js" type="text/javascript"></script>
<script type="text/javascript" language="Javascript" src="js/jquery.color.js"></script>

Html della pagina

<body>
<div id="container">
<ul id="navigator" class="fancy" >
<li><a class="c1" href="#">Design-Notes</a></li>
<li><a class="c2" href="#">Likes to be</a></li>
<li><a class="c3" href="#">Creative</a></li>
</ul>
</div>
</body>

CSS

body{
background:#000;
font-size:30px;
font-family:Arial, Helvetica, sans-serif;
}
a{
color:#fff;
text-decoration:none;
font-weight:bold;
}
#container{
width:600px;
margin: 100px auto;
}
#navigator li{
display:inline;
}
#navigator li a{
position:relative;
padding:2px 5px;}

Javascript

Leggere ciò che riguarda:  chained animation and unqueued animation animation.

var menu_over_colors = ["#ffffff","#55C7FF","#FF5A8D","#FFA324","#f453g5"];/* the colors you want to use*/
$(document).ready(function(){
$("#navigator &gt; li &gt; a").each(function(){
var over_color = menu_over_colors[$(this).attr('class').substring(1,3)];
   $("#navigator li a").animate({ color: over_color }, 200);/* animate text color for all text*/
  $("#navigator li+li+li a").animate({fontSize: '3em'}, 300);/* animate text of the third list*/
 $("#navigator li+li a").animate({top: '50px'}, 300);/* animate text of the second list*/
  $("#navigator li a").animate({left: '50px',}, 300)
  .animate({fontSize: '1.5em'}, 300)
  .animate({ backgroundColor:over_color }, 500,
function() {var over_color  = menu_over_colors[$(this).attr('class').substring(1,3)];/* point out the colors again*/
$(this).animate({color:'white',backgroundColor:over_color},300);});
});/* animate all text again with callback function*/
	$("#navigator &gt; li &gt; a").hover(
		function(){//over
			var over_color  = menu_over_colors[$(this).attr('class').substring(1,3)];
			$(this).animate({ color: over_color }, 500 );
			$(this).animate({ backgroundColor:over_color }, 500 );
		},
		function(){//out
			$(this).animate({color: menu_over_colors[0]},500);
		});
});





Category: Programmazione, Siti Web, Tecnologia, tutorial | No Comments »

Effetti AJAX

maggio 2nd, 2009 by Giovanni Caputo

1. Image Menu

2. ImageFlow

3. Instant.js

4. Glassbox

5. Search Field CSS/JS

6. Protoload

7. jwysiwyg

8. jquery.biggerlink 2

9. jQuery Tag Suggestion

10. Facebox

11. Humanized Messages

12. LightWindow v2.0

13. Unobtrusive Table Actions

14. jQuery checkbox

15. iCarousel

16. MochaUI

17. jTip

18.Uni-Form

19. Validation Hints

20. Control Tabs

Category: Programmazione, Siti Web, Tecnologia, tutorial | No Comments »

Script Ajax

aprile 30th, 2009 by Giovanni Caputo

AJAX Rating Stars

AJAX Star Rating
Site | Demo

FancyZoom 1.1

Fancy Zoom

SIte | Demo

AJAX Pagination v1.2.2

AJAX Pagination

Site | Demo

AJAX Tab Content v2.2

AJAX Tab Content

Site | Demo

Coda Popup Bubbles

Coda Popup Bubbles

Site | Demo

Sunday Morning

Sunday Morning

Site | Demo

TimeLine

Timeline

Site | Demo

Pie & Donut Charts

Pie & Donut Charts

Site | Demo

Read the rest of this entry »

Category: Siti Web, programmi | No Comments »

Script per ritagliare immagini

aprile 29th, 2009 by Giovanni Caputo

  1. cfImageCropper -Scritto in Coldfusion.
  2. jsCropper – Basato su  Prototype e script.aculo.us.
  3. mooImageCrop – basato su mootools.
  4. Image Crop – Scritto in Javascript e php ma richiede l’installazione di ImageMagick.
  5. Ajax Image Editor – Script di editing di immagini che permette taglio, ridimensionamento e rotazione.
  6. Flash Image Crop – Scritto in Actionscript e PHP.
  7. Flash Based Cropping tool – Anche questo scritto in Actionscript e PHP.
  8. MooCrop Usa mootools e permette di modificare il colore della maschera.

Category: Open Source, Programmazione, Siti Web, Tecnologia, tutorial | No Comments »

Tutorial PHP + jQuery

aprile 11th, 2009 by Giovanni Caputo

Vediamo alcuni progetti con Demo che utilizzano PHP e jQuery.

Directory Tree

Check out the Demo Here

Pagina di amministrazione di foto

Commenti sincroni con jquery, PHP e JSON

Check out the Demo Here

Ajax login

Check out the Demo Here

TO DO list

Check out the Demo Here

Modulo newsletter

Check out the Demo Here

Leggere dati da un database e convertirli in XML per permettere la lettura da parte di jQuery

Check out the Demo Here

Validare un orm sia client che server side

Check out the Demo Here

Realizzare uno ShoutBox

Check out the Demo Here

Realizzare una progressBar

Check out the Demo Here

Campi con autocompletamento

Ricerca Apple – style

Check out the Demo Here

Upload e crop di immagini

Check out the Demo Here

Fliker scroll

Check out the Demo Here

Sistema di votazione

Check out the Demo Here

Mail con feedback SMTP

Check out the Demo Here

Ricaricare un elemento ad intervalli di tempo regolare

Check out the Demo Here

Image Replacement

Check out examples here

Read the rest of this entry »

Category: Programmazione, Siti Web, Tecnologia | No Comments »