There's a reason we have housing inspections at so many steps in the building process.
Zoning and building codes are two vastly different things. Zoning controls how buildings can be used, what types of new buildings can be built, and, in some cases buildings' overall shape and size. Building codes specify how buildings can be built, and what quality and safety standards the construction has to meet.
Like many other pro-housing-affordablity people, I believe we should massively relax zoning laws in most places (though not necessarily abolish them entirely). I do not think we should change building codes in any way.
The original comment: If you want to fix the country then remove all limits, let developers develop whatever and whereever they deem there is demand.
Compare SF to unzoned Houston instead.
Still, removing parking requirements might be a good thing if creates incentive for public transit. Removing single family home mandates seems like it would be great for avoiding sprawl. But as you say, just these two.
http://www.nytimes.com/2011/06/09/world/asia/09gurgaon.html