Jump to content

MVP - PassiveView pattern samples for uniGUI


quanliking

Recommended Posts

:) For you guys like MVP pattern, welcome to improve the samples below and add more uniGUI components. Only realize UniEdit and UniComboBox components.

 

References:

Eduardo:

http://forums.unigui.com/index.php?/topic/4151-tms-aurelius-livebinding-unigui-vclfmx/?hl=mvp

 

Daniele Teti's programming blog:

http://www.danieleteti.it/category/programming/design-patterns/mvp/

 

Complied with:

Embarcadero® Delphi 10.2 Version 25.0.29039.200

uniGUI Web Application Framework Version:1.0.2 build 1431
 
 
 
 

 

 

MVP.rar

post-3992-0-93074000-1516194288_thumb.jpg

Link to comment
Share on other sites

Hi Eric,

 

First,sorry I am not pro in design patterns and amateur in uniGUI, if I have time I will try to create more components interfaces.

 

I am also studying MVVP in Delphi and will provide sample code for uniGUI soon.

 

There is too many MVC, MVP, MVVM...frameworks, each has its Pros and Cons,hard to select, I wish everyone find a framework fit his/her need and make life easy.

Link to comment
Share on other sites

  • 1 month later...

 

Thanks Majori, iORM looks great and in active development.

Few MVVM for delphi framework give uniGUI samples, they only provide VCL/FMX. So we have difficult to test with uniGUI.

 

iORM:

MVVM support components

Dependency Injection Container

...

 

Samples:

https://github.com/mauriziodm/iORM/tree/master/Samples/BOM_MVVM_CrossFramework/uniGUI

https://github.com/mauriziodm/iORM/tree/master/Samples/PhoneContacts_MVVM_CrossFramework/uniGUI

https://github.com/mauriziodm/iORM/tree/master/Samples/PhoneContacts_MVVM_CrossFramework/uniGUI_mobile

...

 

I am happy to learn it.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...