Mgen SPA project V2 released: Cross-WPF, Windows 8, and Windows Phone 8 platforms

Source: Internet
Author: User

For software updates and descriptions, refer:

Mgen spa Engineering updates and introduction

 

The mgen SPA project is an open-source class library. I wrote this article since January 1, 1.0, 1.2. Now we are happy to announce the release of Version 2.0. Version 2.0 not only introduces a brand new definition model and working system, but also supports winfx (WPF 3) and winrt (Windows 8) and Windows Phone 8.

  Supported platforms Supported languages
Mgen SPA project 1.x Wpf3 + Chinese and English (English is not supported in 1.0)
Mgen SPA project 2 Wpf3 +, winrt, WP8 Chinese and English

 

Directory

    • 1. Introduction and
    • 2. Download the class library and source code
    • 3. Tutorial

 

Returned directory

1. Introduction and

I have introduced the SPA project many times. Here I will briefly introduce the old saying:

This often happens:

I asked the user to input some data, so I started to work: first define the data type-> then define the user input interface-> then various problems ......

For the write interface, I think it is likeCompositionEveryone can write it out or even fill it up, but if it's really well written, it's not necessarily a full score.

 

Well, there's not much nonsense. After using the SPA project.

You only need to define the data type:

Then, let the SPA project generate the interface and you will be OK!

 

Let's take a look at the example.ProgramYou only need to define a type and then generate the interface (supporting multiple languages) generated by the SPA project on multiple platforms ):

Desktop (. NET/WPF ):

Windows 8:

Windows Phone 8:

 

For the same data and definition, the input interface of each platform is generated through the SPA project. (Data restoration and clearing are also provided on the SPA project generation interface, and user-defined interfaces are also supported)

 

With the SPA project, developers do not need to manually implement these interface logic from scratch. Developers only need to define the data type and then add the features required by the SPA project. The SPA project will meet the following requirements:

    • Interface Generation: the input control of each attribute and the control component performance when a verification error occurs. Custom Controls and styles are also supported.
    • Data Reading: The interface correctly reads and displays the data regardless of the Data status.
    • Data Update: when the user selects an update or the developer manually calls the internal update logic of the SPA project and no verification error occurs, the data is automatically updated.
    • Restore option: You can choose to restore, that is, the entire input interface will restore the data to the initial read data, that is, the status is not modified.
    • Clear option: You can choose to reset, that is, all attribute values are set to the default value, so that you can quickly enter the form again.
    • Verification options: synchronous operation options for verification and control value change. Data Reading and verification options are displayed on the interface.

 

 

Returned directory

2. Class Library and Source code Download

Download the current version of the class library and demo program

Note: This is an archive of Microsoft SkyDrive. Please download it directly in your browser. Some download tools may not be available for download.

Spa engineering WPF environment: Microsoft. NET Framework 3.0 + (WPF 3 +)

SPA project winrt environment: Windows 8

(Note: to deploy and run the demo program in Windows 8, you can refer to how to install the Windows 8 test app that I released.CodeDirectly compile the demo program .)

SPA project WP edition environment: Windows Phone 8

(Note: to deploy and run the demo program in Windows Phone 8, you need the application deployment Program of the Windows Phone 8 SDK. We recommend that you compile the demo program directly from the source code .)

 

Download the source code of the current version

Note: This is an archive of Microsoft SkyDrive. Please download it directly in your browser. Some download tools may not be available for download.

Source code environment for spa engineering WPF: Microsoft Visual Studio express 2012 for Windows Desktop

Source code environment for winrt of the SPA project: Microsoft Visual Studio express 2012 for Windows 8

Spa engineering WP version source code environment: Microsoft Visual Studio express 2012 for Windows Phone

 

 

Returned directory

3. Tutorial

Some users complained that there were not many documents at Spa 1. X. When I released the SPA project 1.5, I also ensured that more documents or tutorials will be written for the SPA project to assist users. In the development process of SPA project 2, the tutorials started to take part of my daily time.

The following is a tutorial on SPA Engineering 2. I hope to help users and emphasize that the SPA project is open-source. If you have any questions, you can try to solve it by referring to the source code.

 

For more information, see:

Mgen SPA project 2 tutorial directory

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.