Page 1 of 1

PHP (CRUD)

Posted: Thu Aug 12, 2010 1:32 am
by amandurrani
i was in office doing nothing thought to do something so i had created a "Code Cutter Class"
i really helps me alot while programming with PHP it decreases my code and removes repetaion of code
I ur using and PHP Framework than u dnt need this class But IF ur doing simple PHP than must implement this Class
This is a handy tool for Rapid development
Regards : Aman Durrani


Hey Guys Good Newz
I had done few changes in code class newer version of class is available now
It Contains JOIN query along with method overloading

Re: PHP (CRUD)

Posted: Thu Aug 12, 2010 1:46 pm
by Christopher
Moved to Code Critique. If the code is found to be of high quality then is can be made available in Code Snippets.

Re: PHP (CRUD)

Posted: Sat Aug 21, 2010 12:00 pm
by josh
Heh so what happens if I want a JOIN but not an inner join? Also this is a database adapter class, you should name things appropriately. Technically its a database adapter, intended for use in your personal CRUD system (which is not layered). I'd recommend working with some real frameworks. I have a hunch you're trying to build something you don't fully comprehend (and I say that with all the respect possible). By layered I mean you shouldn't have HTML & PHP code all mixed in the same file like this.