By Niccolò Favari on January 20, 2010
I use the Bitnami LAPPstack on my Linux system to develop my apps. It’s fast, lightweight, and doesn’t get in the way messing up with my system. I start it, restart it, stop it… whenever I want.
One thing it doesn’t have, apart the XDebug extension (I wrote an article on how to get it working: Configure XDebug with Bitnami PHP Stacks on Linux Ubuntu ), is the PL/pgSQL language configured inside the postgresql DBMS. Meaning that if you try to create a stored procedure and a trigger using that language, you’re going to get an error similar to this:
Posted in PostgreSQL | Tagged Linux, PL/pgSQL, PostreSQL, stored procedures, triggers
By Niccolò Favari on January 19, 2010
Fact is that if you want to develop something more than a dynamic menu in php, you’re going to need a debugger. You’re going to need it badly and you don’t even know it (shame on you!).
So let’s start from the beginning. You got bitnami lapp (or lamp) stack because it’s cool and doesn’t need so much configuration (if any at all). So you’re basically ready to start coding.
You realize you need a debugger. You search for it and you find out about xdebug. Cool. Then you approach the Xdebug download page and you see only sources and many windows binaries. Not cool.
Posted in Linux, PHP | Tagged bitnami, lamp, lapp, Linux, netbeans, PHP, ubuntu, xdebug
By Niccolò Favari on January 16, 2010
I’ve made the switch. Actually double.
Italian vs English
The first thing you’re going to notice (or maybe not) is that from now on I’ll be writing my posts in English. This is purely because of the audience. Antonio Lupetti pointed out in an interview, asking if he “[...] thinks that English language has really made the difference?” the following:
Posted in Blogging
By Niccolò Favari on January 3, 2010
Dopo aver smanettato per giorni con temi e aspetto di Ubuntu Linux, mi sono ritrovato con un obbrobrio di interfaccia utente. L’unica cosa che volevo fare era reinstallare Ubuntu da zero e ricominciare.
Il problema
Mi mancava l’interfaccia pulita, la leggerezza di un sistema appena installato. I puntatori del mouse erano inconsistenti, così come i bordi delle finestre. Persino i menu. Avevo personalizzato (e devastato) così tanto l’interfaccia utente che sembrava di usare un Mac OS versione Chernobyl.
La prima, ovvia, soluzione era quella di reinstallare il sistema. Il fatto è che avendo una partizione dedicata per /home, tutti i miei settaggi, compreso l’aspetto di gnome, sarebbero riapparsi come per magia sul nuovo sistema operativo.
Posted in Linux | Tagged gnome, Linux, ubuntu
By Niccolò Favari on December 28, 2009
Il costo del servizio di hosting è piuttosto alto su Media Temple e in questo periodo devo valutare bene se ne valga la pena o no. Al momento pendo per il sì e mi sento quasi pronto a trasferire tutti i siti dei miei clienti dal vecchio hosting provider alle macchine di (mt).

Trovare un hosting provider adatto non è cosa semplice
Posted in Hosting | Tagged HostGator, Hosting, JustHost, Media Temple, SSH
By Niccolò Favari on December 28, 2009
Ho cambiato da poco la struttura dei Permalinks in WordPress e mi sono accorto che i visitatori che usavano la vecchia struttura per accedere ai miei post, hanno iniziato a vedere pagine di errore (post inesistente con errore 404). In realtà il post esiste, ho solo cambiato link. Come fare?

Link e Permalinks sono importanti. Mai lasciarli rotti
Grazie al plugin Advanced Permalinks è possibile fare in modo che le vecchie richieste vengano correttamente reindirizzate in modo trasparente ai nuovi URL (con un redirect 301, per non danneggiare il posizionamento nei motori di ricerca).
Posted in Wordpress | Tagged 301, Links, Permalink, Permalinks, Plugin, Redirect, Wordpress
By Niccolò Favari on December 22, 2009
Da poco disponibile Digging into WordPress (20 Mb pdf). Un libro strazzeppo di informazioni utili, non per i deboli di cuore.

Digging Into WordPress - uno dei manuali più completi
Alcuni esempi del contenuto:
- Come costruire un tema
- Usare WordPress come un CMS
- Integrare Delicious o Twitter
- Capire a fondo l’uso dei loop
- molto altro
Chi, come me, lavora con WordPress, ha spesso a disposizione decine e decine di siti web dove trovare informazioni dettagliate sul come fare una determinata cosa (usare WordPress come CMS, gestire differenti loop, ottimizzazioni SEO varie, etc.).
Posted in Sviluppo web, Wordpress | Tagged digging into wordpress, download, eBook, libro, Wordpress