MVVM-Sidekick 1.0.4

My package description.

There is a newer version of this package available.
See the version list below for details.
Install-Package MVVM-Sidekick -Version 1.0.4
dotnet add package MVVM-Sidekick --version 1.0.4
<PackageReference Include="MVVM-Sidekick" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MVVM-Sidekick --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

MVVM-Sidekick
=============
MVVM密友
===================


A Modern light-weight MVVM framework based on RX and TPL await

轻量级MVVM框架,基于RX与 await等新技术



The aim of this project: Using new techs offered by .Net 4.5 and Windows Runtime, design a suitable foundation for new tech environment, based on a cool ViewModelBase and ReactiveCommand.

目的是集合Reactive Command, Prism 等框架的优点,应对.Net 4.5 和 Windows Runtime带来的变化,为新技术环境量身打造一套以ViewModelBase/ReactiveCommand为核心的基础。



MVVM-Sidekick is design on Windows 8 Modern Style Apps, and we got that ambition to cover all modern XAML runtime.

从设计开始就以Windows 8 Style App作为运行环境进行测试,野心覆盖所有XAML运行环境。



What’s good.
============
功能特色
=======
1. Full support for Data Contract Serializing. You can keep your status that VM got into JSON and XML. Easy steps after restore the data to make vm works again.

全面支持DataContract序列化 可以将一个VM的全部状态用任何方式保存为JSon/XML反序列化后只需要简单操作就可以恢复工作



2. This is light-weight one. Dll or code can works in you projects either. You just need install Reactive Extensions with nuget.

轻量级代码级框架,不必安装全部DLL或者引用工程,只需要将指定代码文件加入你的工程切安装Reactive Extensions就可以用。



3. Model Members in MVVM-Sidekick are communicated amount each other with events. Linq-Like code with RX can filter/subscribe events easily, and subscription could be disposed with model involved.

Model所有的成员之间用事件序列驱动交互,只需要用 Linq-Like 语法进行配置和订阅,订阅在VM 销毁时自动取消。



4. You can configure business logic of your properties and commands right at where they were declared. This will reduce your jumping between different parts in one VM file. (This kills me when I was working with other frameworks:you cannot configure a DelayCommand at the property/field declaration part because “this” instance is not ready yet .)

可以在声明property的代码处配置property的业务细节,可以在声明command的代码处配置command的业务细节,这样你就不用在一个vm里面不同的代码段跳来跳去了。(用别的框架可累死我了,声明个command 还不能在声明原地初始化,因为this还没有实例化)



5. You can also separate the business logic to your VM declaration into a decorator or factory something, to manage all code involved a USE CASE together, with the documenting organizing sequence, and you can also easily add more business everywhere if you like.

可以将VM的业务细节配置与VM的创建时机分离,不但可以在实体外用装饰模式进行批量配置(这样可以让代码与需求文档的组织顺序高度统一,便于维护),也可以根据需要临时装饰增加VM的功能。




Performance
===========

性能亮点
========

Propery access supports JIT inline and also support Property Name-Value Access.

比起一般的字典内核与字段内核, MVVMSidekick 的VMBase对于属性访问采用可内联的直接寻址方式访问提高速度,且仍能保持字段名字典访问


How To Use project template ?
===================
如何使用MVVMSidekick项目模板?
===================

1. Enter MVVMSidekick Folder

进入MVVMSidekick目录

2. Open MVVMSidekickVSIX.vsix , install the extension.

打开 MVVMSidekickVSIX.vsix按照提示安装

3. Create New Project using  MVVMSidekick template.

创建新项目,在c#项目中找到 MVVMSidekick 模板

4. Create MVVMSidekick Items in project.

在创建好的项目中用MVVM Sidekick 代码模板 创建DataModel和View/ViewModel文件




Code snippets is needed when you use MVVMSidekick.
==============

本框架需要代码块辅助开发
==============


Supported snippets:

支持如下常用代码块:

propvm   New Propery In Model

propvm   在MVVMSidekick Binable/ViewModel 中增加属性

vmcmd   New Command In Model

vmcmd   在MVVMSidekick Binable/ViewModel 中增加命令

example:

propvm +tab +tab





[微博] [twitter] [Mail]

[微博]: http://www.weibo.com/waynebabywang "WaynebabyWang"
[twitter]: http://twitter.com/waynebaby "Waynebaby"
[Mail]: mailto:blackshaman_wayne@hotmail.com "MSN Skype"

Showing the top 1 GitHub repositories that depend on MVVM-Sidekick:

Repository Stars
waynebaby/MVVM-Sidekick
A Modern light-weight MVVM framework based on RX and Await

Version History

