Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0 Planning #1

Open
23 tasks done
Xciles opened this issue May 20, 2017 · 0 comments
Open
23 tasks done

1.0 Planning #1

Xciles opened this issue May 20, 2017 · 0 comments
Assignees
Milestone

Comments

@Xciles
Copy link
Owner

Xciles commented May 20, 2017

1.0 planning for MVP

Basic idea behind this library is to move a lot of boiler plating and repeating code to a generic implementation. This implementation has to be modular and it should be possible to override things.

We have to keep in mind that we want to use this for Xamarin based projects using MvvmCross and in a later stage Xamarin Forms. Other frameworks might also be added, however they have no priority at this moment.


Basic implementation is as follows.

The implementation follows an extended MVVM pattern adding the possibility to share Observables between multiple views.

Project should consist of:

  • Business
    • An entity that will manage business logic
  • Domain
    • Entities that will be used for storing data and for example service communication
  • Observable
    • Entities that can be observed
  • Presentation
    • An entity that will manage observable entities and make it possible to share the same entities between multiple viewmodels
  • Services
    • Communication
  • View models
    • The view model

A picture says more, so:


What 1.0 should do.

  • DI based resolving
  • Pub/sub for Business + Presentation and other classes that need it
  • Business
    • Should contain no hard references to objects
    • Is the layer for logic between view models and services
      • View model communicates with the business classes
  • Presentation
    • Manage Observables
      • Bind observables by ref instead of referencing
  • ViewModel
    • Observable ref bindings instead of linking property in Presentation
  • Domain
  • Services
  • Object Mapper
  • Base implementation
  • Shareable between multiple frameworks (MvvmCross, light, froms)
  • Multiple data storage providers
    • NoSql provider
      • LiteDb Provider
  • New file store provider
    • Encrypted file storage provider
  • Presentation
    • Add a way to clean presentation lists when needed
@Xciles Xciles self-assigned this May 20, 2017
@Xciles Xciles modified the milestone: 1.0 May 20, 2017
@Xciles Xciles mentioned this issue Jan 4, 2019
8 tasks
@Xciles Xciles added the 2 - Done label Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant