0

ZK 8 MVVM Best practices

asked 2016-09-06 19:19:12 +0800

FlorianSchaetz gravatar image FlorianSchaetz flag of Germany
31 6

Hello,

just a quick question: MVVM seems to work great and, together with custom MacroComponents seems to allow nice clean .zul files, but I notice that it seems very alluring to make the ViewModel a very, very, very complex object that does much to much work. And there are probably other pitfalls.

So, are there some good tips for best practices on MVVM to sidestep the most common pitfalls there? I would hate to see our code devolving into a mess just because we had to reivent all the best practices and failed ;-)

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-06 21:05:15 +0800

Darksu gravatar image Darksu
1991 1 4

Hello FlorianSchaetz,

As a starter i found the following presentation that you can refer to:

http://www.slideshare.net/simbo1905/design-patterns-in-zk-java-mvvm-as-modelviewbinder

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-09-06 19:19:12 +0800

Seen: 26 times

Last updated: Sep 06 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More