Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple CRUD Generation

This is what I have:

  • An entity-relational schema, modelled for Doctrine 2.0 (in PHP);
  • The generated database, on a MySQL server.

This is what I want:

A very basic CRUD web-interface to the database, that allows me to (you guessed it!) create, read, update and delete records, with extra credit for implementing CRUD operations on entities and relations instead of records.

Now, I'm terrible at writing web applications myself (read: I'm lazy). Are there any options to generate a CRUD web application from a MySQL database, or from a set of Doctrine entities?


  1. I'd be willing to stop using PHP (and thus rewrite the entities for JPA, Ruby ActiveRecord, etc...) but not MySQL.
  2. I see a lot of similar questions: however, most of these questions have answers that give CRUD operations for in PHP code, or recommend using Doctrine.
  3. An answer such as "There is no such tool, stop being lazy" would also be appreciated.
like image 937
wen Avatar asked Sep 29 '11 14:09

wen


2 Answers

You should have a look at Grocery CRUD.

Really simple, easy to use /deploy and neat UI.

http://www.web-and-development.com/grocery_crud/

I did a complete web CRUD of my DB in a couple of hours (including additional PHP webservices) Amazing :-)

like image 105
Pascal Avatar answered Sep 28 '22 06:09

Pascal


Symfony does this (at least the 1.x series I am used to). I should think version 2.0 also does, under either Doctrine or Propel (and both of those will work with MySQL).

like image 40
halfer Avatar answered Sep 28 '22 06:09

halfer