Prism is one of the most popular technologies in Silverlight applications. Developers should learn about PRISM from ten aspects.
1. Prism is a collection of class libraries and the best practice for implementing Silverlight;
In fact, Prism includes not only basic class libraries, but alsoSource code, Examples, quick learning documents, etc. The most important thing is that prism is a method for creating testable and maintainable applications.Program.
Silverlight prism video:
Http://development-guides.silverbaylabs.org/Video/Silverlight-Prism
2. Prism is a buffet;
Prism has a variety of tools, developers can choose different tools as needed. It is not a heavyweight framework and can be used selectively.
Intro to prism interview:
Http://www.sparklingclient.com/prism-in-silverlight/
3. It is difficult to find and install Prism;
We may find it difficult to find and download prism, but not in fact. On the one hand, the Microsoft official website calls Prism a compound application, so you can find relevant resources on msdn.
Download and compile Prism:
Http://www.sparklingclient.com/downloading-and-building-prism/
4. Prism supports modularity;
Prism supports dividing an application into many manageable "blocks" that support dependency injection and service locating. There is also a module directory that injects. dll and. xap files into the Silverlight application.
Prism modularity video:
Http://development-guides.silverbaylabs.org/Video/Modularity-in-Prism
Prism modularity interview:
Http://www.sparklingclient.com/modularity-in-prism/
5. Prism supports template page-regionalization;
Regionalization allows us to separate and develop the visualization part of the application. This is very similar to the template page in ASP. NET. If you want to allocate the work of UI development to different project groups, you can use Prism to simplify management.
Prism regions video:
Http://development-guides.silverbaylabs.org/Video/Prism-Regions
Prism regions interview:
Http://www.sparklingclient.com/regions-in-prism/
6. Prism supports loosely coupled communications-events;
If you divide an application into multiple "blocks" programmatically, how can you implement communication between "blocks" and "blocks? The prism event mechanism will provide us with a communication infrastructure.
Prism eventing video:
Http://development-guides.silverbaylabs.org/Video/Prism-Eventing
Prism eventing interview:
Http://www.sparklingclient.com/prisms-event-aggregator/
7. Prism supports commands-it is helpful for mvvm;
The mvvm/MVP mode is the most effective mode for building testable Silverlight applications. Unfortunately, they need commands to implement the XAML/interface to communicate directly with viewmodels or the presentation layer, prism introduces commands and related attributes to solve this problem.
Prism commanding video:
Http://development-guides.silverbaylabs.org/Video/Prism-Commands
Prism commanding interview:
Http://www.sparklingclient.com/commanding-in-prism/
8. Prism supports sharing between Silverlight and WPFCode-- Multi-objective;
Silverlight and WPF are very similar: use the same XAML and use similar callable class libraries. However, they are always different technologies. For example, we cannot add a reference to a Silverlight. dll file. The two technology sharing functions are implemented by sharing the project code through the project connector.
9. Prism will facilitate the development of most Silverlight applications;
Of course, Prism cannot help all applications, but it can provide the basic solution to the problem, even if we do not use the prism framework, the basic mode is of great help to solve the problem.
When to use Prism interview;
Http://www.sparklingclient.com/when-to-use-prism/
10. Prism helps mvvm/MVP.
Prism does not directly implement the mvvm or MVP mode. On the contrary, it provides effective support for the implementation of these modes.