>Calling database methods directly from template code violates proper separation of concerns and is a maintainability nightmare. [11] 11. Practically every PHP application ever written has this problem. @sashashi
>Calling database methods directly from template code violates proper separation of concerns and is a maintainability nightmare. [11] 11. Practically every PHP application ever written has this problem. @sashashi
А куда его тогда? В контроллер? Или вообще не вставлять команды базы данных?