Sunteți pe pagina 1din 25

Tabris Workshop

Jordi Bhme Lpez Tabris iOS

Johannes Eickhold Tabris Android

Copyright EclipseSource Inc, all rights reserved

Goals of the Workshop


Get o!r HandsOn the code" Learn ho# to$$$


Set!p o!r %&E for Tabris Write a Tabris app La!nch and test o!r app

http'((de)eloper$eclipseso!rce$com(tabris(

Copyright EclipseSource Inc, all rights reserved

HandsOn Tasks
*$ +ello #orld ,Shell - B!tton. /$ &ialo0 ,J1ace. 2$ List ,J1ace Tree3ie#er. 4$ Geolocation 5$ 6lient 6an)as

Copyright EclipseSource Inc, all rights reserved

<rere=!isites

Who has an 7

iOS de)ice8 Android de)ice8

Who has an alread prepared 7


9ac : ;code8 Eclipse : Android &e)elopment Tools ,A&T.8

Copyright EclipseSource Inc, all rights reserved

Technolo0
RAP & Tabris ,Open So!rce. : Tabris Native Clients ,6ommercial.

Open So!rce

>A< Ser)er Bro#ser 6lient ,+T9L 5 : Ja)aScript. Tabris Ser)er B!ndles ?ati)e 6lients ,iOS@ Android.

6ommercial (developer preview free of charge)

http'((de)eloper$eclipseso!rce$com(tabris(do#nloads(
Copyright EclipseSource Inc, all rights reserved

Architect!re

Copyright EclipseSource Inc, all rights reserved

6ontent of ASB Stick

EclipseSDK/

Lin!B@ 9ac and Windo#s )ersions

Tabris-0.8.0-SDK.zip workshop-projects.zip tabris-0.8_I386_20 2- 0- !_ 2- "- !.apk sli#es_tabris-workshop.p#$ a%#roi#/


A&T S&C
Copyright EclipseSource Inc, all rights reserved

HandsOn %&E Set!p


*$ EBtract and start Eclipse
&'S()stick*/EclipseSDK/&+o,r)s+ste-*

/$ %mport DEBistin0 <roEects into WorkspaceF


&'S()stick*/workshop-projects.zip

2$ Set DTar0et <latformF'


/tabris.tar.et/tabris.tar.et

Copyright EclipseSource Inc, all rights reserved

HandsOn 1irst <roEect


Open the proEect' co-.eclipseso,rce.tabris.workshop

&ependencies ,9A?%1EST$91. Acti)ator 6onfi0!ration Entr <oint G create'I/0

SWT E)ent Loop )s$ >WTHJEE compatibilit


Copyright EclipseSource Inc, all rights reserved

HandsOn Task *
Widget: Shell - B!tton Task: Let a b!tton sa D+ello WorldF$ c.e.t.workshop.task Entry Point: (hello#orld

Copyright EclipseSource Inc, all rights reserved

>A< <rotocol and 6lients


>A< bro#ser client' +T9L 5 : Ja)aScript Tabris nati)e clients'


Generic D&e)eloperF 6lient AppHSpecificH6lient

Copyright EclipseSource Inc, all rights reserved

HandsOn Task *' La!nch it

La!nch 6onfi0!ration'
/tabris.tar.et/ser1er.la,%ch

G starts the ser)er on port IJIJ

Entr <oint for the Tabris application on http'((localhost'IJIJ(hello#orld

Access it #ith o!r bro#ser ,+T9L 5 : Ja)aScript client.

Copyright EclipseSource Inc, all rights reserved

6lient &eplo ment


iOS'

<reHb!ilt 0eneric #orkshop client on demand AppHspecific client template ,part of Tabris S&C. &irect $apk do#nload ,e$0$ #eb or mail. Goo0le <la As part of the Tabris S&C ,ASB stick@ #ebsite.
Copyright EclipseSource Inc, all rights reserved

Android'

HandsOn Task *' ?ati)e client

Entr <oint for the Tabris application on http'((tabrismac$local'IJIJ(hello#orld

Access it #ith nati)e clients

Copyright EclipseSource Inc, all rights reserved

Entr point &isco)er


Simplifies de)eloperKs life Lists all a)ailable entr points on ser)er http'((tabrismac$local'IJIJ(indeB$Eson

We pro)ide t#o entr points for each +andsOn task in this #orkshop' http'((tabrismac$local'IJIJ(hello#orld http'((tabrismac$local'IJIJ(hello#orldHsol!tion

Copyright EclipseSource Inc, all rights reserved

HandsOn Task /
Widget: J1ace &ialo0 Task: 6lick a b!tton to open a dialo0$ c.e.t.workshop.task2 Entry Point: (dialo0

Copyright EclipseSource Inc, all rights reserved

HandsOn Task 2
Widget: J1ace Tree3ie#er Task: 6onnect a Tree to a simple data model$ c.e.t.workshop.task3 Entry Point: (tree

Copyright EclipseSource Inc, all rights reserved

&ifferences bet#een platforms

Tar0et platforms iOS )s$ Android )s$ Browser Tablet )s$ <hone

Copyright EclipseSource Inc, all rights reserved

9obile A;' &oKs and &ontKs


?o Workbench on mobile clients 1ast startH!p %n)est time in o!r desi0n" &onK tr to !nif desktop - mobile Laz loadin0 &o #ork as nchrono!sl

Copyright EclipseSource Inc, all rights reserved

HandsOn Task 4
Widget: Geolocation Task: &ispla the c!rrent location of o!r de)ice$ c.e.t.workshop.task" Entry Point: (0eo

Copyright EclipseSource Inc, all rights reserved

HandsOn Task 5
Widget: 6lient6an)as Task: To!ch and dra# in o!r app$ c.e.t.workshop.task2 Entry Point: (dra#

Copyright EclipseSource Inc, all rights reserved

State of Tabris@ >oadmap


Q: A: Q: A: Q: A: When will 1.0 be released L* /J*2 !an " deploy via the #pp $tore % Play $tore Mes@ as lon0 o! compl #ith the App Store r!les$
The decision is !p to the Store pro)ider$

What abo&t pricing


1inal pricin0 is not et a)ailable$ %t #ill be in the same ran0e as other commercial offerin0s in the space$

Copyright EclipseSource Inc, all rights reserved

EBample >eso!rces

Available widgets
http'((de)eloper$eclipseso!rce$com(tabris(docs(!iHcontrols(

Code examples G Git+!b

Copyright EclipseSource Inc, all rights reserved

6omm!nit - S!pport
emos' https'((0ith!b$com(eclipseso!rce(tabrisHdemos( !it' https'((0ith!b$com(eclipseso!rce(tabris "ss#es$B#gs'
https'((0ith!b$com(eclipseso!rce(tabris(iss!es

Q#estions & Answers'


http'((stacko)erflo#$com(search8=Ntabris

Pro%essional S#pport'
http'((de)eloper$eclipseso!rce$com(tabris(docs(ser)ices(

Copyright EclipseSource Inc, all rights reserved

Thank o!

1or an =!estions please contact tabrisOeclipseso!rce$com

Copyright EclipseSource Inc, all rights reserved

S-ar putea să vă placă și