Caliburn Micro Framework Windows Phone 8 usage Research (i) Introduction

Source: Internet
Author: User

Introduced

MVVM's presence defines the framework of the program for the WPF Silverlight program, MVVM solves the coupling problem between the business layer and the UI layer, and more benefits are not discussed.

In WP mobile phone, many projects are also used MVVM for the framework, the more common tool set is MVVM Light Toolkit. It is used in many known WP projects, and some of the MVVM architecture tools that you implement are also based on this. And what we're going to talk about today is Caliburn Micro, the framework for MVVM architecture.

First, compare the MVVM Light Toolkit and Caliburn Micro:

Both are superior to do not do too much analysis, personal point of view, although CM learning cost is high, but it provides more convenient to develop the function, is the team's good choice.

Starting with Hello World

Let's start with the simplest program to see the basic use of the CM framework

After we create a new WP8 program, we can add Caliburn Micro through NuGet in references:

The next thing we're going to do is to remove the App.xaml.cs (yes, yes, remove, later) App.xaml.cs looks like this.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.