SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
Introduction to XControls 
October 
22, 
2014
Introducing 
• Tools 
for 
collabora9ve 
compu9ng 
in 
mid-­‐size 
and 
large 
enterprises, 
primarily 
for 
IBM 
Notes 
• Easy-­‐to-­‐use 
tools 
for 
developers 
and 
administrators 
• Unplugged: 
easy 
mobiliza9on 
of 
Notes 
apps 
to 
Blackberry, 
Android 
and 
iOS 
• 2300+ 
ac9ve 
customers, 
47 
countries 
• Offices 
in 
US, 
UK, 
and 
Japan
Teamstudio 
Unplugged 
• Your 
mobile 
Domino 
server: 
take 
your 
Notes 
apps 
with 
you! 
• End-­‐users 
access 
Notes 
applica9ons 
from 
mobile 
devices 
whether 
online 
or 
offline 
• Leverages 
exis9ng 
skills 
and 
technology 
– 
XPages 
– 
a 
replica9on 
model 
you 
already 
know 
• Unplugged 
3.1
Unplugged 
Template 
Apps 
• 
Con9nuity 
– 
Mobile 
offline 
access 
to 
BCM 
programs 
• 
OneView 
Approvals 
– 
Expense 
approvals; 
anywhere, 
any9me 
• 
CustomerView 
– 
lightweight 
CRM 
framework 
for 
field 
sales 
and 
field 
service 
teams 
• Contacts 
– 
customer 
informa9on 
database 
• Ac9vi9es 
– 
customer 
ac9vity 
log 
• Media 
– 
mobile 
offline 
file 
storage 
and 
access
• Next 
webinar 
with 
TLCC: 
• Access 
Data 
from 
XPages 
with 
the 
Rela9onal 
Controls 
 Nov. 
4 
• Promo,ons: 
• Sign 
up 
to 
learn 
about 
our 
Unplugged 
Developer 
Assistance 
Program 
before 
Oct. 
31, 
2014, 
and 
be 
automa9cally 
entered 
to 
win 
an 
iPad 
or 
Android 
tablet. 
• Now 
through 
Dec. 
15, 
2014, 
sign 
up 
to 
learn 
about 
our 
Moderniza9on 
Services, 
and 
be 
automa9cally 
entered 
to 
win 
an 
iPhone 
6.
Introduction to XControls
What are they? 
 A series of custom controls that allow you to build XPages 
applications that run on desktop and mobile browsers 
2
Agenda 
History 
XControls 
Creating a new application 
Advanced applications 
Migration Path 
Documentation 
Futures 
1 
2 
3 
3 
4 
5 
6 
7
History 
 First released in Jan 2013 
 15 released since then 
 The 3.4 Unplugged Controls work fine, but… 
– But they are mobile only, we need desktop support 
– They don’t integrate with other frameworks well 
– The look and feel is already getting tired 
 Bootstrap is a very popular and well supported framework 
– Bootcards builds on top of this 
 The Cards pattern is becoming increasingly popular 
– We want a common UI across Unplugged platforms 4
More about cards 
 The idea is that UI is broken 
down into cards 
– Views become lists 
– Forms become cards 
 Twitter and Google are both 
heavy users of the cards 
pattern 
– http://insideintercom.io/why-cards-are-the-future- 
of-the-web/ 
– http://smashinghub.com/9-inspirational-cards-ui-design- 
example.htm 
– https://dev.twitter.com/cards/overview 
– http://www.pinterest.com/flexewebs/cards-ui/ 5
XControls List 
 As with the Unplugged Controls, everything is done with 
Custom Controls and Resources 
6 
AccordionView Alert Calendar Carousel 
DebugToolbar Dialog Files FlatView 
Footer FormEditor FormViewer Header 
ImageViewer Navigator PhotoUpload Resources 
RichTextEdit RichTextRead Workspace
Resources 
 To try and simplify things, all supporting content has been 
moved to ResourcesFiles 
 So just copy the Files, Custom Controls and Unp* XPages to 
a new database to start 
 We do also need a theme now that disables OneUI! 
7
Creating a new application 
 Download the controls from OpenNTF 
 Copy across ResourcesFiles 
 Copy across UnpBoot… Custom Controls 
 Copy across “blank” Theme (and enable in DB Properties) 
 Copy across Unp… XPages 
