Mobile application support

12 views
Skip to first unread message

Argum Software

unread,
May 13, 2010, 9:15:56 PM5/13/10
to SmartGWT Extensions
Hello all,

I'm working on a Web application that we'd like to be available both
on the desktop and on mobile devices. Our current plan is to try to
build a single application that's the same for both interfaces, but to
instantiate different views depending on which edition is being used,
something like this:

ViewBuilder builder = new MobileViewBuilder(); // or new
DesktopViewBuilder();
...
CustomerListView v = ViewBuilder.build(CustomerListView.class);
rootPanel.getContentPane().addChild(v);

This is similar to the factory pattern you see for the Swing PLAF
system, for example.

The tricky part is this: SmartGWT widgets don't play nicely on most
mobile devices, and all of the fancy desktop behavior depends on
having access to a relevant DataSource. Either we write mobile
implementations of the SmartGWT widgets that we need, or we write the
equivalent of the data bindings for existing mobile widgets.

We're considering going ahead and writing mobile versions of some of
the SmartGWT components (such as ListGrid) so that we can still make
use of the validation and other features of the DataSources. We
called Isomorphic, and they said that while they've been thinking
about such a project, they're not planning on taking it up anytime
soon.

Has anyone here played around with something similar, and does anyone
have an opinion on how well this approach would work?


Christopher Smith

--
You received this message because you are subscribed to the Google Groups "SmartGWT Extensions" group.
To post to this group, send email to smartgwt-...@googlegroups.com.
To unsubscribe from this group, send email to smartgwt-extens...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smartgwt-extensions?hl=en.

Boysen, Pete [ITACD]

unread,
May 14, 2010, 10:44:03 AM5/14/10
to smartgwt-...@googlegroups.com
I have been looking at mobile applications too. What is it about the widgets that don't play well? It would seem that if you were using iPhone/iPad/iPod Touch, the Safari browser should work fine. I appreciate that is a small part of the market but it would be a place to start.


Pete Boysen (pbo...@iastate.edu)
Information Technology Services
209 Durham
(515)294-6663
Reply all
Reply to author
Forward
0 new messages