37
XML Authoring and Review Using Mobile Devices @georgebina #lavacon George Bina

XML Authoring and Review Using Mobile Devices

Embed Size (px)

Citation preview

Page 1: XML Authoring and Review Using Mobile Devices

XML Authoring and Review UsingMobile Devices

@georgebina #lavacon

George Bina

Page 2: XML Authoring and Review Using Mobile Devices

About George Bina

● Founder Syncro Soft / oXygen XML Editor● More than 15 years of working with XML ● Contribute to open source XML related projects

@georgebina #lavacon

Page 3: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Overview

Page 4: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Overview

● Why mobile?● Use cases● How to do it

– Options– Choices

● Results● Summary and future plans

Q & Aanytime

Page 5: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Why Mobile Devices?

Page 6: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Mobile Devices Status and Trends

2013: “By 2014 mobile is predicted to overtakedesktop Internet usage.”http://www.convinceandconvert.com/mobile/7-mobile-marketing-stats-that-will-blow-your-mind/

July 8, 2014: “Mobile Exceeds PC InternetUsage for First Time in History”http://searchenginewatch.com/article/2353616/Mobile-Now-Exceeds-PC-The-Biggest-Shift-Since-the-Internet-Began

Aug 21, 2014: “Majority Of Digital MediaConsumption Now Takes Place In Mobile Apps”http://techcrunch.com/2014/08/21/majority-of-digital-media-consumption-now-takes-place-in-mobile-apps/

Page 7: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Page 8: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

We cannot ignore mobile devices!

Page 9: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Why Mobile Devices?

Page 10: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Availability

I only have my phone with me!

Page 11: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

User Preference

I like my tablet better than my laptop!

Page 12: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Easier to Use

I need to seat down to be able to use my laptop!

Page 13: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Why Not?

Page 14: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Why Not?● Published output is already available

http://www.mobiledita.com

● User expectations

I want full access to my documents

Page 15: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Use Cases

Page 16: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Set Correct Expectations

Expectations● I can do the same

things I do on mylaptop

● I can solve somespecific use cases

● It is possible toaccess my XMLdocuments from myphone/tablet

Reality (now)

disappointment

meetexpectations

exceed expectations

Page 17: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Use Cases● Direct XML review● XML-first workflows● Critical fixes

Page 18: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Direct XML Review

Page 19: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

XML-first Workflows

Page 20: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Critical Fixes● Full access to XML elements and attribute to fix

a critical issue

Page 21: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Overview

Mobile devices are used by many people √

There are some interesting use cases whereaccessing XML from mobile devices can be agood solution √

Ok, it makes sense to try...

How do we do it?

Page 22: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Options and Choices

Option 1:

Nativevs

Web application

Page 23: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Native vs Web Application

Native

+ better user interaction

– missing technology stack– XML parser– Schema validators– CSS parser– CSS rendering engine

– maintain multiple different implementations(iOS, Android, Windows, etc.)

Page 24: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Native vs Web Application

Web Application

– no access to all device capabilities

+ possibility to reuse existing technology stack

+ single application

+ will work also on desktop

+ reuse existing customiztions

Page 25: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Native vs Web Application

Native

Web Application √

Page 26: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Options and Choices

Web application √

Option 2:

Client side processingvs

Server side processing

Page 27: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Client Side vs Server Side

Client side processing

+ speed

– time to market

Page 28: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Client Side vs Server Side

Processing can move

from server side

to client side

Example: validation

If available on the client use it, otherwise fallback to server side validation

Page 29: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Client Side vs Server Side

Client side processing

Server side processing √

Page 30: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Choices

Web application √

Server side processing √

Page 31: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Results

Web application ● Java servlet on the server side● HTML5+Javascript on the client side

Page 32: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Architectural Diagram

Page 33: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Integrations● Dropbox● Google Drive

https://github.com/oxygenxml/webapp-storage-services-integration

● In progress in a number of CMSes

Page 34: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Demo● Review a DITA topic● Entering book content as XML● Fix a critical issue – correct the revision number

of a document● Reuse configuration from desktop to WebApp

Page 35: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Summary and Future Plans● XML review can be fully supported on mobile● XML authoring works great is specific cases● General XML authoring is possible● Mobile → Desktop● Plan to provide Dropbox and Google Drive as a

service● Possibility for concurrent simultaneous editing

Page 36: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

What to try it now?

Details, access and demo available at:

http://www.oxygenxml.com/webapp

Page 37: XML Authoring and Review Using Mobile Devices

Copyright @ Syncro Soft, 2014. All rights reserved.Copyright @ Syncro Soft, 2014. All rights reserved.

XML Authoring and Review Using Mobile DevicesXML Authoring and Review Using Mobile Devices

@georgebina #lavacon

Thank You!

George [email protected]@georgebina

Questions?