PHP 框架与内容管理系统

发布于 2024-10-08 23:19:48 字数 132 浏览 0 评论 0原文

您如何向精通技术(主要精通硬件/网络,但很少或根本不编程)的人解释 PHP 框架和 CMS(例如 Wordpress)之间的区别?

作为一名业余到中级程序员,我可以尝试回答这些问题,但我更重视那些对框架和 CMS 更有经验的人的意见。

How would you explain the difference between a PHP Framework and a CMS (like Wordpress) to someone who is very technically savvy, mostly on hardware/networking, but does little or no programming?

As an amateur-to-intermediate programmer myself, I could try to answer these questions but I'd value the input of those who are more experienced with frameworks and CMS.

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

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

发布评论

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

评论(8

蓝眼睛不忧郁 2024-10-15 23:19:48

您可以查看此幻灯片以了解差异:

简而言之:

CMS 为您提供后端(带有大量插件和组件),例如 Joomla、Drupal 、WordPress 等,允许您管理前端。 作为框架则不然

CodeIgniter、Kohana、CakePHP、Symfony 等框架:为您提供现成的类和库,但您必须使用它们并构建自己的网站,即:前端和后端。

You can check out this slide to see the difference:

To put it in simple words:

A CMS provides you with a back-end (with a host of plugins and components) like Joomla, Drupal, WordPress, etc that allow you to manage front-end. Where as a frameworks doesn't.

A framework such as CodeIgniter, Kohana, CakePHP, Symfony, etc: provides you with ready-made classes and libraries BUT you have to use them and build your own site ie: Front-end and Back-end.

花桑 2024-10-15 23:19:48

你可以用框架构建CMS,但不能用CMS构建框架。

CMS 就是一个内容管理系统。

框架是用于构建应用程序的库的集合。

You can build a CMS with a framework, but you cannot build a framework with a CMS.

A CMS is just that - a Content Management System.

A framework is a collection of libraries to build an application.

别念他 2024-10-15 23:19:48

框架=库
CMS = 系统

框架不会“给”您任何东西,它只是一个骨架。 cms 将为您提供一个功能性网站,这只是主题和添加内容的问题。

Framework = Library
CMS = System

A framework doesn't "give" you anything, it's just a skeleton. A cms will give you a functional site, and it's just a matter of themeing and adding content.

煮茶煮酒煮时光 2024-10-15 23:19:48

框架就是……您可以将各个部分组合起来构建应用程序的东西。

CMS 是一个应用程序,它可能是也可能不是构建在框架之上的。

A framework is just that.. something that you can combine pieces of to build an application.

A CMS is an application, that may or may not have been built on top of a framework.

怪我闹别瞎闹 2024-10-15 23:19:48

框架可以创建非常好的、美观的 Web 应用程序,而 cms 可能速度很快,但无法创建像框架那样美观的质量。

frameworks create very good presentable web applications,whereas cms could be fast but can't create as presentable quality as frameworks can.

老旧海报 2024-10-15 23:19:48

我认为这篇文章:

框架还是CMS?选择什么更好?

解释了 CMS 和框架之间的区别。此外,您还可以查看 3 个示例,了解在何处使用 CMS 或框架以及原因。另外,如果您阅读文章下面的评论,您还可以看到有关 CMS 和框架的非常有趣的讨论。

I think this article:

A Framework or a CMS? What is better to choose?

explains the difference between a CMS and a framework. Furthermore you can see 3 examples of where to use a CMS or framework and why. Also if you read the comments below the article, you can see pretty interesting discussions about CMS and Frameworks as well.

浮光之海 2024-10-15 23:19:48

我相信,如果您要构建简单或通用的网站,请使用 CMS,但对于预算较多的更复杂的项目(或网络应用程序),框架更适合。

输入图片此处描述
ithands.com

I believe if you are building a simple or generic website use a CMS, but for more complicated projects (or web appliactions) with a substantial budget a framework is better suited.

enter image description here
ithands.com

記柔刀 2024-10-15 23:19:48

我作为 JOOMLA 开发人员已经工作多年。
您可以使用所有最著名的内容管理系统 (CMS) 做任何事情。

MVC 也是那里的模式。如果您需要特殊的东西,您可以开发自己的组件。

此外,你不需要专注于开发常见的任务,比如用户管理、Facebook 合作等

为什么要重新发明轮子呢?
任何以前构建过的东西都可以从存储库中购买甚至免费下载。那里有很多组件。

至于外观,有数千个现成的模板可供您使用,加快您的开发速度并降低您的成本。

I've been working for years as a JOOMLA developer.
You can do anything with all the most known content management systems(CMS).

MVC is the pattern there too. You can develop your own components, if you need something special.

Furthermore, you do not need to focus on developing common tasks, such as user management, Facebook co-operation, e.t.c.

Why reinvent the wheel?
Anything that has been build before, can be bought or even downloaded for free from the repositories. There are so many components out there.

As for appearance, there are 1000s ready made templates that you can get and speed up your development and lower your cost.

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