附加组件和插件有什么区别? [英] What is the difference between add-ons and plugins?
问题描述
大家好,
我一直在用我的工作开发一个ASP.NET Web项目,该项目需要一种插件。换句话说,代表客户端运行的程序。
架构如下所示:在客户端的第一次浏览时,页面加载了插件机器并开始做一些事情。
现在,我的第一个问题是:
1.是否有可能为ASP开发这样的程序.NET应用程序?
2.如果是这样,它在不同平台上的工作能力,如:浏览器,操作系统,它的互操作性是多少?
3.什么是附加组件和插件之间的区别?
背面语言是C#,我们使用过。
谢谢你,
Hallo everyone,
I have been developing an ASP.NET web project with my work-mets and the project requires a kind of plugin. In other words, a program which runs on behalf of the client side.
The architecture looks like this: at the client's first browse, the page loads the plugin on the machine and starts doing some stuffs.
Now, my first question is:
1. Is it possible to develop such a program for ASP.NET application?
2. If so, how much is its interoperability like working-ability on different platforms such as: browsers, Operating systems?
3. What is the difference between add-ons and plugins?
The back language is C#, we used.
Thank you,
推荐答案
这里最好的解释,它正是我想传达的。
你会得到关于术语差异的基本想法。
差之间-附加和 - 插件/ [ ^ ]
Its best explained here, Its exactly what I wanted to convey.
You will get basic Idea about the terminology difference.
difference-between-add-on-and-plug-in/[^]
当您说代表客户端时,您是否希望插件在服务器上执行以代表客户端执行某项任务。如果是这样,这完全可行 - 让你的插件成为可在服务器上运行的C#程序集。
如果你想让它成为客户端,你的选项是Silverlight(不是非常便携) - 特别是最近解雇大部分Mono员工 - 或JavaScript。可以想象,可以在某种程度上基于用户选项在浏览器中加载JavaScript页面,但这可能是一个巨大的安全风险。
When you say "on behalf of the client side" do you mean you want the plug-in to execute on the server to perform some task on behalf of the client. If so this is entirely feasible - make your plug-in a C# assembly that can be run on the server.
If you want it to be client-side, your options are Silverlight (not very portable) - especially with the recent sacking of most of the Mono staff - or JavaScript. Conceivably, a JavaScript page could be loaded in the browser based on user options somehow, but that could be an enormous security risk.
这篇关于附加组件和插件有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!