PHP Developers Network
http://forums.devnetwork.net/

PHP (CRUD)
http://forums.devnetwork.net/viewtopic.php?f=50&t=119862
Page 1 of 1

Author:  amandurrani [ Thu Aug 12, 2010 1:32 am ]
Post subject:  PHP (CRUD)

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

Attachments:
CRUDClassWithExample.rar [4.48 KiB]
Downloaded 238 times

Author:  Christopher [ Thu Aug 12, 2010 1:46 pm ]
Post subject:  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.

Author:  josh [ Sat Aug 21, 2010 12:00 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/