SlideShare a Scribd company logo
Mobile Development for Domino Giuseppe Grasso
Giuseppe Grasso From my twitter bio: “ Technologist, Italian LUG leader, unable to bio himself... and an  IBM Champion !  ” http://twitter.com/#!/grassog My developerworks profile:  https://www.ibm.com/developerworks/mydeveloperworks/profiles/user/GiuseppeGrasso My email:  [email_address]
agenda Market status Mobile dev strategies Openntf mobile controls Options for traditional domino web developers
What do we mean with “mobile”? Smartphone Tablet Cloud PC i.e. chromebook
trends More “dumb” cheap smartphone Cheap base android terminals “ mobile” means more than “mobile phones” More fragmentation Nielsen Market Research http://nexus404.com/Blog/2010/12/17/italy-most-smartphone-savy-country-finds-nielsen-nielsen-market-research-finds-that-more-italian-young-people-have-adapted-to-smartphones-than-elsewhere/
fragmentation source : Kantar WorldPanel     http://www.onlinemarketing-trends.com/2011/04/smartphone-marketshare-2011-italyus-aus.html
Application Develpment Native apps build with native sdk and tools, best for performance and hardware access, hard to multiplatform, steep lerning curve, may have higher cost do develop, deploy and mantain. Web apps leverage existing web dev skills, simpler multiplatform, usually lower cost do develop, deploy and mantain. Hybrid  apps & cross platform toolkits usually easier than native development, limited access to device hardware
Best case for Native App Single device/platform as target High requirements on perfomances Need tight  integration  with hardware resources Good budget / resources
Best case for Web App Multiple devices and platform targets No need of hardware access Need to avoid deploy / distribution
Best case for Hybrid  apps & cross platform toolkits Multiple devices and platform targets Limited need of hardware access No resouces for going native on all targets
Hybrid  apps & cross platform toolkits PhoneGap native wrapper around web apps Titanium web apps “transcompiled” to native apps Blackberry webworks  native wrapper around web apps Teamstudio unplugged xpages domino designer add-on / device runtime Flex mobile
Web apps for mobile Xpages   OpenNTF XPages Mobile Controls Traditional Domino  html5 & dojo mobile or jquery mobile
OpenNTF XPages Mobile Controls MobileControlsDojo16.nsf main controls, sample xpages and Dojo 1.6 Mobile  MobileControlsWinkCubiq.nsf more controls based on open source from cubiq.org ( made in Italy!) and Wink Toolkit MobileControlsOffline.nsf  shows how to take a Dojo based mobile app offline Offline.nsf basic HTML5 samples for how to do offline with XPages. XCamera.nsf a sample how to take a picture with a smartphone and upload it to an NSF (based on PhoneGap and require it to recompile) Login.nsf some code for a login control based on the iNotes login mechanism.
MobileControlsDojo16.nsf: controls mPage     nice page transitions mView     view control mDocumentContainer     UNID handler and loading indicator mConfiguration     handle loading of needed CSS & js Minitialize    dojo.parser mRectangle ,  mRectangleEntry ,  mRectangleHeader    helper controls
MobileControlsDojo16.nsf:  ViewAndDocument sample xpage How to use  mPage ,  mView ,  mRectangle  etc. to implement a list view and content panel within a single xpage with nice transitions between view and content
ViewAndDocument Implementation Details 1 mView  components controls and let you  define  the  source view
ViewAndDocument Implementation Details 2 mDocumentContainer  contains the  myEditDocument custom control  that let you  define the fields  that will show up in the “document details screen”
ViewAndDocumentCustomStyle  sample xpage Sample similar to  ViewAndDocument  sample xpage but with a  custom style
How to use  mRectangle  and  mRectangleSimpleEntry RectangleSimpleEntries sample xpage
Transitions sample xpage How to implement transition effects between screens
CreateDocument sample xpage How to  create and save  documents
ViewAndEditDocument How to  view and edit  Documents
NavigatorAndViewAndDocument Tablet friendly interface with navigator, view and documents
ViewOneCategoryAndDocument & ViewWithCategoriesAndDocument View showing single category  View with categories
MobileControlsWinkCubiq.nsf controls from cubiq.org and the Wink toolkit Samples for DatePicker ModalWindow and PopUpMenu from wink toolkit SlideInMenu and SpinningWheel from qubiq Note: You need to get and import your copy  of the code from wink & qubiq http://www.winktoolkit.org/download/wink_1.0_optimized.zip Matteo Spinelli,  author of cubiq,  born in Florence
Importing wink Use  package explorer  to: Create a new folder inside of the database Import wink from file system
DatePicker  Note:  on most platform you can have that with native controls using HTML5 and type=“date ” attribute.  See my presentation from DDive 2010, slide #41
ModalWindow & PopUpMenu
MobileControlsWinkCubiq.nsf: TelephoneAndLocation Show how to trigger native functions via  tel:  and  geo:  defined URL
Offline.nsf: resouces sample xpage Show how to go offline with HTML5 cache manifest (see also my ddive 2010  presentation slides #43-#44)
resouces sample xpage:  cache manifest link
Offline.nsf: cache manifest Linked from resouces xpage
Offline.nsf: storage xpage – key value storage Show how to use HTML5 localstorage capabilities to store key/values
Offline.nsf: storage xpage - local SQL storage How to use  HTML5 local sql capabilities
Offline.nsf: local SQL storage - cont Transaction code
xcamera.nsf Show how to access device hardware inside of the PhoneGap framework. Need PhoneGap
Login.nsf Implements a mobile friendly login form. You need admin credentials to install it on your server.
Can’t use xpages? dojo mobile  jQuerymobile Leverage on html5 capabilities  ie: native controls for specialized fields like date, number etc.
references My previous sessions: Lotus on mobile @  DDive 2010 http://www.slideshare.net/dominopoint/ddive-giuseppe-grasso-mobile-su-lotus  and video:  http://www.dominopoint.it/Dominopoint/dominopoint_blog.nsf/dx/ddive-il-video-di-sviluppo-mobile Going mobile @  DominoPoint Day 2009 http://www.slideshare.net/dominopoint/sviluppare-applicazioni-domino-web-per-dispositivi-mobili
Thanks to all the sponsor  that made DDive 2011 possible! Main Sponsor Premium Sponsor Prime Sponsor

More Related Content

PPTX
Firefox OS, introduction, concepts, architecture and hello world example
PPTX
01 wp7 introduction
PPTX
Windows 10 e Universal Windows Platform
PPTX
Indie Game Development
PDF
Firefox OS and the Internet of Things - NDC London 2014
PPTX
Developing cross platform mobile applications with phone gap for windows phone
PPTX
Phone gap development, testing, and debugging
PPTX
Web 2.0 and Open Resouces for Online Teaching
Firefox OS, introduction, concepts, architecture and hello world example
01 wp7 introduction
Windows 10 e Universal Windows Platform
Indie Game Development
Firefox OS and the Internet of Things - NDC London 2014
Developing cross platform mobile applications with phone gap for windows phone
Phone gap development, testing, and debugging
Web 2.0 and Open Resouces for Online Teaching

Viewers also liked (7)

PDF
Gaming the Web: Using the Structure of Games to Design Better Web Apps
PPTX
Application server vs Web Server
PPTX
Testing web application
PPT
0. Course Introduction
PPT
20. Object-Oriented Programming Fundamental Principles
PDF
Lecturas 20122 s-2
ODP
Google Web App
Gaming the Web: Using the Structure of Games to Design Better Web Apps
Application server vs Web Server
Testing web application
0. Course Introduction
20. Object-Oriented Programming Fundamental Principles
Lecturas 20122 s-2
Google Web App
Ad

Similar to DDive11 - Mobile Development For Domino (20)

PDF
Mobile Controls for IBM Lotus Domino XPages on OpenNTF
PDF
Mobile Controls for IBM Lotus Domino XPages on OpenNTF 09/10
KEY
Real-world Dojo Mobile
PDF
Wireless Wednesdays: Part 1
PDF
Wireless Wednesdays: Part 2
KEY
Mobile ECM with JavaScript - JSE 2011
DOCX
XPages Mobile Advanced Topics
PPTX
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
PDF
Doag wysiwyg
PPT
Integrating ADF Mobile with WebCenter
PDF
Ad111 Lotusphere 2011 - Developing Mobile Apps Rapidly for WebKit Browsers Us...
PDF
Wireless Wednesdays: Part 3
PPTX
Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!
PDF
The XPages Mobile Controls: What's New in Notes 9.0.1
PDF
AD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
PDF
The XPages Mobile Controls: What's New In Notes 9.0.1
KEY
Beyond the Desktop: Sites and Apps for Phones and Tablets
ODP
DanNotes XPages Mobile Controls
PPTX
I like i phone and android but know .net
PPT
Mobile Blast - Mobile strategy for developers
Mobile Controls for IBM Lotus Domino XPages on OpenNTF
Mobile Controls for IBM Lotus Domino XPages on OpenNTF 09/10
Real-world Dojo Mobile
Wireless Wednesdays: Part 1
Wireless Wednesdays: Part 2
Mobile ECM with JavaScript - JSE 2011
XPages Mobile Advanced Topics
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Doag wysiwyg
Integrating ADF Mobile with WebCenter
Ad111 Lotusphere 2011 - Developing Mobile Apps Rapidly for WebKit Browsers Us...
Wireless Wednesdays: Part 3
Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!
The XPages Mobile Controls: What's New in Notes 9.0.1
AD503: XPages Mobile Development in IBM Domino 9.0.1 and Beyond
The XPages Mobile Controls: What's New In Notes 9.0.1
Beyond the Desktop: Sites and Apps for Phones and Tablets
DanNotes XPages Mobile Controls
I like i phone and android but know .net
Mobile Blast - Mobile strategy for developers
Ad

More from Dominopoint - Italian Lotus User Group (20)

PPTX
TOTP - Time-Based One Time password in Domino
PDF
Domino Backup V12 - Un nuovo Task
PDF
Mail Client from Traveler to Verse On-Premises
PDF
IBM Worspace: Towards a culture of conversations
PPTX
Microsoft Outlook for Domino (IMSMO)
PDF
Riding the Enterprise Integration train
PPTX
Ortocloud l'applicazione per fare orto su Bluemix
PPTX
Meetit16 KeyNote di Apertura
PDF
IBM Domino Modernizing apps with Angularjs
PDF
IBM Connections How to use existing data to increase adoption success with IB...
PDF
IBM Connections 10 things every user should know
PDF
IBM Verse New Way To Work
PPT
PPT
Notes and Domino Roadmap
PDF
La Collaborazione Europea
PPT
Dominopoint meet the experts 2015 - XPages
TOTP - Time-Based One Time password in Domino
Domino Backup V12 - Un nuovo Task
Mail Client from Traveler to Verse On-Premises
IBM Worspace: Towards a culture of conversations
Microsoft Outlook for Domino (IMSMO)
Riding the Enterprise Integration train
Ortocloud l'applicazione per fare orto su Bluemix
Meetit16 KeyNote di Apertura
IBM Domino Modernizing apps with Angularjs
IBM Connections How to use existing data to increase adoption success with IB...
IBM Connections 10 things every user should know
IBM Verse New Way To Work
Notes and Domino Roadmap
La Collaborazione Europea
Dominopoint meet the experts 2015 - XPages

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Machine Learning_overview_presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Spectroscopy.pptx food analysis technology
PPT
Teaching material agriculture food technology
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine Learning_overview_presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Group 1 Presentation -Planning and Decision Making .pptx
MIND Revenue Release Quarter 2 2025 Press Release
Getting Started with Data Integration: FME Form 101
Spectroscopy.pptx food analysis technology
Teaching material agriculture food technology
OMC Textile Division Presentation 2021.pptx
TLE Review Electricity (Electricity).pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
A Presentation on Artificial Intelligence
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding

DDive11 - Mobile Development For Domino

  • 1. Mobile Development for Domino Giuseppe Grasso
  • 2. Giuseppe Grasso From my twitter bio: “ Technologist, Italian LUG leader, unable to bio himself... and an IBM Champion ! ” http://twitter.com/#!/grassog My developerworks profile: https://www.ibm.com/developerworks/mydeveloperworks/profiles/user/GiuseppeGrasso My email: [email_address]
  • 3. agenda Market status Mobile dev strategies Openntf mobile controls Options for traditional domino web developers
  • 4. What do we mean with “mobile”? Smartphone Tablet Cloud PC i.e. chromebook
  • 5. trends More “dumb” cheap smartphone Cheap base android terminals “ mobile” means more than “mobile phones” More fragmentation Nielsen Market Research http://nexus404.com/Blog/2010/12/17/italy-most-smartphone-savy-country-finds-nielsen-nielsen-market-research-finds-that-more-italian-young-people-have-adapted-to-smartphones-than-elsewhere/
  • 6. fragmentation source : Kantar WorldPanel    http://www.onlinemarketing-trends.com/2011/04/smartphone-marketshare-2011-italyus-aus.html
  • 7. Application Develpment Native apps build with native sdk and tools, best for performance and hardware access, hard to multiplatform, steep lerning curve, may have higher cost do develop, deploy and mantain. Web apps leverage existing web dev skills, simpler multiplatform, usually lower cost do develop, deploy and mantain. Hybrid apps & cross platform toolkits usually easier than native development, limited access to device hardware
  • 8. Best case for Native App Single device/platform as target High requirements on perfomances Need tight integration with hardware resources Good budget / resources
  • 9. Best case for Web App Multiple devices and platform targets No need of hardware access Need to avoid deploy / distribution
  • 10. Best case for Hybrid apps & cross platform toolkits Multiple devices and platform targets Limited need of hardware access No resouces for going native on all targets
  • 11. Hybrid apps & cross platform toolkits PhoneGap native wrapper around web apps Titanium web apps “transcompiled” to native apps Blackberry webworks native wrapper around web apps Teamstudio unplugged xpages domino designer add-on / device runtime Flex mobile
  • 12. Web apps for mobile Xpages OpenNTF XPages Mobile Controls Traditional Domino html5 & dojo mobile or jquery mobile
  • 13. OpenNTF XPages Mobile Controls MobileControlsDojo16.nsf main controls, sample xpages and Dojo 1.6 Mobile MobileControlsWinkCubiq.nsf more controls based on open source from cubiq.org ( made in Italy!) and Wink Toolkit MobileControlsOffline.nsf shows how to take a Dojo based mobile app offline Offline.nsf basic HTML5 samples for how to do offline with XPages. XCamera.nsf a sample how to take a picture with a smartphone and upload it to an NSF (based on PhoneGap and require it to recompile) Login.nsf some code for a login control based on the iNotes login mechanism.
  • 14. MobileControlsDojo16.nsf: controls mPage  nice page transitions mView  view control mDocumentContainer  UNID handler and loading indicator mConfiguration  handle loading of needed CSS & js Minitialize  dojo.parser mRectangle , mRectangleEntry , mRectangleHeader  helper controls
  • 15. MobileControlsDojo16.nsf: ViewAndDocument sample xpage How to use mPage , mView , mRectangle etc. to implement a list view and content panel within a single xpage with nice transitions between view and content
  • 16. ViewAndDocument Implementation Details 1 mView components controls and let you define the source view
  • 17. ViewAndDocument Implementation Details 2 mDocumentContainer contains the myEditDocument custom control that let you define the fields that will show up in the “document details screen”
  • 18. ViewAndDocumentCustomStyle sample xpage Sample similar to ViewAndDocument sample xpage but with a custom style
  • 19. How to use mRectangle and mRectangleSimpleEntry RectangleSimpleEntries sample xpage
  • 20. Transitions sample xpage How to implement transition effects between screens
  • 21. CreateDocument sample xpage How to create and save documents
  • 22. ViewAndEditDocument How to view and edit Documents
  • 23. NavigatorAndViewAndDocument Tablet friendly interface with navigator, view and documents
  • 24. ViewOneCategoryAndDocument & ViewWithCategoriesAndDocument View showing single category View with categories
  • 25. MobileControlsWinkCubiq.nsf controls from cubiq.org and the Wink toolkit Samples for DatePicker ModalWindow and PopUpMenu from wink toolkit SlideInMenu and SpinningWheel from qubiq Note: You need to get and import your copy of the code from wink & qubiq http://www.winktoolkit.org/download/wink_1.0_optimized.zip Matteo Spinelli, author of cubiq, born in Florence
  • 26. Importing wink Use package explorer to: Create a new folder inside of the database Import wink from file system
  • 27. DatePicker Note: on most platform you can have that with native controls using HTML5 and type=“date ” attribute. See my presentation from DDive 2010, slide #41
  • 29. MobileControlsWinkCubiq.nsf: TelephoneAndLocation Show how to trigger native functions via tel: and geo: defined URL
  • 30. Offline.nsf: resouces sample xpage Show how to go offline with HTML5 cache manifest (see also my ddive 2010 presentation slides #43-#44)
  • 31. resouces sample xpage: cache manifest link
  • 32. Offline.nsf: cache manifest Linked from resouces xpage
  • 33. Offline.nsf: storage xpage – key value storage Show how to use HTML5 localstorage capabilities to store key/values
  • 34. Offline.nsf: storage xpage - local SQL storage How to use HTML5 local sql capabilities
  • 35. Offline.nsf: local SQL storage - cont Transaction code
  • 36. xcamera.nsf Show how to access device hardware inside of the PhoneGap framework. Need PhoneGap
  • 37. Login.nsf Implements a mobile friendly login form. You need admin credentials to install it on your server.
  • 38. Can’t use xpages? dojo mobile jQuerymobile Leverage on html5 capabilities ie: native controls for specialized fields like date, number etc.
  • 39. references My previous sessions: Lotus on mobile @ DDive 2010 http://www.slideshare.net/dominopoint/ddive-giuseppe-grasso-mobile-su-lotus and video: http://www.dominopoint.it/Dominopoint/dominopoint_blog.nsf/dx/ddive-il-video-di-sviluppo-mobile Going mobile @ DominoPoint Day 2009 http://www.slideshare.net/dominopoint/sviluppare-applicazioni-domino-web-per-dispositivi-mobili
  • 40. Thanks to all the sponsor that made DDive 2011 possible! Main Sponsor Premium Sponsor Prime Sponsor