Web 应用程序框架和内容管理系统之间的区别? [英] Difference between Web Application Framework and a Content Management System?

查看:18
本文介绍了Web 应用程序框架和内容管理系统之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

两者是完全不同的概念吗?或者它们的意思有重叠吗?

Are both completely different concepts? Or is there an overlap in their meaning?

Web Framework 用于创建前端,而 CMS 用于后端的说法是否正确?

Would it be correct to say that a Web Framework is used for the creation of a front-end, while a CMS is used for the back-end?

如果是,那么 Web Framework 是否应该使用与 CMS 相同的技术?例如,Ruby on Rails 可以与 Drupal 结合使用吗?或者这根本没有任何意义?

If yes, then should the Web Framework use the same technology as the CMS? For example could Ruby on Rails be used in combination with Drupal? Or doesn't that make any sense at all?

推荐答案

两者是完全不同的概念吗?还是它们的含义重叠?

Web(应用程序)框架是用于开发 Web 应用程序的较低级别的通用工具包.这可以是管​​理和处理数据的任何类型的系统,同时向人类用户(通过网络浏览器和其他交互式客户端)以及通过 http 协议向机器公开数据和服务.

A web (application) framework is a lower level, generic toolkit for the development of web applications. That could be any type of system managing and processing data while exposing it's data and services to human users(via web browsers and other interactive clients) as well as machines via the http protocol.

CMS 是此类应用程序的一种:用于管理网站中显示的内容的系统.通常/历史上,这主要意味着管理网站中显示的页面"的(片段)文本,以及具有不同访问级别来管理此内容的用户.这就是 C 和 M 的来源.

A CMS is one type of such applications: a system to manage content shown in websites. Usually/historically, this mainly means managing (pieces of) text of "pages" shown in a web site, and useres that have different levels of access to manage this content. That's where the C and the M come from.

使用 CMS,您可以管理网络内容.借助 Web 框架,您可以构建 Web 应用程序.

With a CMS, you can manage web content. With a Web framework, you build web applications.

Web Framework 用于创建前端,而 CMS 用于后端的说法是否正确?

没有.可以说 Web 框架可用于创建 CMS 是正确的.两者都包含在后端和前端工作的部分.通常,CMS基于一个网络框架 - 有时 CMS 开发人员构建自己的网络框架,有时他们甚至公开这个框架的 API,因此开发人员可以创建以某种方式扩展到 CMS,就好像他会用 Web 框架开发应用程序一样.Drupal 确实做到了这一点,因此您可以基于集成框架创建真正的 Web 应用程序 - 好处是它们也很容易集成到 CMS 中.但这(暴露 Web 框架的 API)并不是被称为 CMS 的必要标准.

No. It would be correct to say that a web framework can be used to create a CMS. Both contain parts that work on the backend as well as on the front end. Often, a CMS is based on a web framework - sometimes CMS developers build there own web framework, and sometimes they even expose the API of this framework, so a developer can create extensions to the CMS in a way as if he would develop an application with a web framework. Drupal really does this, so you can create real web applications based on the integrated framework - with the upside that they will also be easily to integrate into the CMS. But that(exposing the API of a web framework) is no necessary criteria for being called a CMS.

如果是,那么 Web Framework 是否应该使用与 CMS 相同的技术?例如,Ruby on Rails 可以与 Drupal 结合使用吗?或者这根本没有任何意义?

可以将两个现有系统构建与这两个结合起来,(​​例如,因为您想在由 drupal 管理的网站中显示一些数据,该网站已经存在于基于 Rails 的系统中).但由于 Drupal 还为您提供了其底层 Web 框架的一些通用功能,因此可能没有必要.您将不得不管理和学习两个截然不同的系统,并通过互操作来处理所有问题.因此,如果可能的话,我会尝试仅使用其中一个来构建一个网站,并且只有在有充分理由的情况下才将它们组合在一起.

It's be possible to combine two existing systems build with these two, (e.g. because you want to show some data in a web site managed by drupal, that already exists in a Rails-based system). But as Drupal also provides you some of the genric functionality of it's underlying web framework, it might not be necessary. You would have to manage and learn two very different systems and handle all the problems with there interoperation. So, I'd try to build a Website with only one of these if possible and only combine them if theres a good reason to.

这篇关于Web 应用程序框架和内容管理系统之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