A generator like Gii of the Gii framework, help to create models and CURD controllers of the relative database table.