Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there a good PHP CRUD code generator? [closed]

Tags:

database

php

crud

Is there any better PHP CRUD code generator?
I want to get Data Access Object, Business Object and Value Object.
It would be difficult to match my needs, but I am happy at least I can get any relevant one.

[EDIT]

I am working on an MVC based application.
I am using my own MVC framework.
I need this code generator to generate codes for MODEL part.
For example Entity Class and Value Objects Currently my codes are like below.

class CustomersDAO
{
   public function add() {$CustomersVO}
   public function update($CustomersVO) {}
   public function delete() {}
   public function get() {}
}
class CustomersVO
{
   public $id;
   public $name;
   public $tp;
   public $address;
}
class CustomerBO
{
   private $id;
   private $name;
   private $tp;
   private $address;

   public function getID() {};
   public function setID($val) {};
   // other getters and setters gos here..

   // other business logics
}
like image 889
BlueBird Avatar asked Jul 14 '10 08:07

BlueBird


1 Answers

http://www.cakephp.org (scaffholding)

http://www.symfony-project.org

http://www.phpscaffold.com

http://www.scriptcase.net

all can generate the basic business logic via command line.

like image 61
Kieran Allen Avatar answered Sep 19 '22 21:09

Kieran Allen