Farmville only took five weeks to produce.
Your typical AAA game is going to take about two years in development, potentially require dozens of employees, and somewhere in the millions of dollars to produce.