Version Downloads Last updated
2.0.67 186 11/2/2018
2.0.60 206 8/15/2018
2.0.54 185 8/15/2018
2.0.52 199 8/14/2018
2.0.51 186 8/14/2018
2.0.50 237 7/11/2018
2.0.48 293 6/11/2018
2.0.2-alpha 276 1/24/2018
1.6.35 383 6/13/2017
1.6.32 282 6/13/2017
1.6.25 420 12/19/2016
1.6.24 303 12/19/2016
1.6.23 442 5/24/2016
1.6.22 440 4/21/2016
1.6.21 315 4/20/2016
1.6.20 447 3/24/2016
1.6.19 327 3/24/2016
1.6.18 376 3/11/2016
1.6.17-prerelease 287 3/9/2016
1.6.16 582 1/17/2016
1.6.15 323 1/12/2016
1.6.14 361 1/7/2016
1.6.13 448 1/1/2016
1.6.12 400 12/14/2015
1.6.11 550 12/10/2015
1.6.10 407 12/8/2015
1.6.9 356 12/7/2015
1.6.8-prerelease 328 12/7/2015
1.6.7-prerelease 301 12/7/2015
1.6.6 638 9/30/2015
1.6.6-prerelease 370 9/28/2015
1.6.5-prerelease 479 9/10/2015
1.6.4-prerelease 326 9/9/2015
1.6.2-prerelease 418 8/10/2015
1.6.1-prerelease 324 8/3/2015
1.4.201507024.20000000 443 7/24/2015
1.4.201507022.300000 354 7/21/2015
1.4.201507017.17300000 351 7/17/2015
1.4.20150711.500000 405 7/10/2015
1.4.20150605.16300000 397 6/5/2015
1.4.20150527.16500000 396 5/28/2015
1.4.20150519.14200000 437 5/19/2015
1.4.20150517.8200000 373 5/17/2015
1.4.20150512.20000 383 5/11/2015
1.4.20150423.13300000 375 4/23/2015
1.4.20150403.8400000 441 4/3/2015
1.4.20150302.17300000 429 3/2/2015
1.4.20150114 557 1/14/2015
1.3.20141126.13124155 457 11/26/2014
1.3.20141026.4090168 466 10/25/2014
1.3.20141013.18193738 449 10/13/2014
1.3.20141002.12234577 386 10/2/2014
1.3.20140906.12052021 390 9/30/2014
1.3.0.3 495 7/30/2014
1.3.0.2 396 7/21/2014
1.3.0.1 418 7/21/2014
1.3.0 529 6/19/2014
1.2.4.3 442 6/17/2014
1.2.4.1 412 5/25/2014
1.2.3.2 414 5/5/2014
1.2.3.1 380 5/5/2014
1.2.3 439 4/21/2014
1.2.2.9 434 3/6/2014
1.2.2.8 431 3/6/2014
1.2.2.6 489 3/4/2014
1.2.2.5 398 2/26/2014
1.2.2.4 508 2/11/2014
1.2.2.3 452 2/11/2014
1.2.2.2 421 1/21/2014
1.2.0 457 1/16/2014
1.1.9.8 434 12/9/2013
1.1.9.7 415 12/3/2013
1.1.9.6 469 11/6/2013
1.1.9.5 429 11/5/2013
1.1.9.2 454 10/20/2013
1.1.9.1 433 9/18/2013
1.1.9 486 9/12/2013
1.1.8.9 497 9/6/2013
1.1.8.8 434 9/5/2013
1.1.8.7 414 9/4/2013
1.1.8.4 446 8/27/2013
1.1.8.3 443 8/20/2013
1.1.8.2 431 8/18/2013
1.1.7.8 470 8/13/2013
1.1.7.6 484 8/13/2013
1.1.7.5 445 8/12/2013
1.1.7.4 429 8/11/2013
1.1.6.9 458 8/6/2013
1.1.6.8 433 7/29/2013
1.1.5.6 451 7/16/2013
1.1.5.5 511 7/2/2013
1.1.5.2 438 6/17/2013
1.1.5.1 419 6/17/2013
1.1.5 484 6/14/2013
1.1.4.9 528 6/8/2013
1.1.4.8 448 6/7/2013
1.1.4.7 497 6/7/2013
1.1.4.6 468 6/6/2013
1.1.4.5 471 5/30/2013
1.1.4.2 457 5/27/2013
1.1.4.1 438 5/27/2013
1.1.4 447 5/25/2013
1.1.3.5 487 5/25/2013
1.1.3.4 436 5/24/2013
1.1.3 430 5/20/2013
1.1.2 428 5/20/2013
1.1.1 468 5/8/2013
1.1.0 455 5/7/2013
1.0.9 483 3/13/2013
1.0.8.1 521 2/16/2013
1.0.7 479 12/10/2012
1.0.6 457 12/9/2012
1.0.4 493 12/9/2012
1.0.3 491 12/9/2012
Show less