Friday, May 15, 2009
Building Modular applications in Silverlight and WPF
Prism is product to help WPF and WCF talk. Unfortunately he really rushed through his demo, and was tough to follow and take notes. I have include some of the thing s I was able to catch, but we might want to look at this a bit more to see if it is something we are interested in. .It is guide and code from patterns and practices. I has patterns, Conventions, and examples. Model-view-model view is basically 3 tier approach to WPF/SL. View is presentation layer, Model is data layer, and Modelview is layer between them. Viewmodel is easier to reuse if it doesn’t know what view is that is calling it. In PRISM there is shell it is started at application, it host no smarts. Next component bootstrapper, creates shell, create view/view model, and two others. Bootstrap inherits from UnityBootstrapper. Dependacy injectors deliver information, to objects that asks. Has RegionManager, carves up page in to regions, so code knows where to display stuff on the page. Can in 1 statement create region an place code in it. Can break up huor modules into different xap files, so you can download pieces when the user needs it. Use of Icommand in View to collect events that are in the view model. .
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment