Another approach to quadrature methods