Vortexmind: free your mind Blog

Who controls the past, controls the future. Who controls the present, controls the past.
marzo 10, 2006

CSS sprites: diminuire le server calls

Author: Vortexmind - Categories: Webdesign - Tags: , , , , , , , , , , ,

Ho trovato questo interessante articolo: si tratta di utilizzare una tecnica per inserire tutte le immagini di uso comune nel vostro sito web in un unico file da aggregare ai CSS. In questo modo i clients che si connetteranno effettueranno un’unica chiamata al webserver per ritirare detto file, e poi non dovranno più rivolgersi (appesantendolo) al server per ottenere le immagini richieste. Ovviamente questa tecnica ha senso per immagini d’uso comune che verrebbero sicuramente scaricate dai navigatori, altrimenti va a finire che l’overhead introdotto dallo scaricamento della “mappa di immagini” sia controproducente rispetto all’uso che se ne fa. Il trucco principale è creare un’immagine “a griglia” contente tutte le singole immagini usate nell’interfaccia del vostro sito, separate in modo che non si overlappino. Per fare un esempio, potete usare questa tecnica per ottenere bottoni rollover senza usare Javascript ma semplicemente sfruttando i fogli di stile. Per una maggiore comprensione ed esempi vi consiglio caldamente di leggere l’articolo originale che è molto completo. (read more | digg story)

febbraio 28, 2006

Apache mod_rewrite tweaks

Author: Vortexmind - Categories: English, Tutorial, Webdesign - Tags: , , , , , , , , , ,

Due to high demand, I’m going to write a straightforward mod_rewrite guide to group together the solutions to the most common problems. Again, this article is NOT a detailed guide about mod_rewrite: if you need such a thing, you should go to Apache’s website which brings a complete document about this issue. I will update this tutorial when I get new info about this “Apache 2 swiss army knife”. But first, let’s just introduce the topic by seeing what mod_rewrite is… Read it all..

febbraio 26, 2006

Apache .htaccess tweaking tutorial

Author: Vortexmind - Categories: Applications, English, Informatica, Technology, Tutorial, Webdesign - Tags: , , , , , , , , , , , ,

In this tutorial we are going to improve our website by tweaking out the .htaccess file. Why I wrote this article? Because on the net I have found many articles about this little beast, but every one of them dealt with a specific issue and not look at the overall usage of these files, or they are just too big when you need to do a thing in little time. So I’m trying to collect all the useful bits of data in a monolithic but slim tutorial, which will be updated as I collect more information. But first, let’s see what .htaccess file is… Read it all..