Is there a simple way to write a common function for each of the CRUD (create, retreive, update, delete)
operations in PHP
WITHOUT using any framew
I know the way you feel.
Pork.DbObject is a simple class that you can extend your objects from. It just needs a db connection class to work.
please check out: www.schizofreend.nl/pork.dbobject/
(oh yeah, yuk @ php object generator. bloat alert! who wants to have those custom functions in every class???)
I think you should write your own functions that achieve CRUD unless you are stressed for time. it might be a framework on it's own but you need to learn what the framework does before screaming framework....it also becomes handy to know these things because you can easily pickup bugs on the framework and fix them your self........