What is the Best way to kill database Routine(repeated) work in php , i work daily with php & mysql through pdo and other libs , but i feel i repeat myself over and over ADD , DELETE , UPDATE , especially in admin panel , every task require these operations , its kill the prog开发者_C百科ramming enjoyment...
Try out an Object Relational Mapper (ORM) such as Doctrine. ORM's take care of all the SQL and let you focus on maintaining your data as a set of objects you can add, query, modify and save.
精彩评论