Ext JS 许可选项

发布于 2024-07-13 03:07:41 字数 1455 浏览 4 评论 0原文

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

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

发布评论

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

评论(3

背叛残局 2024-07-20 03:07:41

看看Planet MySQL - GPL 和 Javascript 中的这段引用:

[...]整个故事变得有点多
当 GPL 应用于
JavaScript 库。 当用户在
使用该库,他们会下载
HTML、CSS 图像和 javascript
图书馆。 首先要意识到的是
您正在分发代码。 它
原来在你的服务器上,现在在
用户的计算机。 这给出了任何
用户有权查看
javascript 代码并重用它
另一个项目。 这意味着你
无法混淆 javascript 代码
人们可以将其复制/粘贴到那里
自己使用。 这可能是你的方式
目前无论如何都在看 javascript。
但是 HTML、CSS 和
图片,可以公开使用吗? 不
不能。 这些项目的代码不是
GPL 许可证中定义的,它应该
被视为数据。 因此GPL
不与那部分结盟
应用程序。

网络应用程序可能不会
只有客户端代码,它会
在服务器上也有一部分
PHP 形式(或 JSP、Ruby 或 ..)
脚本。 最大的问题是,我们是否
还需要释放该部分
(根据 GPL 许可)。 虽然我们作为
开发人员为客户着想
服务器部分是同一部分的两个部分
应用程序,GPL 没有。 使用时
AJAX,客户端代码正在交互
与服务器。 不过你可以
将其与任何其他客户端/服务器进行比较
应用。 这可以解释为
作为 2 个应用程序,其数据
被转移,因此两者可能都有
不同的许可证。 这被称为
'ASP 漏洞' 是一个错误
一些。 当 GPLv3 制定时,明确了
已决定不关闭此
漏洞。

至于内部使用是否构成分发,这来自 GPL FAQ

在一个组织或公司内制作和使用多个副本是否属于“分发”? 不,在这种情况下,该组织只是为自己制作副本。 因此,公司或其他组织可以开发修改版本并通过自己的设施安装该版本,而无需允许员工将该修改版本发布给外部人员。 然而,当一个组织将副本转让给其他组织或个人时,那就是分发。 特别是,向承包商提供副本供异地使用即为分发。

所以 IANAL,但我想说你在内部系统中使用 GPL 的 javascript 库是非常安全的,即使你开始将它暴露给世界其他地方,唯一适用的限制是如果你使用如果您的前端代码中包含 GPL 的 javascript 库,则您必须提供 javascript 文件的未混淆版本。 如果您仅将 ExtJS 用于管理区域(并且管理区域仅由您的员工访问),您仍然会清楚 GPL 的分发条款,按照我的理解。

有趣的是,还有另一个版本的 GPL,名为 AGPL,它试图堵住这个“漏洞”。

Take a look at this quote from Planet MySQL - GPL and Javascript:

[...] The whole story becomes a bit more
complicated when GPL is applied to a
javascript library. When users are
using the library, they will download
HTML, CSS images and the javascript
library. The first thing to realize is
that you are distributing the code. It
was on your server and now it on the
computer of the user. This gives any
user the right to look at the
javascript code and reuse it for
another project. This means that you
can’t obfuscate the javascript code
and people can copy/paste it for there
own use. This probably how you
currently look at javascript anyway.
But how about the HTML, CSS and
images, can that be publicly used? No
it can’t. Those items aren’t code as
defined in the GPL license, it should
be considered data. Therefor GPL
doesn’t ally to that part of the
application.

A web application will probably not
only have client side code, it will
also have a part on the server in the
form as PHP (or JSP, or Ruby, or ..)
scripts. The big question is, do we
need to release that part as well
(under GPL license). Although we as
developers think of the client and
server part being 2 parts of the same
application, GPL does not. When using
AJAX, the client code is interacting
with the server. However you can
compare it to any other client/server
application. This may be interpreted
as 2 applications between which data
is transfered, therefor both may have
different license. This is called the
‘ASP loophole’ and is as an error by
some. When GPLv3 was drawn up, a clear
decision was made to not close this
loophole.

As with regards to whether or not internal usage constitutes distribution, this is from the GPL FAQ:

Is making and using multiple copies within one organization or company "distribution"? No, in that case the organization is just making the copies for itself. As a consequence, a company or other organization can develop a modified version and install that version through its own facilities, without giving the staff permission to release that modified version to outsiders. However, when the organization transfers copies to other organizations or individuals, that is distribution. In particular, providing copies to contractors for use off-site is distribution.

So IANAL, but I'd say you'd be pretty safe to use a GPL'd javascript library for internal systems, and even if you start exposing it to the rest of the world, the only restriction that applies is that if you use GPL'ed javascript libraries in your front end code, you'd have to make unobfuscated versions of your javascript files available. If you only use ExtJS for the admin area (and the admin area is only accessed by your employees) you'd still be clear of the distribution clause of GPL, the way I understand it.

Interestingly, there's another version of GPL called AGPL, which tries to close this "loophole".

剩一世无双 2024-07-20 03:07:41

除非您购买商业许可证,否则 GPLv3 将适用。 也就是说,除非您购买商业许可证,否则您的公司需要同意将软件分发给您向其分发任何部分副本(即通过将其发送到他们的浏览器)的任何人,并遵守以下条款: GNU GPLv3。

现在,如果这仅供您公司的员工使用,并且您不介意向您的员工提供仅供内部使用的软件的副本(并且可能允许个人重新分发该软件),那么您可能不介意受 GPLv3 约束。 询问你的律师关于让员工在充当公司代理人时使用该软件是否需要向他们授予一份副本的意见,以便他们在不充当公司代理人时可以重新分发该副本 - 我个人的解释是不需要,但我不是律师,不能提供法律建议,我也不会提供法律建议,而且很可能是错误的。

底线:如果您根据 GPLv3 许可您的软件并遵守该许可,那么您可以从 Ext 派生; GPL 不要求您将源代码分发给您未分发任何派生作品的任何部分的任何人,因此,如果它确实是内部的并且从未泄露(即使通过第三方人员将 javascript 文件的副本下载到他们的网络浏览器),您可能没问题——但要了解您的管理层和法律委员会对什么感到满意!

现在,如果您(或您的公司律师)对此不满意(对此感到不满意也不会特别令人惊讶!),您可以购买商业许可证。 它们价格相当合理,特别是如果您按每个开发者的价格购买它们的话只有少数人。

The GPLv3 will apply unless you buy a commercial license. That is to say, unless you buy a commercial license, your company needs to agree to distribute the software to anyone to whom you distribute a copy of any part (ie. by sending it over to their browser) and otherwise comply with the terms of the GNU GPLv3.

Now, if this is only going to be used by employees of your company, and you don't mind giving your employees copies of your internal-only software (and, potentially, permission to personally redistribute the same), you may not mind being bound by the GPLv3. Ask your lawyer for their opinion as to whether letting employees use the software when acting as agents of the company requires licensing them a copy which they can redistribute when not acting as agents of the company -- my personal interpretation is that it doesn't, but I'm not a lawyer, cannot give legal advice, am not giving legal advice, and may well be wrong anyhow.

Bottom line: if you license your software under the GPLv3 and comply with that license, you're fine deriving from Ext; the GPL doesn't require you to distribute your source to anyone you haven't distributed any portion of the derived work to, so if it's truly in-house and never leaked (even via third-party folks downloading copies of the javascript files into their web browser), you may well be OK -- but find out what your management and legal council are comfortable with!

Now, if you (or your corporate lawyer) isn't comfortable with that (and not being comfortable with that would not be particularly surprising!), you can buy a commercial license. They're pretty reasonably priced, especially if you're buying them on a per-developer basis for only a small number of people.

2024-07-20 03:07:41

根据官方许可信息,如果您要从CMS中获得商业优势,则需要购买适当数量的商业许可,除非您使用GPL许可分发源代码。 换句话说,即使您在 CMS 上获利,只要您在 GPL 许可证下提供源代码,您就不需要购买 Ext 的商业许可证。

http://extjs.com/products/license.php
http://extjs.com/company/dual.php

According to the official license information, if you are going to derive a commercial advantage from your CMS, you are required to purchase the appropriate number of commercial licenses, unless you distribute your source code with a GPL license. In other words, you are not required to purchase commercial licenses for Ext even if you make a profit on your CMS, as long as you make your source code available under a GPL license.

http://extjs.com/products/license.php
http://extjs.com/company/dual.php

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