Question

i am working with a team on a project using ZK framework , the thing is I am comfortable working with MVC and on the other side the whole team is working with MVVM .

i was wondering if it's ok to mix both architectures, that mean some pages with MVC and some with MVVM. Is that a bad idea?

Was it helpful?

Solution

You can mix the 2 technologies.

I do not support it, unless the different pages are complete on their own like an about.zul.
You just have to take care if your pages will not affect the other team members their pages.

What do I mean with that : If your collegue's triggering an global-command what is needed to reach your page, you are stuck with the EventQueue cause global-command is MVVM, so someone has to bend, maybe the other team members has to use EventQueue just for you or you have to switch to MVVM.

Summary : If it's a whole new project, just go with the team.
You will enjoy the learning of MVVM and see how easy it actually is.
You will also not getting future problems when the teams pages reaches your pages.

MVVM isn't that hard and if you have MVC and ZK in your fingers you switch easily to MVVM.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top