8
Common Header 
 Best practice now is to create a commonheader and 
commonfooter custom control and add to every XPage: 
9
Common Header 
 Every page we load needs the UnpBootResources custom 
control added 
– This adds CSS, JavaScript and Server Side JavaScript 
 We want the app to work on Mobile and Desktop so we add 
a UnpBootNavigator and define the navitems in 
UnpBootHeader 
10
Common Footer 
 We want to define the sync type and can add footer tabs if 
we need to 
11
Home Page 
 As ever, we need a UnpMain XPage, so first add header and 
footer: 
12
Home Page 
 Now we need a list and a card 
 List first, using the Flat View control 
13
Home Page 
 The Document card will be easiest to re-use as a custom 
control “personviewer” making use of the FormViewer 
Control 
14
Home Page 
 If we add the personviewer custom control to UnpMain and 
save, we now have a working page: 
15
Edit Person 
 We need an XPage to handle the creation and editing of 
person documents 
 The FormEditor control works almost exactly the same as 
the 3.x Controls 
– Just slightly different markup for fields to match the 
Bootstrap style 
16
Edit Person 
17
Edit Person 
 Now when we click “Add” or “Edit” we see: 
18
Accordion View 
 This is much the same as the Flat View 
 We can re-use the person viewer 
19
Accordion View 
 Just that simple addition gives us this: 
20
Mobile Version 
21
Advanced Functionality 
 What we’ve seen is obviously very simple 
 The Sampler app has far more advanced controls: 
– Rich Text editing* using Quill.js 
• * rich text in this context means HTML 
– File Uploads (including photo rotation and resizing) 
– Complex form controls like mobile switches, native date 
pickers etc 
– Calendar Control 
22
Migration Path 
 Because Bootstrap Controls 4.0 is a complete re-write of the 
Controls 3.x code stream there is no simple migration path 
 Existing apps would need their XPages and Custom Controls 
re-writing 
 Forms, Views and Data would not need to change 
 There will be a Controls 3.5 release but not much after that 
other than critical bug fixes 
23
Documentation 
 We have a new documentation site: 
http://unplugged.github.io/xcontrols-domino/index.html 
24
Future Changes 
 1.1 was released yesterday (21st Oct) 
 There are already change requests queued up for XControls 
1.2. 
 As ever these are managed in a public repository on Github: 
– https://github.com/unplugged/xcontrols-domino 
 We want your feedback 
– Bugs 
– Enhancements 
– Ideas 
25
Questions? 
 Useful links: 
– OpenNTF: http://www.openntf.org/main.nsf/project.xsp?r=project/XControls 
– Github: https://github.com/unplugged/xcontrols-domino 
– Documentation: http://unplugged.github.io/xcontrols-domino/index.html 
– Bootcards: http://bootcards.org 
26
27

Weitere ähnliche Inhalte

Andere mochten auch (9)

Mood boards
Mood boardsMood boards
Mood boards
 
Visitamos la tienda de andrés gómez
Visitamos la tienda de andrés gómezVisitamos la tienda de andrés gómez
Visitamos la tienda de andrés gómez
 
Sabetta 2
Sabetta 2Sabetta 2
Sabetta 2
 
Latihan soal uts 2
Latihan soal uts 2Latihan soal uts 2
Latihan soal uts 2
 
Band Image Analysis
Band Image AnalysisBand Image Analysis
Band Image Analysis
 
Текущая ситуация по развитию социального предпринимательства: опыт Южной Кореи
Текущая ситуация по развитию социального предпринимательства: опыт Южной КореиТекущая ситуация по развитию социального предпринимательства: опыт Южной Кореи
Текущая ситуация по развитию социального предпринимательства: опыт Южной Кореи
 
Ani
AniAni
Ani
 
5 webinar-swans
5 webinar-swans5 webinar-swans
5 webinar-swans
 
Present cct powerpoint
Present cct powerpointPresent cct powerpoint
Present cct powerpoint
 

Ähnlich wie Wireless Wednesdays: Introduction to XControls

Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Paul Della-Nebbia
 
Evolving Services Into A Cloud Native World
Evolving Services Into A Cloud Native WorldEvolving Services Into A Cloud Native World
Evolving Services Into A Cloud Native World
Iain Hull
 

