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
PHP (CRUD)
Moderator: General Moderators
-
amandurrani
- Forum Newbie
- Posts: 2
- Joined: Thu Aug 12, 2010 1:15 am
PHP (CRUD)
- Attachments
-
- CRUDClassWithExample.rar
- (4.48 KiB) Downloaded 481 times
Last edited by amandurrani on Sun Aug 15, 2010 5:30 am, edited 1 time in total.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP (CRUD)
Moved to Code Critique. If the code is found to be of high quality then is can be made available in Code Snippets.
(#10850)
Re: PHP (CRUD)
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.