Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scaffolding for PHP [closed]

Is there any thing in PHP to create basic scaffold, like in Rails?

EDIT: I need something to prototype quickly..

like image 834
Akshay Avatar asked Jan 09 '09 04:01

Akshay


5 Answers

Some frameworks like Symfony, CakePHP, Akelos, CodeIgniter and others have support for scaffolding.

However if you don't want to use a framework you can try phpScaffold which generates CRUD scaffold pages based on phpMyAdmin table exports...

like image 164
Christian C. Salvadó Avatar answered Oct 19 '22 18:10

Christian C. Salvadó


I also wanted some fast prototyping, but I wanted it to generate the code, so it's easy to update it. I made many improvements on phpScaffold (HTML5, nice CSS, many models at once, etc) which are published on http://github.com/tute/phpscaffold.

like image 38
TuteC Avatar answered Oct 19 '22 18:10

TuteC


Phreeze makes this simple and easy. http://phreeze.com/

like image 29
mmcachran Avatar answered Oct 19 '22 17:10

mmcachran


QCodo is another great option. And since it uses reflection to do Code Generation instead of reflection at runtime, you'll likely see better performance.

like image 24
CaseySoftware Avatar answered Oct 19 '22 19:10

CaseySoftware


First, Rails is a framework. PHP is a language. PHP does not have built-in scaffolding support, just as Ruby--the language Rails is build on--does not. A framework like CakePHP, however, does support scaffolding.

Second, I see that you raised an objection to CakePHP because "you still have to do a bunch of stuff." That's true--with any framework, you're going to have to learn new conventions, configurations etc.

like image 2
Lucas Oman Avatar answered Oct 19 '22 17:10

Lucas Oman