差异b / w框架和cms? [英] difference b/w Framework and cms?

查看:78
本文介绍了差异b / w框架和cms?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi frnds ..



框架和cms之间的主要区别是什么..



Plz解释

hi frnds..

what is the major difference between framework and cms..

Plz explain

推荐答案

来自维基百科
引用:

在计算机编程中,一个软件框架是一种抽象,其中提供通用功能的软件可以通过附加的用户编写的代码有选择地改变,从而提供特定于应用程序的软件。软件框架是一个通用,可重用的软件平台,用于开发应用程序,产品和解决方案。软件框架包括支持程序,编译器,代码库,工具集和应用程序编程接口(API),它们汇集了所有不同的组件,以支持项目或解决方案的开发。



框架包含将它们与普通库分开的关键区别特征:



- 控制反转 - 在框架中,与库或普通用户应用程序不同,整体程序的控制流程不是由调用者决定的,而是由框架决定的。[1]

- 默认行为 - 框架具有默认行为。此默认行为必须是一些有用的行为,而不是一系列无操作。

- 可扩展性 - 用户通常可以通过选择性覆盖或用户代码专门扩展框架来提供特定功能。

- 不可修改的框架代码 - 除了可扩展性之外,通常不允许修改框架代码。用户可以扩展框架,但不能修改其代码。

In computer programming, a software framework is an abstraction in which software providing generic functionality can be selectively changed by additional user-written code, thus providing application-specific software. A software framework is a universal, reusable software platform to develop applications, products and solutions. Software frameworks include support programs, compilers, code libraries, tool sets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or solution.

Frameworks contain key distinguishing features that separate them from normal libraries:

- inversion of control – In a framework, unlike in libraries or normal user applications, the overall program's flow of control is not dictated by the caller, but by the framework.[1]
- default behavior – A framework has a default behavior. This default behavior must be some useful behavior and not a series of no-ops.
- extensibility – A framework can be extended by the user usually by selective overriding or specialized by user code to provide specific functionality.
- non-modifiable framework code – The framework code, in general, is not allowed to be modified, excepting extensibility. Users can extend the framework, but not modify its code.





CMS是一个内容管理系统,它可以并且通常使用或建立在框架上。



CMS is a "Content Management System" which can and normally uses or is built on a "framework".


这篇关于差异b / w框架和cms?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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