Ähnlich wie Wireless Wednesdays: Introduction to XControls (20)

Wireless Wednesdays: Part 4
Wireless Wednesdays: Part 4Wireless Wednesdays: Part 4
Wireless Wednesdays: Part 4
 
Wireless Wednesdays: Part 3
Wireless Wednesdays: Part 3Wireless Wednesdays: Part 3
Wireless Wednesdays: Part 3
 
Wireless Wednesdays: Part 2
Wireless Wednesdays: Part 2Wireless Wednesdays: Part 2
Wireless Wednesdays: Part 2
 
Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!
Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!
Jmp103-Get the Jump on Mobilizing Your Notes and Domino Applications Today!
 
XPages: No Experience Needed
XPages: No Experience NeededXPages: No Experience Needed
XPages: No Experience Needed
 
The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
 
Wireless Wednesdays: Beyond the Basics - Enhance your Enterprise Mobile Appli...
Wireless Wednesdays: Beyond the Basics - Enhance your Enterprise Mobile Appli...Wireless Wednesdays: Beyond the Basics - Enhance your Enterprise Mobile Appli...
Wireless Wednesdays: Beyond the Basics - Enhance your Enterprise Mobile Appli...
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
 
Evolving Services Into A Cloud Native World
Evolving Services Into A Cloud Native WorldEvolving Services Into A Cloud Native World
Evolving Services Into A Cloud Native World
 
Bootstrap4XPages
Bootstrap4XPagesBootstrap4XPages
Bootstrap4XPages
 
An Introduction to the Model-View-Controller Pattern
An Introduction to the Model-View-Controller PatternAn Introduction to the Model-View-Controller Pattern
An Introduction to the Model-View-Controller Pattern
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...
 
Windows8.1overviewnetponto
Windows8.1overviewnetpontoWindows8.1overviewnetponto
Windows8.1overviewnetponto
 
Connect 2014 SHOW102: XPages Still No Experience Necessary
Connect 2014 SHOW102: XPages Still No Experience NecessaryConnect 2014 SHOW102: XPages Still No Experience Necessary
Connect 2014 SHOW102: XPages Still No Experience Necessary
 
DanNotes XPages Mobile Controls
DanNotes XPages Mobile ControlsDanNotes XPages Mobile Controls
DanNotes XPages Mobile Controls
 
ONLINE PORTAL WITH COMPILER USING C#
ONLINE  PORTAL WITH COMPILER USING C#ONLINE  PORTAL WITH COMPILER USING C#
ONLINE PORTAL WITH COMPILER USING C#
 
Siruna presentation Mobile Drupal @ Drupalcamp Colorado Jun09
Siruna presentation Mobile Drupal @ Drupalcamp Colorado Jun09Siruna presentation Mobile Drupal @ Drupalcamp Colorado Jun09
Siruna presentation Mobile Drupal @ Drupalcamp Colorado Jun09
 
XPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 WebinarXPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 Webinar
 

Mehr von Teamstudio

Mehr von Teamstudio (20)

Search Terms and Design Complexity: A Tutorial Before Modernizing or Migrating
Search Terms and Design Complexity: A Tutorial Before Modernizing or MigratingSearch Terms and Design Complexity: A Tutorial Before Modernizing or Migrating
Search Terms and Design Complexity: A Tutorial Before Modernizing or Migrating
 
SmartNSF - 100% Smart - and in Color!
SmartNSF - 100% Smart - and in Color!SmartNSF - 100% Smart - and in Color!
SmartNSF - 100% Smart - and in Color!
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good Server
 
Understand Usage with Detailed Access Information
Understand Usage with Detailed Access InformationUnderstand Usage with Detailed Access Information
Understand Usage with Detailed Access Information
 
IBM Presents the Notes Domino Roadmap and a Deep Dive into Feature Pack 8
IBM Presents the Notes Domino Roadmap and a Deep Dive into Feature Pack 8IBM Presents the Notes Domino Roadmap and a Deep Dive into Feature Pack 8
IBM Presents the Notes Domino Roadmap and a Deep Dive into Feature Pack 8
 
