-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I'm finally taking a shot at upgrading from Zk 3 to 5. I discovered that Zk 5 is a significant departure from 3 in that the pages are sent to the browser not as HTML (plus JavaScript) but pretty much all JavaScript which is then run to build the page. This has the effect of demanding more CPU from the client. My system has to support IE7 which is terrible at executing JS. As a result I have a complex page (a large data editing grid) that loads in 5 seconds in Zk 3 but takes 16 seconds in Zk 5. I have read the articles on "huge data sets". I don't think I can make use of that as I don't have a "ListModel" behind the UI, it's more like a spreadsheet. The data model is a 2D "table" model rather than a list.
I tried the EE version which supposedly has performance boosts but did not see any improvement. Is there some way to get Zk 5 to send HTML instead of all that JavaScript?
How do all you perceive the performance of IE (older versions) with Zk 5? I'm afraid this is a serious problem for me, I may not be able to continue using Zk with this heavier JavaScript approach. I'm barely getting by with Zk 3 as it is. I was hoping to start using the Professional Edition of Zk 5 or 6.
/Daryl
Zippy, I don't see how your comment has any relevance to my problem. I'm not complaining about Java. I'm complaining that Zk 5 has much more JavaScript being executed at the browser than Zk 3 and this is a problem for older browsers such as IE7.
/Daryl
How do all you perceive the performance of IE (older versions) with Zk 5? I'm afraid this is a serious problem for me, I may not be able to continue using Zk with this heavier JavaScript approach
Merged post
Older IE with zk 5 is too slow even in core i5 ...
with IPAD 2 is too slow
---
The main attribute of zk is integrate ria with java.
I developed apps with zk + java + spring and another j2ee tools
If you dont need java, should consider other framework
I have the same performance issue, not much to do
Hi Daryl,
like zippy said before, zk is for integrate ria with java. A changing from 3.x to 5.x is a change from the used JavaScript Library (now jQuery) too.
The changing from html output to javascript output is a technology continuation and let permit such things like 'client and server fusion' .
Sure on the other side there are older browsers that are not optimized for such massive JavaScript handling. So the best alternative is to force that the users must update their browsers. Personaly i would not miss zk for my web apps. It's the best ria framework for integrate java apps.
best
Stephan
I just did a quick little test on DynaTrace with IE9 (Firefox 8 not supported on Dynatrace yet) on localhost (with and without browser cache cleared) - 10 grids with three rows filled with some data gets an overall score of A. Strangely enough, the same thing with native components gets a similar score. However, with older browsers this difference (between native and regular components) might be more apparent. It might be worth testing.
Thanks Richard, the score of "F" I mentioned isn't really helpful on its own. Both Zk3 and Zk5 give an "F". That's how heavy my most sophisticated page is. While the Zk3 version takes quite long compared to standard web pages, the Zk5 takes many times longer, so it's all relative for me.
I guess we'll have to decide if we can force people off IE7. It was just a year or two ago where we felt we could force people off IE6. Yes, people still use 6.
/Daryl
@Dary,
Have you seen this documentation ? Performance Tip
About this issue -> "a complex page (a large data editing grid) that loads in 5 seconds in Zk 3 but takes 16 seconds in Zk 5"
Due to the difference between ZK 3 and ZK 5, you may change some layout implementation to speed up the performance. It's better if you can provide an example for us to verify the issue.
Asked: 2011-12-28 14:34:37 +0800
Seen: 371 times
Last updated: Jan 16 '12