Looks like you and I are the only ones following the css-preprocessing tag, I just found this and wanted to share some thoughts.
For the small company I work for, we use the same homebrew CMS to manage every site, and there is a lot of magic involved in creating the css files. I don't use LESS or SASS, but a combination of cssmin and my own code. There are theme settings in the CMS that can affect it, and there are other things like url rewrites that have to read settings from php config files. The output is always there for anyone to see, but I wouldn't consider the code that generates it "open source" any more than the code that generates the html output.
Our CMS is not open source, so our policy is that when and if (hasn't happened yet) a client decides to drop us and "wants his website", we generate a static HTML version for them with absolutely no php source code. So they would get the static version of the css/js as well as static html. They are paying for a service, and not so much a product. We don't sell the CMS, we sell our services building the site and access to those same tools. I'm not sure how well this would bode if it happened, but that's our current policy.
Anyways, this might not be exactly what you meant, but I'm looking forward to hearing more on this if anyone ever finds it.
发布评论
评论(1)
看起来你和我是唯一关注 css-preprocessing 标签的人,我刚刚发现这个并想分享一些想法。
对于我工作的小公司,我们使用相同的自制 CMS 来管理每个站点,并且创建 css 文件涉及很多魔法。我不使用 LESS 或 SASS,而是使用 cssmin 和我自己的代码的组合。 CMS 中的主题设置可能会影响它,还有其他一些事情(例如 url 重写)必须从 php 配置文件中读取设置。输出始终可供任何人查看,但我不认为生成它的代码比生成 html 输出的代码更“开源”。
我们的 CMS 不是开源的,因此我们的政策是,当(尚未发生)客户决定放弃我们并“想要他的网站”时,我们会为他们生成一个静态 HTML 版本,绝对没有 php 源代码。因此他们将获得静态版本的 css/js 以及静态 html。他们支付的是服务费用,而不是产品费用。我们不出售 CMS,我们出售构建网站的服务以及对这些相同工具的访问权限。我不确定如果发生的话这将是多么好的预兆,但这就是我们目前的政策。
不管怎样,这可能不完全是你的意思,但如果有人找到它,我期待听到更多关于这方面的信息。
Looks like you and I are the only ones following the css-preprocessing tag, I just found this and wanted to share some thoughts.
For the small company I work for, we use the same homebrew CMS to manage every site, and there is a lot of magic involved in creating the css files. I don't use LESS or SASS, but a combination of cssmin and my own code. There are theme settings in the CMS that can affect it, and there are other things like url rewrites that have to read settings from php config files. The output is always there for anyone to see, but I wouldn't consider the code that generates it "open source" any more than the code that generates the html output.
Our CMS is not open source, so our policy is that when and if (hasn't happened yet) a client decides to drop us and "wants his website", we generate a static HTML version for them with absolutely no php source code. So they would get the static version of the css/js as well as static html. They are paying for a service, and not so much a product. We don't sell the CMS, we sell our services building the site and access to those same tools. I'm not sure how well this would bode if it happened, but that's our current policy.
Anyways, this might not be exactly what you meant, but I'm looking forward to hearing more on this if anyone ever finds it.