Marty, You're Just Not Thinking Fourth Dimensionally
Marty, You're Just Not Thinking Fourth DimensionallyMarty, You're Just Not Thinking Fourth Dimensionally
Marty, You're Just Not Thinking Fourth Dimensionally
 
IBM Presents the IBM Notes and Domino Roadmap
IBM Presents the IBM Notes and Domino RoadmapIBM Presents the IBM Notes and Domino Roadmap
IBM Presents the IBM Notes and Domino Roadmap
 
XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func...
XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func...XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func...
XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func...
 
Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections
Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections
Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections
 
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate Usability
 
Optimus XPages Part 2: The Deep Dive
Optimus XPages Part 2: The Deep DiveOptimus XPages Part 2: The Deep Dive
Optimus XPages Part 2: The Deep Dive
 
Getting Started with the OpenNTF Domino API
Getting Started with the OpenNTF Domino APIGetting Started with the OpenNTF Domino API
Getting Started with the OpenNTF Domino API
 
Understand the True Business Usage of Notes Applications with Usage Auditor
Understand the True Business Usage of Notes Applications with Usage AuditorUnderstand the True Business Usage of Notes Applications with Usage Auditor
Understand the True Business Usage of Notes Applications with Usage Auditor
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 
Building Responsive Applications Using XPages
Building Responsive Applications Using XPagesBuilding Responsive Applications Using XPages
Building Responsive Applications Using XPages
 
Using Cool New Frameworks in (Mobile) Domino Apps
Using Cool New Frameworks in (Mobile) Domino AppsUsing Cool New Frameworks in (Mobile) Domino Apps
Using Cool New Frameworks in (Mobile) Domino Apps
 
Ask the XPages Experts
Ask the XPages ExpertsAsk the XPages Experts
Ask the XPages Experts
 
Move Your XPages Applications to the Fast Lane
Move Your XPages Applications to the Fast LaneMove Your XPages Applications to the Fast Lane
Move Your XPages Applications to the Fast Lane
 
