-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, We are planning to move our current Oracle Form application to Java. After some researches, we decided to use ZK, myBatis, and Spring.
However, I still need suggestion about whether we should use ZK MVC or MVVM pattern.
Here are our current application and man power description :
My question is :
1. considering our current application and man power technical competency as stated above, which approach is better? MVC or MVVM?
Thanks in advance
Your situation Looks like my case before one year. One year before, i am very new ZK, Hibernate, Spring and Java, etc. Basically i am Microsoft guy , but looked for the opportunity to fell into java world. After looking ZK, i am excited and started learning all the stuffs and now i am good java developer i think so :). My Choice is always MVVM, the main reason is because, it is purely separated from your design and business logic.
You can find lot of examples in my blog here.It is full of MVVM stuffs http://emrpms.blogspot.in/
If you are interested, i can join with you as consultant and can help you at the start up stage.
It's just an different approach.
At codeproject.com you can find some explications about it.
Personally I prefer MVVM. You don't have to wire your elements and it's very easy to learn.
All mine applications I develop for the moment are in MVVM.
Older projects where I get new UC => also MVVM.(Even when base project is MVC, cause you can mix it but I'm not saying you should mix it for a new project.)
Greetz chill.
Hello Timotius,
At the following url you can find a lot of information regarding MVC vs MVVM:
http://books.zkoss.org/wiki/ZKDeveloper'sReference/Overture/Technology_Guidelines
Furthermore in the following url there is also a presentation and discussion around this topic:
http://books.zkoss.org/wiki/SmallTalks/2011/December/MVVMinZK6:inContrasttoMVC
In general i would recommend mvvm, but there are some specific scenarios where mvc would be better such as:
Best Regards,
Darksu
IMO the MVVM appoach is much more productive than MVC. I am not saying that MVVM is the silver bullet for everything but i think it can be used to produce more than 80% of a system fast and efficiently. In some cases you may need to have a more "low level" control over your page rendering so you may need to use the MVC approach. Don't worry. Start using the MVVM model and as the project goes on, you will discover very naturally these modules where MVC is better.
We have just finished a new module written with ZK (about 20 pages). Only one page was needed to be written with MVC because it is actually a grid with dynamic columns realized during the runtime.
And a last word... maintenance. The maintenance and change management of modules written with MVVM is easier and safer.
Costas
its usefull for me.thanks
Asked: 2014-09-21 08:01:45 +0800
Seen: 102 times
Last updated: Oct 16 '14
MVVM @save on the fly [closed]
Session Invalidate causing desktop variable to null
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate