GithubHelp home page GithubHelp logo

mrphil2105 / mvvmelegance Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 190 KB

An elegant and powerful ViewModel-First MVVM framework for Avalonia, inspired by Stylet.

License: MIT License

C# 100.00%
avalonia avaloniaui conductor desktop model-view-viewmodel mvvm screen viewmodel viewmodel-first

mvvmelegance's Introduction

MvvmElegance

NuGet

Introduction

MvvmElegance is an elegant and powerful ViewModel-First MVVM framework for Avalonia. It makes development easier by:

  • providing essential MVVM primitives like Screen, Conductor, EventAggregator, and more
  • launching dialog windows and message boxes easily with the ViewService class
  • providing asynchronous methods for common operations on MVVM primitives
  • disabling button clicking while calling asynchronous methods on your view models with Actions
  • avoiding view-types in view models by splitting the framework into multiple projects.

The project is inspired by Stylet and provides many of the same types, but split into two separate projects: a project you reference in your ViewModel-project and another used with your View-project. This ensures that no view-types are ever used in your view models.

Getting Started

To get started using MvvmElegance in your project follow the Quick Start guide (currently in the works).

Documentation

For a comprehensive documentation of MvvmElegance visit the Wiki (currently in the works). The most up-to-date information is presented there.

Contributing

Feel free to contribute to the project. Raise an issue if you have a problem or a question. Please read the Wiki for the Contributing guidelines (currently in the works), if you want to contribute code to the project.

mvvmelegance's People

Contributors

mrphil2105 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mvvmelegance's Issues

ApplicationLoader not recognized

I went through the manual steps in the Quick Steps guide. I get an error on App.axaml. "Unable to resolve type ApplicationLoader from namespace https://github.com/mrphil2105/MvvmElegance" Have I missed a step somewhere? Any help is appreciated. I've pasted the App.axaml below - BSI is the program name. Thanks!

<Application x:Class="BSI.App" xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:e="https://github.com/mrphil2105/MvvmElegance" xmlns:local="using:BSI">
`<Application.Resources>
<e:ApplicationLoader>
<e:ApplicationLoader.Bootstrapper>
<local:Bootstrapper />
</e:ApplicationLoader.Bootstrapper>
</e:ApplicationLoader>
</Application.Resources>

<Application.Styles>

</Application.Styles>
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.