e-Zest members share technology ideas to foster digital transformation.

Introduction to PRISM Framework

Written by Teena Gupta | Apr 8, 2013 12:25:56 PM

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

  • Shell
  • Region Manager
  • Module
  • View
  • Boot-Strapper /Pre-loader
  • Library services

I will elaborate on how to use Prism framework in my next blog. Keep Reading. :)