开发者

Light PHP database-driven framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I'm looking for a framework that has the following characteristics:

  • Preferably PHP-driven
  • Preferably FOSS
  • Light, simple
  • Has a concentration on quick prototyping rather than complex security models
  • Is able to s开发者_如何学运维emi-automatically generate HTML forms for a GUI interface to an existing SQL database, given some DDL, without modifying its structure
  • DBMS-agnostic, ie., works with PostgreSQL just as well as MySQL

I have a reasonable amount of PHP and SQL experience, but in this case I don't want to go through the (repetitive) trouble of making the forms and login system myself. I'd also prefer not to have to learn an entire new language just to get this done (ie. Ruby).

Any suggestions would be welcome. Thanks.


Lithium and Symfony are PHP 5.3 based and soon to be released if you want namespaces and closures. Symfony is probably a bit large for your sake, but I'd still recommend you look at it. (It plays well with Zend and tons of other stuff.)

Else try Solar or YII.

There are others, e.g. CakePHP (by the authors of Lithium), CodeIgnitor, etc. But they're becoming a bit old imho.


It's probably too lightweight, considering the features you mentioned, but anyways it's a really nice micro framework to know about: Limonade, http://www.limonade-php.net It's super fast when it comes to prototyping stuff, but it lacks the M in MVC. Don't be afraid to mix some little libraries that suit your needs to form a full featured lightweight MVC framework.


I've been in Zend-Framework for about a year. For your needs, the Zend-Framework is totally overkill. However I've not worked with the CakePHP-Framework, but I read through their introduction once or twice. Since CakePHP seems to be much lighter than Zend-Framework I would suggest that you take a look at CakePHP:

http://cakephp.org/

I think they also provide a console-driven tool, which can generate views, actions and forms fitting your database-tables.


zend framework is good also codeigniter and cakephp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