Simple CRUD Generation

2019-03-29 05:57发布

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.

7条回答
你好瞎i
2楼-- · 2019-03-29 06:53

As according to this answer, I've tried Xataface, which gave me as decent a result as CakePHP or Web2Py would have given me. Am now trying Symfony 2.0 (which is a lot harder then I'd have expected) for the extra credit.

查看更多
登录 后发表回答