Upload
georgebina
View
83
Download
1
Embed Size (px)
Citation preview
XML Authoring and Review UsingMobile Devices
@georgebina #lavacon
George Bina
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
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
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
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?
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/
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
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!
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?
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!
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!
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!
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?
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
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
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
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
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
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
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
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?
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
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.)
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
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 √
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
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
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
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 √
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 √
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
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
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
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
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
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
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?