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

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

问题描述

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

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

这是正确的说,Web框架用于创建前端,而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框架应该使用与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框架用于创建前端,一个CMS用于后端?

否。这是正确的说,一个web框架可以用于创建一个CMS。
都包含在后端以及前端工作的部分。
通常,基于Web框架的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框架应该使用与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天全站免登陆