Upload
john-head
View
2.617
Download
1
Tags:
Embed Size (px)
Citation preview
© 2012 PSC Group, LLC
NELOTUS User GroupXPages Mobile Controls May 7, 2012
© 2012 PSC Group, LLC 2
agenda
• Introduction• About OpenNTF.org• What's possible ?• How does XPages Mobile work ?• How do I get it ?• Future directions• Where to find out more• Q & A
© 2012 PSC Group, LLC
John [email protected]
1051 Perimeter DriveSuite 500Schaumburg, IL 60173
(847) 517-7200(847) 517-7600 fax
Facebook.com/PSCGroup
Twitter.com/PSCGroup
Linkedin.com/company/psc-group-llc
Slideshare.com/PSCGroup
Youtube.com/PSCGroup
Facebook.com/johndhead
Twitter.com/johnhead
LinkedIN.com/in/johndhead
Slideshare.com/johnhead
Youtube.com/johnhead
www.johndavidhead.com
www.pscgroup.com
© 2012 PSC Group, LLC 4© 2012 PSC Group, LLC
Kathy Brown
• Twitter @RunningKathy• LinkedIn.com/in/runningkathy• [email protected]• http://www.runningnotes.net
• 1051 Perimeter DriveSuite 500Schaumburg, IL 60173
(847) 517-7200 (847) 517-7600 fax
© 2012 PSC Group, LLC 5
Attribution
• Many of these slides come from the Lotusphere2012 presentation “AD109 Ready, Set, Go! How IBM Lotus® Domino® XPages Became Mobile” by Eamon Muldoon and Lorcan McDonald, IBM Ireland Lab
• PSC does not represent any IBM statements about future versions of Notes & Domino
© 2012 PSC Group, LLC
OpenNTF.org is devoted to ...■ Enabling groups of individuals all over the world to collaborate on
software applications and release them as open source.■ Providing a framework for the community so that open source
applications may be freely distributed, using widely accepted licensing terms.
■ Increasing the quality and quantity of templates, applications and samples that are shared by the community.
© 2012 PSC Group, LLC
OpenNTF.org History■ OpenNTF was launched in 2002 by people from the Lotus Notes/
Domino community. In May 2009 the new OpenNTF Alliance was established. The Alliance is in the process of being replaced by the newly incorporated OpenNTF, which, in December 2011, took over the operation of the OpenNTF site.
■ Statistics (as of 2011)─ 360 new open source releases─ 184k downloads─ 720 open source projects─ 1000 snippets─ 77k registered users─ OpenNTF.org – 300k page visits and 70k visitors per month─ 4 hrs of video and 85k views on YouTube Channel
© 2012 PSC Group, LLC
Member Companies
© 2012 PSC Group, LLC
OpenNTF.org
© 2012 PSC Group, LLC
© 2012 PSC Group, LLC 11
• Submit one of the following:– Re-usable controls can be custom controls or library/
Java controls. – Applications contain or integrate all necessary
functionality for users to fulfill certain tasks. • Prerequisites
– Lotus Domino 8.5.3. – May require Upgrade Pack 1 or the latest XPages
Extension Library from OpenNTF.• Awards
– Controls• The two winners of this category will receive $800
each. – Applications
• The two winners of this category will receive $1600
© 2012 PSC Group, LLC
XSnippets
© 2012 PSC Group, LLC 13
XSnippets Contest
• Run each Quarter• Contributors can win in two different ways:
– Two contributors will be randomly selected from a pool of contributors who submitted four or more snippets during the contest. Each of the winning contributors will receive an award of $100.
– Two contributors will be chosen via judging based on technical value and wow factor for single submissions. These two contributors will also receive $100 each.
© 2012 PSC Group, LLC
© 2012 PSC Group, LLC 15
XPages Mobile App Dev Objectives• Build new and extend the reach of existing applications to smart phones
and tablets– Provide pervasive access to IBM® Lotus Notes® and Domino data
from your mobile device• IOS® 4 & 5 (iPhone®, iPad® and iPod Touch®)• Android® 2.3 (phones) and 3.x (tablets)• Blackberry® (coming in the near future)
– Improve business process efficiency by allowing decision makers to approve workflows on the go
• Enable templates with mobile access– Enable existing applications by refreshing the design– Teamroom & Discussion templates– Provide examples of best practices
• Extend the XPages framework to support mobile web browsers– Make it easy to develop mobile applications with the technology you
know– One programming model for mobile, desktop browser and rich
client
© 2012 PSC Group, LLC 16
XPages Mobile Features• Provide a set dedicated set of controls and libraries
– Form controls, data lists, navigation, transition animations ...– Extends Dojo 1.6.1
• Provide mobile renderings of key application controls– Outline, dataview, formTable
• Native look and feel– Automatic device detection and rendering– iPhone and Android native styling (Blackberry coming soon)
• Flexibility on how you want to mobilize– Incrementally enhance existing application with mobile controls– Create a new application with mobile controls that access data
and business logic in an existing application• IBM Lotus® Domino® Designer
– Mobile control visualisations
© 2012 PSC Group, LLC 17
Brief History
• Mobile Controls Project on OpenNTF– Released in early 2010– Set of stand alone custom controls– Based on 8.5.2
• Incorporated into XPages Extension Library project on OpenNTF– Improved throughout 2011 with feedback from the community
• Custom mobile solutions– Partners building custom mobile solutions using jQuery Mobile
and dojox.mobile– Examples on OpenNTF
• XPages Mobile support released as part of Upgrade Pack 1– Officially supported release based on 8.5.3
© 2012 PSC Group, LLC 18
Notes & Domino 8.5.3 Upgrade Pack 1
• Delivers a set of application development capabilities on top of 8.5.3– Upgrade Pack 1 delivers new features using plugins– Applicable to Domino, IBM® XWork Server, Notes, Domino
Designer– Does not modify the 8.5.3 base content in any way
• What does it contain?– XPages Extension Library (Most but not all of the capabilities
currently on OpenNTF)• Includes new set of mobile specific XPages controls
– Updated templates built with controls in Extension Library• Teamroom: XPages UI including mobile access• Discussion: new mobile access
– Domino Access Services: New REST APIs
© 2012 PSC Group, LLC 19
XPages Mobile Controls – The Building Blocks
Outline/MenuDate View
Navigation Bar
Search Bar
Form w/ Validation
© 2012 PSC Group, LLC 20
New Teamroom Template
In two easy steps!1) File-Application-Replace Design2) Run Upgrade Content agent (note: you only need to run agent once)
© 2012 PSC Group, LLC 21
XPages Mobile Features - Teamroom
© 2012 PSC Group, LLC 22
How it works
© 2012 PSC Group, LLC 23
Single Application Page
© 2012 PSC Group, LLC 24
Mobile Controls
• Single-page Application Model– Application Pages loaded using partial refresh– Pages typically written as Custom Controls– Share Logic between Desktop and Mobile
© 2012 PSC Group, LLC 25
Cross over pattern
© 2012 PSC Group, LLC 26
Common Controls
• Enables cross over pattern • Mobile renderers provided for some of the
popular Controls– Dataview– Form Table – Outline
© 2012 PSC Group, LLC 27
Device Detection
© 2012 PSC Group, LLC 28
Application Debugging
• Weinre– Remote debugger for web pages– Can be injected into production apps– http://phonegap.github.com/weinre/
• Fiddler2– An HTTP proxy– Debug native apps.– Simulate poor connections– http://www.fiddler2.com/fiddler2/
© 2012 PSC Group, LLC 29
How do I get 8.5.3 Upgrade Pack 1?
• Customers on active maintenance can download from Passport Advantage
• IBM Business Partners can download from PartnerWorld Software Access Catalog
• Download 1 image which contains install kits for the following– Notes Client
• XPages Extension Library runtime– Domino Designer
• XPages Extension Library runtime (for local preview)• Designer plugins for working with XPages Extension Library
– Domino & XWork Server• XPages Extension Library runtime• Domino Access Services (REST APIs)
© 2012 PSC Group, LLC 30
Product, Upgrade Packs & Open Source• Deliver new functionality through off cycle Upgrade Packs• The code is first released on openNTF
– Available early and gives full transparency on what is being done• Pieces from openNTF are extracted and delivered as Upgrade Packs,
supported by IBM– Upgrade packs are delivered on a shorter release cycle than products
• Upgrade Packs are integrated into the next revision of the product
© 2012 PSC Group, LLC 31
Future Directions
• Additional controls and themes– Enhanced control support (iOS and Android)– Blackberry support – based on Dojo 1.7
• Additional mobile template– Document library
• Common UI on all mobile devices– OneUI for Mobile
• IBM Mobile Tech Preview (MFP)/Phonegap– Hybrid development model providing a native application– Access to native device capabilities – camera, contacts etc..
• IBM Lotus NotesTraveller® Integration– Receive a document link in an email, view the mobile rendering
of the document, review and approve
© 2012 PSC Group, LLC 32
© 2012 PSC Group, LLC 33
Mobilize Today!• Get the code
– XPages mobile controls are delivered in Notes & Domino 8.5.3 Upgrade Pack 1
• Requires Domino and Domino Designer 8.5.3• Available thru Passport Advantage to customers on active
maintenance• Installation instructions here
• Quick Win – Apply new TeamRoom and Discussion templates• Get enabled
– TeamRoom Demo:– http://ibmtvdemo.edgesuite.net/software/lotus/demo/notes/
teamroom853/– Tutorial: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/
XPages_Mobile_Controls_Tutorial_– For more info Notes and Domino 8.5.3 Upgrade Pack 1http://
dojotoolkit.org/features/mobile– XPages Extension Library sample on XPages.info
© 2012 PSC Group, LLC 34
More Information • XPages.info – One Stop Shopping for XPages
– http://xpages.info• XPages Forum – Got Questions, Need Answers?
– http://xpages.info/forum• OpenNTF – Open Source Community
– http://www.openntf.org• Domino Application Development Wiki
– http://www.lotus.com/ldd/ddwiki.nsf• XPages Blog
– http://xpagesblog.com• IBM Educational Offerings
– http://www.ibm.com/software/lotus/training/n8deducationofferings.html
© 2012 PSC Group, LLC 35
Technical Education & Certification• IBM Education XPages Courses
Fundamentals of IBM Lotus Notes 8.5.1 Application DevelopmentIntroduction to IBM Lotus Notes 8.5.1 XPagesDeveloping IBM Lotus Notes 8.5.2 Applications: Intermediate XPages DesignDeveloping IBM Lotus Notes 8.5.2 Applications: Advanced XPage Design Modernizing Domino Applications
• Learning Roadmaps (New Developers)– New Developers– Experienced Developers
• IBM Resells TLCC XPages Courses (and Other App Dev & Admin Courses)
• New XPages Certification: Developing IBM Lotus Domino 8.5.2 Applications:– Advanced XPage Design
© 2012 PSC Group, LLC 36
• Factoids...– Comprehensive 7 Part, 785 page volume– IBM Press publication– Authored by lead members of XPages development team– Features contributions from other key community members– Covers all aspects of XPages application development– Example-driven approach focusing on practical problems– Includes sample NSF downloads
• Available now @ Lotusphere bookstore• Available online
– www.ibmpressbooks.com/bookstore/product.asp?isbn=0132486482– www.amazon.com/Mastering-XPages-Step-Step-Application/dp/0132486318
© 2012 PSC Group, LLC 37
XPages Portable Command Guide
• Factoids...– Compact 320 page volume– IBM Press publication– Authored by members of XPages & Domino Designer dev teams– Perfect complement to the popular Mastering XPages book,helping
experienced XPages developers go even further– Thoroughly covers XSP properties, Command Managerinstructions, INI
variables, OSGi console commands,debugging, logging and more.– Dozens of practical examples providing immediate solutions
• Available soon online– www.ibmpressbooks.com/bookstore/product.asp?isbn=0132943050– www.amazon.com/XPages-Portable-Command-Guide/dp/0132943050
© 2012 PSC Group, LLC 38
• Factoids...– Comprehensive 600 page volume– IBM Press publication– Authored by a team of all-star XPages experts,Featuring
contributions from key community members– Take full advantage of the XPages ExtensibilityFramework,
Library & API– Step-by-step guide for developers of all experience levels– Combines reference material and practical use cases
• Available Q2 – 2012– www.ibmpressbooks.com/bookstore/product.asp?
isbn=0132901811– www.amazon.com/XPages-Extension-Library/dp/0132901811
© 2012 PSC Group, LLC 39
Q&A