Mobilisez vos Applications IBM Notes avec Teamstudio Unplugged ! (French Lang...
Mobilisez vos Applications IBM Notes avec Teamstudio Unplugged ! (French Lang...Mobilisez vos Applications IBM Notes avec Teamstudio Unplugged ! (French Lang...
Mobilisez vos Applications IBM Notes avec Teamstudio Unplugged ! (French Lang...
 
Domino, Notes, and Verse - Where are We and Whats the Future?
Domino, Notes, and Verse - Where are We and Whats the Future?Domino, Notes, and Verse - Where are We and Whats the Future?
Domino, Notes, and Verse - Where are We and Whats the Future?
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Wireless Wednesdays: Introduction to XControls

  • 1. Introduction to XControls October 22, 2014
  • 2. Introducing • Tools for collabora9ve compu9ng in mid-­‐size and large enterprises, primarily for IBM Notes • Easy-­‐to-­‐use tools for developers and administrators • Unplugged: easy mobiliza9on of Notes apps to Blackberry, Android and iOS • 2300+ ac9ve customers, 47 countries • Offices in US, UK, and Japan
  • 3. Teamstudio Unplugged • Your mobile Domino server: take your Notes apps with you! • End-­‐users access Notes applica9ons from mobile devices whether online or offline • Leverages exis9ng skills and technology – XPages – a replica9on model you already know • Unplugged 3.1
  • 4. Unplugged Template Apps • Con9nuity – Mobile offline access to BCM programs • OneView Approvals – Expense approvals; anywhere, any9me • CustomerView – lightweight CRM framework for field sales and field service teams • Contacts – customer informa9on database • Ac9vi9es – customer ac9vity log • Media – mobile offline file storage and access
  • 5. • Next webinar with TLCC: • Access Data from XPages with the Rela9onal Controls  Nov. 4 • Promo,ons: • Sign up to learn about our Unplugged Developer Assistance Program before Oct. 31, 2014, and be automa9cally entered to win an iPad or Android tablet. • Now through Dec. 15, 2014, sign up to learn about our Moderniza9on Services, and be automa9cally entered to win an iPhone 6.
  • 7. What are they?  A series of custom controls that allow you to build XPages applications that run on desktop and mobile browsers 2
  • 8. Agenda History XControls Creating a new application Advanced applications Migration Path Documentation Futures 1 2 3 3 4 5 6 7
  • 9. History  First released in Jan 2013  15 released since then  The 3.4 Unplugged Controls work fine, but… – But they are mobile only, we need desktop support – They don’t integrate with other frameworks well – The look and feel is already getting tired  Bootstrap is a very popular and well supported framework – Bootcards builds on top of this  The Cards pattern is becoming increasingly popular – We want a common UI across Unplugged platforms 4
  • 10. More about cards  The idea is that UI is broken down into cards – Views become lists – Forms become cards  Twitter and Google are both heavy users of the cards pattern – http://insideintercom.io/why-cards-are-the-future- of-the-web/ – http://smashinghub.com/9-inspirational-cards-ui-design- example.htm – https://dev.twitter.com/cards/overview – http://www.pinterest.com/flexewebs/cards-ui/ 5
  • 11. XControls List  As with the Unplugged Controls, everything is done with Custom Controls and Resources 6 AccordionView Alert Calendar Carousel DebugToolbar Dialog Files FlatView Footer FormEditor FormViewer Header ImageViewer Navigator PhotoUpload Resources RichTextEdit RichTextRead Workspace
  • 12. Resources  To try and simplify things, all supporting content has been moved to ResourcesFiles  So just copy the Files, Custom Controls and Unp* XPages to a new database to start  We do also need a theme now that disables OneUI! 7
  • 13. Creating a new application  Download the controls from OpenNTF  Copy across ResourcesFiles  Copy across UnpBoot… Custom Controls  Copy across “blank” Theme (and enable in DB Properties)  Copy across Unp… XPages 8
  • 14. Common Header  Best practice now is to create a commonheader and commonfooter custom control and add to every XPage: 9
  • 15. Common Header  Every page we load needs the UnpBootResources custom control added – This adds CSS, JavaScript and Server Side JavaScript  We want the app to work on Mobile and Desktop so we add a UnpBootNavigator and define the navitems in UnpBootHeader 10
  • 16. Common Footer  We want to define the sync type and can add footer tabs if we need to 11
  • 17. Home Page  As ever, we need a UnpMain XPage, so first add header and footer: 12
  • 18. Home Page  Now we need a list and a card  List first, using the Flat View control 13
  • 19. Home Page  The Document card will be easiest to re-use as a custom control “personviewer” making use of the FormViewer Control 14
  • 20. Home Page  If we add the personviewer custom control to UnpMain and save, we now have a working page: 15
  • 21. Edit Person  We need an XPage to handle the creation and editing of person documents  The FormEditor control works almost exactly the same as the 3.x Controls – Just slightly different markup for fields to match the Bootstrap style 16
  • 23. Edit Person  Now when we click “Add” or “Edit” we see: 18
  • 24. Accordion View  This is much the same as the Flat View  We can re-use the person viewer 19
  • 25. Accordion View  Just that simple addition gives us this: 20
  • 27. Advanced Functionality  What we’ve seen is obviously very simple  The Sampler app has far more advanced controls: – Rich Text editing* using Quill.js • * rich text in this context means HTML – File Uploads (including photo rotation and resizing) – Complex form controls like mobile switches, native date pickers etc – Calendar Control 22
  • 28. Migration Path  Because Bootstrap Controls 4.0 is a complete re-write of the Controls 3.x code stream there is no simple migration path  Existing apps would need their XPages and Custom Controls re-writing  Forms, Views and Data would not need to change  There will be a Controls 3.5 release but not much after that other than critical bug fixes 23
  • 29. Documentation  We have a new documentation site: http://unplugged.github.io/xcontrols-domino/index.html 24
  • 30. Future Changes  1.1 was released yesterday (21st Oct)  There are already change requests queued up for XControls 1.2.  As ever these are managed in a public repository on Github: – https://github.com/unplugged/xcontrols-domino  We want your feedback – Bugs – Enhancements – Ideas 25
  • 31. Questions?  Useful links: – OpenNTF: http://www.openntf.org/main.nsf/project.xsp?r=project/XControls – Github: https://github.com/unplugged/xcontrols-domino – Documentation: http://unplugged.github.io/xcontrols-domino/index.html – Bootcards: http://bootcards.org 26
  • 32. 27