ARC302曹严明组合型智能客户端应用
《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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 卡通可爱绿色小学生家长会模板课件
- 卡通可爱老师教育教学模板课件
- 卡通可爱幼儿园大班家长会模板课件
- 卡通夏日暑假班会家长会模板课件
- 卡通可爱创意爱情告白求婚婚礼婚庆策划方案模板课件
- 卡通可爱军人动态模板通用模板课件
- 卡通可爱五一劳动最光荣主题班会模板课件
- 卡通可爱小学生常用急救知识模板课件
- 卡通动画小乌龟Franklin_02_02【声音字幕同步】课件
- 卡通儿童预防冬季流感科普宣传模板课件
- 卡通动漫动物人物绘制课件
- 卡通可爱儿童节主题活动策划方案模板课件
- 卡通儿童珍爱生命防溺水主题班会模板课件
- 卡通动漫教育教学课程设计教师说课模板课件
- 身体工作动态静心资料来源Osho的静心与健康若欲详解敬请课件