All Projects → loic-lopez → UMVC

loic-lopez / UMVC

Licence: MIT license
UMVC - Model-View-Controller Generator built for Unity

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to UMVC

php-mvc-framework
PHP MVC Framework - web application framework for modern and rapid development of web applications
Stars: ✭ 24 (-33.33%)
Mutual labels:  mvc-framework, mvc-architecture, mvc-pattern
SmartMvc
深入解析SpringMVC核心原理:从手写简易版MVC框架开始(SmartMvc)
Stars: ✭ 66 (+83.33%)
Mutual labels:  mvc, mvc-framework, mvc-architecture
puremvc-swift-multicore-framework
PureMVC MultiCore Framework for Swift
Stars: ✭ 17 (-52.78%)
Mutual labels:  mvc, mvc-framework, mvc-architecture
velox
The minimal PHP micro-framework.
Stars: ✭ 55 (+52.78%)
Mutual labels:  mvc, mvc-framework
blockbase
Lightweight MVC Framework for Node.js
Stars: ✭ 32 (-11.11%)
Mutual labels:  mvc, mvc-framework
MVC-Demo
变种MVC架构,抽离Service层,通过继承以及合理的架构大幅度优化重复代码~
Stars: ✭ 36 (+0%)
Mutual labels:  mvc, mvc-architecture
Bingo-Framework
MVC framework for PHP
Stars: ✭ 15 (-58.33%)
Mutual labels:  mvc, mvc-framework
Saturn
Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
Stars: ✭ 540 (+1400%)
Mutual labels:  mvc, mvc-framework
Koseven
Koseven a Kohana fork compatible with PHP7
Stars: ✭ 332 (+822.22%)
Mutual labels:  mvc, mvc-framework
haykal
A Typescript MVC Framework
Stars: ✭ 24 (-33.33%)
Mutual labels:  mvc-framework, mvc-architecture
Cakephp
CakePHP: The Rapid Development Framework for PHP - Official Repository
Stars: ✭ 8,453 (+23380.56%)
Mutual labels:  mvc, mvc-framework
libgitlmvc
C++ MVC framework for Qt
Stars: ✭ 73 (+102.78%)
Mutual labels:  mvc, mvc-framework
TheWeatherDashboardApp
A small and stylish weather dashboard.
Stars: ✭ 29 (-19.44%)
Mutual labels:  mvc, mvc-architecture
miniPHP
A small, simple PHP MVC framework skeleton that encapsulates a lot of features surrounded with powerful security layers.
Stars: ✭ 147 (+308.33%)
Mutual labels:  mvc, mvc-framework
laminas-mvc
Laminas's event-driven MVC layer, including MVC Applications, Controllers, and Plugins
Stars: ✭ 90 (+150%)
Mutual labels:  mvc, mvc-framework
Famework
Famework is a simple to use PHP Framwork to easily create splendid but lightweight web applications.
Stars: ✭ 8 (-77.78%)
Mutual labels:  mvc, mvc-framework
Miniphp
A small, simple PHP MVC framework skeleton that encapsulates a lot of features surrounded with powerful security layers.
Stars: ✭ 144 (+300%)
Mutual labels:  mvc, mvc-framework
php-mvc-skeleton
A PHP OOP web application skeleton that uses MVC architectural pattern to create a basic application that contains login and multi language systems and can be used in any web project.
Stars: ✭ 46 (+27.78%)
Mutual labels:  mvc, mvc-pattern
W
Framework pédagogique de la WebForce3
Stars: ✭ 10 (-72.22%)
Mutual labels:  mvc, mvc-framework
leafMVC
MVC "Framework" created from Leaf PHP Framework
Stars: ✭ 25 (-30.56%)
Mutual labels:  mvc, mvc-framework

UMVC

Model-View-Controller Generator built for Unity

Fast, Simple and intuitive



UMVC.Editor Metrics

UMVC.Core Metrics


Requirements

  • Unity 2021.x
  • com.solidalloy.type-references (as version v0.5.0)

Install com.solidalloy.type-references (as version v0.5.0)

  • Edit the Packages/manifest.json file in your Unity project.
  • Add the following near the top of the file:
"scopedRegistries": [
   {
      "name":"package.openupm.com",
      "url":"https://package.openupm.com",
      "scopes":[
         "com.solidalloy.util",
         "com.solidalloy.unity-dropdown",
         "com.solidalloy.type-references",
         "com.openupm",
         "org.nuget"
      ]
   }
],
  • Add the following to the dependencies section of the file:
  "com.solidalloy.type-references": "2.16.0",

Features

Overall

Customizable T4 Templates

Customizable Base Templates

Generate your architecture directly in the Unity Editor

Model

Model Events

// triggered before the update of the field
OnFieldWillUpdate(Model model, object newValue, object oldValue, PropertyChangedEventArgs eventArgs)
// triggered after the update of the field
OnFieldDidUpdate(Model model, object newValue, PropertyChangedEventArgs eventArgs)

Generate field when creating a Model

Disable/Enable Model Events on demand

The library is following the MVC pattern


MVC Pattern

The View

Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.

The Model

The central component of the pattern. It is the application's dynamic data structure, independent of the user interface. It directly manages the data, logic and rules of the application.

The Controller

Accepts input and converts it to commands for the model or view.

Resume

In addition to dividing the application into these components, the model–view–controller design defines the interactions between them.

  • The model is responsible for managing the data of the application. It receives user input from the controller.
  • The view means presentation of the model in a particular format.
  • The controller responds to the user input and performs interactions on the data model objects. The controller receives the input, optionally validates it and then passes the input to the model.

How to get started

Choose your installation method

Requirements and use cases Release Archive(s)
With Unity assets store (this version uses pre built UMVC.Core dlls) UMVC - Model-View-Controller Generator built for Unity Unity Asset Store
For users who need basic usage: Pre built UMVC.Core dlls, fast setup
For users who need advanced usage: customs Base Components, custom templates and more... Download UMVC.Editor.MsBuildForUnityDownload UMVC.Core Sources

Basic usage using UMVC.Editor.PreBuiltDlls UnityPackage

  • Download UMVC.Editor.PreBuiltDlls UnityPackage from above

  • Import UMVC.Editor.PreBuiltDlls UnityPackage in Unity Editor Assets > Import Package > Custom Package

Advanced usage using UMVC.Editor.MsBuildForUnity UnityPackage and UMVC.Core sources

Download and unzip sources

  • Download UMVC.Editor.MsBuildForUnity UnityPackage from above

  • Download UMVC.Core sources from above

  • Import UMVC.Editor.MsBuildForUnity UnityPackage in Unity Editor Assets > Import Package > Custom Package

  • Unzip UMVC.Core sources to your project next to your Assets folder

Add MSBuildForUnity to your manifest.json

Add the com.microsoft.msbuildforunity UPM (Unity Package Manager) package.

Add MSBuildForUnity to your manifest.json

Add the com.microsoft.msbuildforunity UPM (Unity Package Manager) package.

  • Edit the Packages/manifest.json file in your Unity project.
  • Add the following near the top of the file:
"scopedRegistries": [
    {
      "name": "Microsoft",
      "url": "https://pkgs.dev.azure.com/UnityDeveloperTools/MSBuildForUnity/_packaging/UnityDeveloperTools/npm/registry/",
      "scopes": [
        "com.microsoft"
      ]
    }
],
  • Add the following to the dependencies section of the file:
  "com.microsoft.msbuildforunity": "0.9.2-20211109.1",

FAQ

See the associated wiki: UMVC Wiki

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].