用户/服务器控制插件架构 [英] User/Server Control Plug-In Architecture

查看:52
本文介绍了用户/服务器控制插件架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有多个Web USER控件跨越多个projets。我决定集中所有这些用户控件,使用它的TYPE,而不是控件的URL,在Web窗体的Place Holder上动态加载它。这是因为
架构是一个基于插件的解决方案。

根据所获得的客户许可证,"中央"玩家QUOT;不知道用户控制它将以动态实现和显示。

随着新用户控件的发布,或下载现有用户控制的许可副本,即"中央播放器"。将使这些用户控件可供客户端使用。

问题是我无法'找到一种优雅的方式来制作一个 用户控件库,另一个项目(基于ASP.NET的播放器)可以在DINFICAL上放置在webForm上。注意:用户控制
a非常复杂,使用数据访问并使用tirthy party组件集( www.devexpress.com )。

The problem is that I couldn't find an elegant way to make a kinf of a  User Controls Library, that another project (the ASP.NET Based Player) could DINAMICALLY be placed on a webForm. Note: the User Controls a very complex, uses data access and uses tirthy party component set (www.devexpress.com).

问题:

1)实现此引擎的最佳方法是什么。

3)什么是最好的方法将用户控件转换为Web SERVER控件而不会让我的团队崩溃,然后手工制作重现用户控件功能所需的HTML / JavaScript?
注意:在这种情况下维护是个问题。

3)实现基于插件的WEB架构的最佳实践是什么,其中应用程序特征按需求分发,而"播放器"则按需要分发。在"客户端播放器"上运行这些功能。
没有事先了解它将会运行什么?

提前致谢!

推荐答案

Hello all,

Hello all,

我有多个Web USER控件跨越多个projets。我决定集中所有这些用户控件,使用它的TYPE,而不是控件的URL,在Web窗体的Place Holder上动态加载它。这是因为该架构是基于插件的解决方案。

I have several Web USER Controls spanned in multiple projets. I decided to centralize all these user controls to dynamically load it on a Web Form's Place Holder using it's TYPE, not the control's URL. It's because the architecture is a plug-in based solution.

根据所获得的客户端许可证,"中央播放器"我不知道用户控制它将是动态实现和显示的。

Based on the client's licences aquired, the "Central Player" doesn't know what User Controls it will be dinamically instatiate and display.

当发布新的用户控件或下载现有用户控件的许可副本时,"中央播放器"将被释放。将这些用户控件提供给客户端使用。

As new User Controls are published, or download a licenced copy of an existing User Control, the "Central Player" will make these User Controls available for use to the client side.

问题是我无法找到一种优雅的方式来制作一个 用户控件库,另一个项目(基于ASP.NET的播放器)可以在DINFICAL上放置在webForm上。注意:用户控制非常复杂,使用数据访问并使用
tirthy party组件集(
www.devexpress.com )。

The problem is that I couldn't find an elegant way to make a kinf of a  User Controls Library, that another project (the ASP.NET Based Player) could DINAMICALLY be placed on a webForm. Note: the User Controls a very complex, uses data access and uses tirthy party component set (www.devexpress.com).

问题:

1)实现此引擎的最佳方法是什么。

1) What is the best way to implement this Engine.

3)将用户控件转换为Web SERVER控件的最佳方法是什么,而不会让我的团队崩溃,从而手工制作重现用户控件功能所需的HTML / JavaScript?注意:维护是
情况下的问题。

3) What is the best way to convert the User Controls to Web SERVER Controls without crashing my team making then to hand craft the HTML/JavaScript necessary to reproduce the functionality of the user controls? Note: Maintenence would be a problem in the situation.

3)实现基于WEB的插件架构的最佳实践是什么,应用程序功能按需求分发,和"播放器"在"客户端播放器"上运行这些功能。没有事先知道
会运行什么?

3) What are the Best Practices to implement a plug-in WEB based architecture with Application Features beeing distributed by demand, and the "Player" dinamically making these features run on the "Client's Player" without any prior knowledge of what it will be running on?

提前致谢!


这篇关于用户/服务器控制插件架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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