0

Anyone ever tried this? jQtouch / jQuery Mobile + ZK

asked 2011-07-17 06:02:21 +0800

valmar gravatar image valmar
925 2 13
http://www.timo-ernst.net

Both, jQtouch as well as jQuery mobile are awesome UI frameworks for mobile development.

Has anyone ever tried to combine them with ZK to create mobile versions of their web applications?

I mean, if ZK supports jQuery, wouldn't there be a way to implement jQuery Mobile support?

delete flag offensive retag edit

28 Replies

Sort by ยป oldest newest

answered 2011-07-18 03:56:57 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

updated 2011-07-18 03:57:42 +0800

A few weeks ago we deployed a corporate application for the new iPads we have purchased. At first our intension was to build the application using ZK. Unfortunately we had many problems (grid scrolling, paging etc) and i had posted some issues in this forum until we realized that the problem had nothing to do with ZK. It is safari's problem running on iPhone/iPad which cannot parse ajax requests correctly. To ensure that it was not ZK's problem we have made some additional tests with other Ajax frameworks having the same results. Finally, the only option was to use native jsp pages with jqTouch.

Notice that we have not tested ZK against other smartphones or tablets. Just iPhone/iPad. I don't know if the same problems exist with android.

link publish delete flag offensive edit

answered 2011-07-18 05:57:39 +0800

valmar gravatar image valmar
925 2 13
http://www.timo-ernst.net

Are you serious? Safari mobile cannot handle Ajax requests? O.o

link publish delete flag offensive edit

answered 2011-07-18 06:41:27 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

I didn't say it does not handle ajax requests at all. I said that it does not handle correctly all ajax requests which is something that unfortunately you realize after having built the first "simple" pages and go deeper in more complex things.

hope that helps

link publish delete flag offensive edit

answered 2011-07-18 08:35:02 +0800

valmar gravatar image valmar
925 2 13
http://www.timo-ernst.net

Hm, that sounds very weird :-)
What do you mean by "not all ajax requests"?
What kind of requests does Safari not process?

link publish delete flag offensive edit

answered 2011-07-18 08:58:37 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

I would suggest you to try to run the ZK demo using an ipad. You should see some "strange" behavior in various controls.

link publish delete flag offensive edit

answered 2011-07-19 06:36:10 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi cyiannoulis,

We have tested with zk demo on ipad,
did you see any demo that cannot work on ipad?

link publish delete flag offensive edit

answered 2011-07-19 11:41:00 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

Hi jimmy. For example Grid -> Load On Demand :: Scroll bars are not displayed at all.

link publish delete flag offensive edit

answered 2011-07-19 15:03:34 +0800

robertpic71 gravatar image robertpic71
1275 1

>> For example Grid -> Load On Demand :: Scroll bars are not displayed at all.
Same problem on android (2.3.3).

link publish delete flag offensive edit

answered 2011-07-19 16:39:57 +0800

valmar gravatar image valmar
925 2 13
http://www.timo-ernst.net

updated 2011-07-19 16:40:21 +0800

Hm, that's very interesting.
I can confirm that there are no scrollbars on Android 2.2.

However, I personally wouldn't use the standard ZK components for touch-based user interfaces since they don't seem to be optimized for that from a usability point of view.
Instead, I'd recommend creating a dedicated UI with jQtouch or jQuery mobile which gives the whole thing a much more usable and native look and feel. That also was the reason for my initial question.

link publish delete flag offensive edit

answered 2011-08-30 19:12:18 +0800

tstewart gravatar image tstewart
6

I saw something in a blog somewhere (sorry can't find it again now) about JQuery mobile support in ZK6. I'd be super-interested to learn any more about the potential for using ZK to make applications compatible with major mobile platforms. Any news from the team on that?

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2011-07-17 06:02:21 +0800

Seen: 1,618 times

Last updated: Dec 19 '12

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