Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and Tabris
RAP and Tabris [message #1060616] Mon, 27 May 2013 10:36 Go to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Hi all,
from this page
http://developer.eclipsesource.com/tabris/docs/architecture/
I see that Tabris is the mobile client for RAP Server.
Now I followed the Tabris tutorial here
http://eclipsesource.com/blogs/2013/05/14/how-to-bootstrap-a-tabris-application-with-maven-and-eclipse/
which should (if I'm not mistaken) end up with a RAP Server and a mobile client, that is Tabris.
Is there a Browser RAP Web client for the same deployed application, as depicted in the first link above?
Thank you
Vincenzo

[Updated on: Mon, 27 May 2013 10:38]

Report message to a moderator

Re: RAP and Tabris [message #1060729 is a reply to message #1060616] Tue, 28 May 2013 09:23 Go to previous messageGo to next message
Holger Staudacher is currently offline Holger Staudacher
Messages: 166
Registered: July 2009
Senior Member
Hi Vincenzo,
Yes you are right. Tabris provides mobile clients for RAP and additional API to fulfill mobile requirements. The tutorial you have linked describes an App that is build with a small framework called "Tabris UI" (http://eclipsesource.com/blogs/2013/02/19/inside-the-tabris-ui/). You can compare it to the Eclipse RCP but less powerful and tailor made for mobile devices. Thus there is currently no implementation of this framework for the web client.

The message box that pops up when accessing a Tabris UI app with the browser comes from TabrisUIEntryPoint. It is created within the createContent method. The TabrisUIEntryPoint is just convenience. You can provide your own EntryPoint that just creates the Tabris UI and handles the web client differently.

Hope this helps.

Cheers Holger
Re: RAP and Tabris [message #1062270 is a reply to message #1060729] Thu, 06 June 2013 21:25 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 100
Registered: January 2012
Senior Member
Hi Holger,
thank you for the explanation.
My question in the end is: given the message stated at page
http://eclipse.org/rap/
("Enabling modular business apps for desktop, browser and mobile")
how can I set up a minimal application which can be run both on the browser and mobile? Is there some tutorial or sample project to show this approach?
Thank you very much
Cheers
Vincenzo
Re: RAP and Tabris [message #1062322 is a reply to message #1062270] Fri, 07 June 2013 08:19 Go to previous message
Holger Staudacher is currently offline Holger Staudacher
Messages: 166
Registered: July 2009
Senior Member
Hi Vincenzo,
the examples you asked for are the Tabris demos (https://github.com/eclipsesource/tabris-demos) except for the UI demo which I already said is based on the Tabris UI.

It does not make any sense to bring a full feature RAP application to a mobile device. But small pieces from a full app are a good fit for mobile devices. So, to be able to reuse your code you need to encapsulate small parts of your UI which can run as a mobile App.

The Tabris UI is based on Pages. So, creating your encapsulated UI parts in a page would be a good start.

Unfortunately we do not have an example online for this because it's just a question how you structure your application.

Hope this helps.

Cheers Holger
Previous Topic:Can't launsch as RWT application in eclipse because Maven dependency "javax.servlet"
Next Topic:Crash with click in tree on one specific IE10
Goto Forum:
  


Current Time: Thu Sep 18 23:54:36 GMT 2014

Powered by FUDForum. Page generated in 0.01710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software