CRUD using activeRecord, php, mysql and bootstrap