Commutative algebra and noncommutative algebraic geometry