Ace DNN excels in building and
hosting large websites using DotNetNuke

Subscribe to Ace DNN Blogs

 

 

 

 

 

 

 

 

 

 

 

 

MVVM in dotnetnuke

Post on: 04/29/2013 [5 year(s)8month(s) ago]
Post by: SuperUser Account
1 Comments

MVVM in dotnetnuke

We recently did a MVVM design pattern for one of our dnn clients. The concept of MVVM in dotnetnuke has become such a hot technology in the last few years.


There are many dotnetnuke sites that are implementing this design pattern for their stores.

What exactly is MVVM in dotnetnuke?

MVVM or the model view view model is an architectural design pattern that has originated from Microsoft that is specialized in presentation model design pattern. This latest technology is largely based on MVC or model view controller and is targeted at modern UI based development platforms such as silver light, HTML5 and WPF. MVVM in dotnetnuke can be applied in major dnn web development projects.

We have now added the use of MVVM in dotnetnuke to our arsenal of skills.

In simple words, MVVM stands for,

View – As in the MVC pattern, view refers to all the elements that are displayed by GUI such as buttons and controls. A View is defined in XAML and does not have any logic in the code-behind.

Model – Model represents the data or the business layer and is responsible for exposing data in a way that is easily consumable by WPF.

ViewModel – The view binds the properties on a view model or simply viewmodel exposes data relevant to the view and exposes the behaviors for the views, usually with Commands. View model knows model but not viceversa.

We have outlined some screenshots below that will help you to better understand the MVVM design pattern:

MVVM in dotnetnuke

Figure1

MVVM in dotnetnuke

Figure2

We have given an example of a product entity that is made with the MVVM design pattern. We have outlined the product ID, product name and price. These values id can be updated by the user easily.

MVVM in dotnetnuke

Figure3

So, the question is why MVVM in dotnetnuke?

  1. With MVVM design pattern, it becomes easy to unit test.
  2. There is no need to change model to support changes in View.
  3. There is a separates UX designer and developer, so the development team can focus on creating ViewModel classes and the design team can focus on making user-friendly Views.

Though this pattern was pioneered at Microsoft, MVVM pattern can be implemented in any language and with any presentation framework that provides data binding capabilities such as DNN, .Net and more.

Please feel free to comment on this page, and contact us if you have any questions or suggestions on how to refine this process.

Please login / register to comment on the blog.
dem khuyen mai
Though this pattern was pioneered at Microsoft, MVVM pattern can be implemented in any language and with any presentation framework that provides data binding capabilities such as DNN, .Net and more.
Posted on: 22/11/2018 at 05:13 PM
Post by: dem khuyen mai

Search by:

Featured Blogs

cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys cheap nba jerseys wholesale nba jerseys discont nba jerseys discount nba jerseys wholesale nba jerseys cheap nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys cheap nba jerseys wholesale nba jerseys discount nba jerseys