html a views, sql a controller, y js a teddy.js