针对后端的 PHP 框架/库建议

发布于 2024-09-03 01:01:24 字数 1539 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

被翻牌 2024-09-10 01:01:24

对此没有完美的答案,这取决于您(和您的团队)的编程经验和项目的要求。

由于它讨论了 PHP 和后台,我建议您查看 symfony 框架。它是一个 RAD 框架,具有出色的管理功能和大量插件,可简化背板开发。

我知道你不需要脚手架,在 symfony 中你可以选择使用一个非常可定制的管理生成器或构建你自己的表单/列表(或两者之间的混合,使用生成作为一个好的代码库并扩展它)。

它使用 MVC 范式,因此具有很大的关注点分离,但除了 MVC 之外,它还有表单管理子框架,可以帮助开发后台。

如果您不熟悉 PHP5 OOP 和 MVC,那么要小心,学习和理解可能会有点复杂,但如果您的计划可以让您有时间学习 symfony 编程,那么我会向每个 PHP 开发人员推荐这种体验。

这个框架有很好的文档记录,作为介绍教程,他们提供了一个围绕网站示例及其后端应用程序的课程。

当然,这是主观的,其他人可能会推荐您其他选择。

There is no perfect answer for this, it depends a lot of your (and your team) programming experience and your project's requirements.

As it talks about PHP and backoffice, I suggest you look at symfony framework. It's a RAD framework with great admin features and tons of plugins easing backpanel developement.

I understand you don't want scaffolding, in symfony you can choose to use a very customizable admin generator or build your own forms/listings (or mix between both, using generated as a good code base and extending it).

It comes with a great separation of concerns as it uses MVC paradigm, but aside from MVC it has form management sub-framework which can help a lot developing backoffice.

Be careful if you're not familiar with PHP5 OOP and MVC it could be little complex to learn and understand, but if your planning could allow you to have time to learn symfony programming, it's an experience I would recommand to every PHP developer.

This framework is very well documented, and as an introduction tutorial they offer a class around a website example with its backend application.

Of course, this is subjective and others would perhaps recommend you other choices.

§对你不离不弃 2024-09-10 01:01:24

直到最近,大约一个月前,我才为我正在开发的一个网站浏览了几个框架,发现 CodeIgniter 最容易启动和运行,并且拥有最好的文档和教程。

http://codeigniter.com/

替代方案有 symphony、cakePHP 和 Kohona

Only recently went through a couple of frameworks about a month ago for a site I was working on and found CodeIgniter was easiest to get up and running and had the best documentation and tutorials.

http://codeigniter.com/

Alternatives are symphony, cakePHP and Kohona

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文