controlling AC fan speed..

Hello there, i need to use an arduino in order to open close and control speed of an AC fan , i just found this article http://playground.arduino.cc/Code/ACPhaseControl and i wonder if someone done that already?