ARC302曹严明组合型智能客户端应用

上传人:沈*** 文档编号:169921698 上传时间:2022-11-18 格式:PPT 页数:35 大小:2.91MB
收藏 版权申诉 举报 下载
ARC302曹严明组合型智能客户端应用_第1页
第1页 / 共35页
ARC302曹严明组合型智能客户端应用_第2页
第2页 / 共35页
ARC302曹严明组合型智能客户端应用_第3页
第3页 / 共35页
资源描述:

《ARC302曹严明组合型智能客户端应用》由会员分享,可在线阅读,更多相关《ARC302曹严明组合型智能客户端应用(35页珍藏版)》请在装配图网上搜索。

1、集成集成投资信息投资信息集成集成分析工具分析工具集成集成新闻及提醒新闻及提醒集成集成股票数据股票数据 SmartPartActive DirectoryLocal CacheAgentSecurityInstrumentationOracleConfigurationAuthnOrchestrationPrivate service nPrivate serviceAuthzConfigMainframe nWS ProxyIFW Service nSOFAService HelpersData IntegrationSOFAMainframeIFW ServiceUIP1PAGUIP2PAG

2、CABPAGCCFThomsonDellCAB微软其他部门微软其他部门客户解决方案客户解决方案PAGOther field frameworks商务目标:提高最终用户的生产力和业务工作的敏捷性公司可以以更敏捷的方式推出新的和升级的功能界面使最终用户更快的、更准确的完成工作任务,避免通过 Alt-Tab,Copy-Paste 的方式作应用间的数据交换一致的界面降低了培训费用ShellUI Element MgrUI Element MgrElementElementApplication HostShellHostUser Interface ElementsSmartPart Managers

3、&Base ClassesHosted ControlLayoutMDIStatusStrip UI ElementMenuStrip UI ElementToolStrip UI ElementServicesCatalogReaderLoaderAuthenticationLogging?Module 1SmartPart 1Controller 1Shared StateModule 2Shared StateSmartPart XController XSmartPart YController YMain Form InitializerAuthorization?Biz Logic

4、 开发开发Infrastructure 开发开发Shell 开发开发A Work ItemBusiness EntitiesBusiness EntitiesService1A Work ItemBusiness EntitiesBusiness EntitiesShellUI Elem Mgr 1UI Elem Mgr 2Element1Element2UI InitWindows WorkspaceTab WorkspaceHostShellHost FactoryBootstrap Config DataLoader123AuthenticationInitializer45Catalo

5、gReader入口类的入口类的 AddServicesAddServices()()方法,让方法,让 module module 注册注册自己的服务然后调用自己的服务然后调用Start()Start()方法方法HostShellLoader1AuthenticationCatalogReaderMyModuleIPrincipal2Host InitializationSolutionProfile34IModuleLoad AssemblyLoad IModuleServiceXYZ5-AddServices-StartInitializerApplicationHostDefault Wo

6、rk ItemChild Work Item 1Child WorkItem 2Service1Service2Service3ApplicationHostA Work ItemService(typeof(IMyService)public class MyService:IMyService public class MyComponent ServiceDependency IMyService myService;Shell 开发人员开发人员Part 开发人员开发人员Tabbed WorkspaceYour Work ItemWindows WorkspaceSplat Worksp

7、aceaWorkspace.Show(mySmartPart);Work Item StateYour Work ItemRun(IWorkspace ws)Business EntitiesBusiness EntitiesEvent Topictopic:/Customer/ChangedPublishersSubscribers1*.NET Event with AttributeEvent Catalog Service.NET method with attribute EventSubscriptionEventSubscription(“(“topic:/Customer/Cha

8、ngedtopic:/Customer/Changed”,)Public void CustomerChanged(object sender,CustArgs args)/go call some web services or something long-running EventPublicationEventPublication(“(“topic:/Customer/Changedtopic:/Customer/Changed”)”)event EventHandler CustomerIdChanged;/fire like a normal.NET eventCustomerI

9、dChanged(this,new CustArgs();EventSubscriptionEventSubscription(“(“topic:/Customer/Changedtopic:/Customer/Changed”)”)Public void CustomerChanged(object sender,CustArgs args)MessageBox.Show(args.CustomerId,“new customer!”);A Work Itempublic void SomeMethod()Customer currentCust=(Customer)Context.Stat

10、e”Customer”;public class ControllerX:Component(private Customer cust;State(“Customer”)public Customer set cust=value;)Work Item StateBusiness EntitiesBusiness Entitiespublic interface IStatePersistenceService void Save(State state);State Load(Guid id);void Remove(Guid id);/your WorkItemServiceDepend

11、encypublic IStatePersistenceService persistence;public void SomeMethod()persistence.Save(this.State);Implement patternByModel View Controller-Using the controller attribute on the view to get injection-Using the controller base class on your controllers-Saving model objects in WorkItem state Applica

12、tion Controller-Encapsulate into the WorkItem the logic to open,traverse,and close views,executing logic in between,-Keep views independent of each otherBlackboard-Using the WorkItem state as the blackboard-Components in the WorkItem can access it and collaborate on it independentlyMemento-Have cont

13、rollers place the state that might need to be managed externally or persisted into WorkItem state-WorkItem state can be saved&loaded independentlyService Locator-Use the Component Model GetService()functionality to add and get services in the Application Host or upstream WorkItems.-Optionally,use attributes to get setter injection

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!