Simple CRUD Generation

断了今生、忘了曾经 提交于 2019-12-03 14:35:01

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).

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 :-)

CakePHP (user guide) takes a database model and generates controllers that do basic CRUD operations for all of your tables. It also includes views and a basic stylesheet.

If your hosting setup can handle Python, the web2py framework offers instant CRUD for a database and a very user friendly (and laziness-friendly) online dev environment. I don't think it's designed to be laid overtop of an existing database, but you can import a CSV file with your database contents. http://www.web2py.com

One of the great things about web2py is that creating custom (public) CRUD pages is also dead easy. In a controller file it's as easy as

form = CRUD.create(db.myTable)
return dict(form = form)

Then in a view file you just add

{{=form}}

And that's it! All of the form creation, input validation, etc., is handled for you. I should also add that the data abstraction layer in web2py is very easy to learn and meshes with mySQL easily. One great thing about it is that web2py performs on-the-fly changes to your datastructure or even migrations from one DB back-end to another.

Not every hosting company knows how to support web2py, but it's easy to deploy on the Google App Engine or with a company like Fluxflex.com

I've been looking for a drop-in admin panel like this too, so far I've 3:

AjaxCrud - http://ajaxcrud.com/ Peek from Code Canyon - http://bit.ly/toKKrB SQLBuddy - http://www.sqlbuddy.com/

Love to hear any other suggestions!

Ruby on Rails' "Scaffolding" should be exactly what you're looking for...

wen

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!