Prism is a Microsoft framework which assists you to design and build rich, flexible, and easy-to-maintain complex applications specific to Windows Presentation Foundation (WPF) desktop applications, Silverlight Rich Internet Applications (RIAs), and Windows Phone applications. Prism is also known as Composite Application Guidance/Library.
Along with Model-View-View Model (MVVM) approach for building this type of applications, Prism also uses various others patterns like Command Patterns, Dependency Injection (DI), Inversion of Control (IC), Separation of Concerns to achieve loosely coupling etc.
The main advantage of this framework is the use of modularity approach wherein complete application is divided into different modules. This approach helps to in simultaneous application development, wherein multiple teams can work on project at a same. This speed ups the process significantly. This also minimizes cross-team dependencies and allows different teams to specialize in area of their interest, such as user interface design, business logic implementation, and code development.
When to use Prism?
- For loosely build WPF, Silverlight and Windows phone enterprise applications
- Complex client applications containing lots of graphical interfaces
- Need to integrate multiple legacy apps into a single user interface (composite application)/li>
Major Components of Prism
- Region Manager
- Boot-Strapper /Pre-loader
- Library services
I will elaborate on how to use Prism framework in my next blog. Keep Reading. :)