IBM Connect 2016 - AD1548 - Building Responsive XPages Applications

B
AD1548 - Building Responsive XPages
Applications
Brian Gleeson, IBM Ireland
Padraic Edwards, IBM Ireland
09:15 AM - 10:15 AM, 3rd February, 2016
Orange F
Please Note:
• IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s
sole discretion.
• Information regarding potential future products is intended to outline our general product direction and it should not be
relied on in making a purchasing decision.
• The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver
any material, code or functionality. Information about potential future products may not be incorporated into any contract.
• The development, release, and timing of any future features or functionality described for our products remains at our sole
discretion.
• Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment.
The actual throughput or performance that any user will experience will vary depending upon many factors, including
considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage
configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve
results similar to those stated here.
Agenda
• Introductions
• Bootstrap 3
• Bootstrap 4
• Demos
• Tips & Tricks
• Wrap Up
Speakers
Brian Gleeson
Software Engineer, IBM XPages
@BGleesonIE
Padraic Edwards
Senior Software Engineer, IBM XPages
@paidi_ed
Responsive Web Design
Bootstrap 3
Bootstrap 3 Release History
Jun 2014 Oct Jan 2015 Mar Jun Aug Nov Q1 2016
3.2 3.3.0 3.3.2 3.3.4 3.3.5 3.3.6
v10 v12 v13 v14v11 v15
Bootstrap Release 9.0.1 ExtLib Release
v7 v9v8
3.2
ExtLib
9.0.1 v16
3.3.6
3.3.1
Bootstrap 3 Release History
3.2
3.3.0
[370]
3.3.1
[60]
3.3.2
[150]
3.3.4
[140]
3.3.5
[160]
3.3.6
[100]
3.2 3.3.6
Around 1000 issues & pull requests closed
Bootstrap 3 Upgrade
• 100s of CSS/Javascript bugs fixed & enhancements
• Carousel performance improved (v3.3.0)
• Accessibility enhancements
 CSS/JS fixes
 Documentation examples
• Glyphicons v1.9 update (v3.3.2)
 50+ icons added
• Normalize.css v3.0.3 update
 Provides consistency across browsers
Extlib 9.0.1 v16 + Bootstrap 3.3.6
WARNING!
Bootstrap 3 Upgrade
• Only one version of Bootstrap 3
 ExtLib v16 = Bootstrap 3.3.6
• Potential breaking changes
 Bootstrap3.2.0.theme, Bootstrap3.2.0_flat.theme
 Bootstrap3.theme, Bootstrap3_flat.theme
 Resources restructured
Bootstrap 3 Upgrade - Themes
• Old themes will map to latest Bootstrap3 theme
• Update application
theme in XSP properties
• Update Bootstrap theme extensions
<theme extends="Bootstrap3.2.0_flat" …
<theme extends="Bootstrap3_flat" …
Bootstrap 3 Upgrade – Resource references
Bootstrap 3 – More Info
• Documentation: http://getbootstrap.com/getting-started/
• Supported browsers: http://getbootstrap.com/getting-started/#support
• Wall of browser bugs: http://getbootstrap.com/browser-bugs/
• Purchasable themes: http://themes.getbootstrap.com/
• Stack Overflow: http://stackoverflow.com/questions/tagged/twitter-bootstrap
• Slack Channel: http://bootstrap-slack.herokuapp.com/
• Bootstrap github repo: https://github.com/twbs/bootstrap
• Bootstrap Blog: http://blog.getbootstrap.com/
Bootstrap 4
Bootstrap 4 αlpha
• Pre-release of Bootstrap V4.0.0
 2 αlpha releases so far
• Added to ExtlibX - http://tinyurl.com/extlibx
 Default Bootstrap 4 αlpha.2 build
 New renderers, theme and plugin
 CSS fixes for XPages controls
• Major version number = major overhaul
 Potential breaking changes
DEMO – Bootstrap 4
Bootstrap 4 αlpha
3.2 3.3.0 3.3.2 3.3.4 3.3.5 3.3.6
v10 v12 v13 v14v11 v15
Bootstrap 3 Release 9.0.1 ExtLib Release
v7 v9v8
3.2
3.3.1
ExtLib
9.0.1 v16
3.3.6
Jun 2014 Oct Jan 2015 Mar Jun Aug Nov Q1 2016
Bootstrap 4α Release ExtLibX Release
v15
4.α.2
4.α.1 4.α.2
v16
4.α.2
Bootstrap 4 Team Quotes
“A few alpha releases while things are still in flux.”
“2 beta releases after features and functionality are locked down
to really test things out.”
“2 release candidates (RCs) to really test things out closer to
production environments.”
“Then, the final release!”
“For the foreseeable future, we’ll be maintaining Bootstrap 3 with
critical bug fixes and documentation improvements.”
Bootstrap 4 αlpha
What’s new?
A LOT!
2000+ commits
25,000+ lines changed
Bootstrap 4 αlpha - Navbars
• Simplified set of CSS classes
• Fluid by default
• Easily customize background/text colour
.bg-inverse .navbar-dark
.bg-faded .navbar-light
style=“background:red;”
.bg-primary .navbar-dark
• Forms & collapse functionality cleaned up
DEMO – Navbars
Bootstrap 4 αlpha – Device Sizes
• Additional device size breakpoint
Bootstrap 3 Bootstrap 4
• xs: 0 – 543px
• sm: 544 – 767px
• md: 768 – 991px
• lg: 992 – 1199px
• xl: 1200+ pixels
• xs: 0 – 767px
• sm: 768 – 991px
• md: 992 – 1199px
• lg: 1200+ pixels
Bootstrap 4 αlpha - Cards
• New component = Cards
 Replaces panels, thumbnails & wells
• “A card is a flexible and extensible
content container.”
• Customisable headers, footers, backgrounds & display options
• Use card groups, card decks and card columns to arrange content
DEMO – eXpo App
Bootstrap 4 αlpha – Fonts & Icons
• Responsive Fonts
 Default font-size:
 All other font-size CSS uses REM (Root EM), e.g.
font-size: 1.5rem; // = 24px by default
 Change font sizes per device, e.g.
@media (min-width: 544px) {html { font-size: 14px; }} //sm
@media (min-width: 768px) {html { font-size: 12px; }} //md
@media (min-width: 992px) {html { font-size: 11px; }} //lg
@media (min-width: 1200px) {html { font-size: 10px; }} //xl
html { font-size: 16px; }
DEMO – Responsive Fonts
Bootstrap 4 αlpha – Fonts & Icons
• Glyphicon Fonts removed!
• Problematic for ExtLib
 Halflings are not open source
 Used extensively in XPages Bootstrap theme
• Bootstrap 3 to the rescue
Bootstrap 4 αlpha - Pagers
• New pagination CSS classes
Bootstrap 3
• Added simple pager
<div>
<ul class="pagination">
<li class="page-item active"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
</ul>
</div>
<div>
<ul class="pagination">
<li class=“active"> <a href="#">1</a></li>
<li><a href="#">2</a></li>
</ul>
</div>
<div>
<ul class="pager">
<li><a href="#">Previous</a></li>
<li><a href="#">Next</a></li>
</ul>
</div>
Bootstrap 4
• .btn-outline, .btn-secondary added
• pull-left, pull-right replaced by pull-*-right & pull-*-left
pull-xs-right, pull-sm-left, pull-md-right etc.
• hidden utility classes replaced
hidden-sm-down, hidden-md-up, hidden-lg-down
• margin & padding utility classes added
{margin or padding}-{sides}-{size}
m-t-0, m-b-1, m-l-2, m-r-3, m-x-4, m-y-auto
p-t-auto, p-b-4, p-l-3, p-r-2, p-x-1, p-y-0
Bootstrap 4 αlpha – Other changes
Bootstrap 4 αlpha – Other changes
• Table additions
 table-inverse
 table-head-inverse
 table-sm
 table-reflow
• img-responsive replaced by img-fluid
• Custom forms option available
 Based on WTF Forms
 http://wtfforms.com/
• 30% smaller footprint
ExtLibX
Bootstrap 4 αlpha – ExtlibX
• New Bootstrap4 plugin
com.ibm.xsp.extlibx.theme.bootstrap4_ 9.0.1.v00_16_20160119-2239.jar
• New Bootstrap4.theme
Bootstrap 4 αlpha – ExtlibX
• How to get it?
 Download from http://tinyurl.com/extlibx
 Install update site
 Or install with new ExtLib release
• How to contribute
 Fork repository - https://github.com/OpenNTF/XPagesExtLibX
 Write code
 Testing
 Submit pull request
Bootstrap 4 αlpha – Implemented so far
• New Bootstrap plugin
 Plugin infrastructure + Bootstrap4.theme
 Bootstrap 4 αlpha.2 resources
 XPages specific CSS & JS resources
 Navbar Renderer
 2x Application Layout Renderers
 Pager Renderer
 Dashboard Renderer
 Navigator Renderer
 Data View Renderer
• What’s missing? https://github.com/OpenNTF/XPagesExtLibX/issues
Tips,Tricks & Best Practices
Tips, Tricks & Best Practices
• Bootstrap Grid system
 Containers > Rows > Columns
 Container class: container-fluid or container
 12 columns per row
col-xs-12, col-sm-6, col-md-4, col-lg-3, col-xl-2
 Nested rows supported
 Offsets supported: col-md-offset-2, col-lg-offset-4 etc.
DEMO – Grid System
Tips, Tricks & Best Practices
• Media Queries
@media screen and (min-width : 992px) { body{ background-color: blue;}}
@media screen and (min-width : 1200px){ body{ background-color: red;}}
@media screen and (max-width : 991px) { body{ background-color: green;}}
• xs: 0 – 543px
• sm: 544 – 767px
• md: 768 – 991px
• lg: 992 – 1199px
• xl: 1200+ pixels
• xs: 0 – 767px
• sm: 768 – 991px
• md: 992 – 1199px
• lg: 1200+ pixels
Bootstrap 3 Bootstrap 4
DEMO – Media Queries
Tips, Tricks & Best Practices
• Bootlint
 Examines rendered HTML
 Flags common Bootstrap usage mistakes
 Only supports Bootstrap 3 (for now)
• How to use?
 Pass URL to http://www.bootlint.com/
 Include bootlint in page/app using CDN
https://github.com/twbs/bootlint#in-the-browser
 Use Node.js to run on command line
https://github.com/twbs/bootlint#on-the-command-line
DEMO – Bootlint
Tips, Tricks & Best Practices
• Browser dev tools
 Firefox – Firebug + User Agent Switcher
 Chrome – Built-in Tooling
 Safari – Built-in Web Inspector & Responsive Design Mode
 Online emulators & emulator tools
Tips, Tricks & Best Practices
• Custom Bootstrap build
 http://getbootstrap.com/customize/
 Customise content
 Customise settings/properties
 Click “compile and download”
• Git repo custom build
 Fork Bootstrap
 Change content/settings/variables
 Setup build tools
 Build using node & grunt
Summary
• Bootstrap 3 Upgrade
 Restructuring/refactoring work
• Bootstrap 4 αlpha
 Changes & new features
• ExtLibX incubator for BS4 support in XPages
 Github repository
 Implemented support so far
 How to contribute
Other Resources
• XPages Goes Responsive Videos
 Part 1: https://www.youtube.com/watch?v=XdWYmPLmIrk
 Part 2: https://www.youtube.com/watch?v=P24PsLXO5_o
• Check ExtLib readme docs, v10 – v15
 http://extlib.openntf.org
• ExtLibX Github Repository:
 https://github.com/OpenNTF/XPagesExtLibX
Your Feedback Is Important!
Fill out session surveys at:
https://www.connectsurveys.com
or through IBM Event Connect.
IBM Connect 2016 - AD1548 - Building Responsive XPages Applications
Notices and Disclaimers
Copyright © 2015 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without
written permission from IBM.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.
Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of
the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS
DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY
DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF
PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they
are provided.
Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.
Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how
those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating
environments may vary.
References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in
all countries in which IBM operates or does business.
Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All
materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any
individual participant or their specific situation.
It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification
and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to
comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance
with any law
Notices and Disclaimers cont.
Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources.
IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related
to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the
quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL
WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE.
The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or
other intellectual property right.
•IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management
System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®,
Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®,
pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®,
Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®,
X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and
service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark
information" at: www.ibm.com/legal/copytrade.shtml.
Addendum Slides
Bootstrap 3 – New themes
• Purchase themes
 http://themes.getbootstrap.com/
 Added components
 Examples included
 Source & build tools included
 Customisable variables
 Documentation
 Free updates
 Multiple use license
DEMO – XGallery
Bootstrap 4 αlpha - Infrastructure
• Normalize 3.0.3 update
 Reboot.css adds Bootstrap resets
• All Javascript re-written in ECMAScript6
• SASS replaces LESS
• 30% smaller footprint
• Internet Explorer 8 support dropped
• iOS6 support dropped
Chrome Firefox IE MS Edge Opera Safari
Mac Supported Supported N/A N/A Supported Supported
Windows Supported Supported 9+ Supported Supported Supported Not supported
Chrome Firefox Opera Safari Android Browser & WebView
Android Supported Supported Not supported N/A Android v5.0+ supported
iOS Supported N/A Not supported Supported N/A
Mobile devices
Generally Bootstrap supports the latest versions of each major platform’s default browsers.
Desktop browsers
Similarly, the latest versions of most desktop browsers are supported.
Bootstrap 4 αlpha – Browser Support
1 of 55

Recommended

Building Responsive Applications Using XPages by
Building Responsive Applications Using XPagesBuilding Responsive Applications Using XPages
Building Responsive Applications Using XPagesTeamstudio
4.8K views77 slides
Expanding XPages with Bootstrap Plugins for Ultimate Usability by
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityTeamstudio
2.7K views51 slides
Engage - Expanding XPages with Bootstrap Plugins for ultimate usability by
Engage - Expanding XPages with Bootstrap Plugins for ultimate usabilityEngage - Expanding XPages with Bootstrap Plugins for ultimate usability
Engage - Expanding XPages with Bootstrap Plugins for ultimate usabilityJohnny Oldenburger
1.9K views36 slides
JMP401: Masterclass: XPages Scalability by
JMP401: Masterclass: XPages ScalabilityJMP401: Masterclass: XPages Scalability
JMP401: Masterclass: XPages ScalabilityTony McGuckin
4.1K views158 slides
Ask the XPages Experts by
Ask the XPages ExpertsAsk the XPages Experts
Ask the XPages ExpertsTeamstudio
3.1K views55 slides
Bootstrap4XPages webinar by
Bootstrap4XPages webinarBootstrap4XPages webinar
Bootstrap4XPages webinarMark Leusink
42.9K views40 slides

More Related Content

What's hot

XPages Application Layout Control - TLCC March, 2014 Webinar by
XPages Application Layout Control - TLCC March, 2014 WebinarXPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 WebinarHoward Greenberg
5.2K views54 slides
Marty, You're Just Not Thinking Fourth Dimensionally by
Marty, You're Just Not Thinking Fourth DimensionallyMarty, You're Just Not Thinking Fourth Dimensionally
Marty, You're Just Not Thinking Fourth DimensionallyTeamstudio
3.2K views60 slides
Anatomy of an HTML 5 mobile web app by
Anatomy of an HTML 5 mobile web app Anatomy of an HTML 5 mobile web app
Anatomy of an HTML 5 mobile web app Ivano Malavolta
5.9K views64 slides
Getting Started with the OpenNTF Domino API by
Getting Started with the OpenNTF Domino APIGetting Started with the OpenNTF Domino API
Getting Started with the OpenNTF Domino APITeamstudio
3.4K views43 slides
Your Future HTML: The Evolution of Site Design with Web Components by
Your Future HTML: The Evolution of Site Design with Web ComponentsYour Future HTML: The Evolution of Site Design with Web Components
Your Future HTML: The Evolution of Site Design with Web ComponentsKen Tabor
88.5K views96 slides
Introduction to Development for the Internet by
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the InternetMike Crabb
101.6K views22 slides

What's hot(20)

XPages Application Layout Control - TLCC March, 2014 Webinar by Howard Greenberg
XPages Application Layout Control - TLCC March, 2014 WebinarXPages Application Layout Control - TLCC March, 2014 Webinar
XPages Application Layout Control - TLCC March, 2014 Webinar
Howard Greenberg5.2K views
Marty, You're Just Not Thinking Fourth Dimensionally by Teamstudio
Marty, You're Just Not Thinking Fourth DimensionallyMarty, You're Just Not Thinking Fourth Dimensionally
Marty, You're Just Not Thinking Fourth Dimensionally
Teamstudio3.2K views
Anatomy of an HTML 5 mobile web app by Ivano Malavolta
Anatomy of an HTML 5 mobile web app Anatomy of an HTML 5 mobile web app
Anatomy of an HTML 5 mobile web app
Ivano Malavolta5.9K views
Getting Started with the OpenNTF Domino API by Teamstudio
Getting Started with the OpenNTF Domino APIGetting Started with the OpenNTF Domino API
Getting Started with the OpenNTF Domino API
Teamstudio3.4K views
Your Future HTML: The Evolution of Site Design with Web Components by Ken Tabor
Your Future HTML: The Evolution of Site Design with Web ComponentsYour Future HTML: The Evolution of Site Design with Web Components
Your Future HTML: The Evolution of Site Design with Web Components
Ken Tabor88.5K views
Introduction to Development for the Internet by Mike Crabb
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the Internet
Mike Crabb101.6K views
XPages: No Experience Needed by Kathy Brown
XPages: No Experience NeededXPages: No Experience Needed
XPages: No Experience Needed
Kathy Brown6.9K views
Web Performance First Aid by Alan Seiden
Web Performance First AidWeb Performance First Aid
Web Performance First Aid
Alan Seiden1.8K views
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014 by Howard Greenberg
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Creating a Great XPages User Interface, TLCC Teamstudio Webinar - Feb, 2014
Howard Greenberg2.7K views
Zimmertwins Presentation by Ashok Modi
Zimmertwins PresentationZimmertwins Presentation
Zimmertwins Presentation
Ashok Modi852 views
Web Client Performance by Herea Adrian
Web Client PerformanceWeb Client Performance
Web Client Performance
Herea Adrian1.4K views
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour by Chris Miller
IBM Connect 2016 - 60+ in 60 - Admin Tips Power HourIBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
Chris Miller1.3K views
Child Themes and CSS in WordPress by Matthew Vaccaro
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPress
Matthew Vaccaro846 views
Twitter - Architecture and Scalability lessons by Aditya Rao
Twitter - Architecture and Scalability lessonsTwitter - Architecture and Scalability lessons
Twitter - Architecture and Scalability lessons
Aditya Rao24K views
Web Performance & You - HighEdWeb Arkansas Version by Dave Olsen
Web Performance & You - HighEdWeb Arkansas VersionWeb Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas Version
Dave Olsen16.8K views
Rapid application development for WordPress using AWF by Tim Plummer
Rapid application development for WordPress using AWFRapid application development for WordPress using AWF
Rapid application development for WordPress using AWF
Tim Plummer4.8K views
High Performance Mobile Web by James D Bloom
High Performance Mobile WebHigh Performance Mobile Web
High Performance Mobile Web
James D Bloom1.6K views
Cross CMS plugin development using AWF by Tim Plummer
Cross CMS plugin development using AWFCross CMS plugin development using AWF
Cross CMS plugin development using AWF
Tim Plummer2.5K views

Viewers also liked

D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpages by
D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpagesD8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpages
D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpagesCERTyou Formation
350 views2 slides
MWLUG 2016 : AD117 : Xpages & jQuery DataTables by
MWLUG 2016 : AD117 : Xpages & jQuery DataTablesMWLUG 2016 : AD117 : Xpages & jQuery DataTables
MWLUG 2016 : AD117 : Xpages & jQuery DataTablesMichael Smith
3.7K views55 slides
XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func... by
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...Teamstudio
4.1K views89 slides
What the App? : A Modernization Strategy for Your Business Applications by
What the App? : A Modernization Strategy for Your Business ApplicationsWhat the App? : A Modernization Strategy for Your Business Applications
What the App? : A Modernization Strategy for Your Business ApplicationsJohn Head
4.9K views92 slides
AD1542 Get Hands On With Bluemix by
AD1542 Get Hands On With BluemixAD1542 Get Hands On With Bluemix
AD1542 Get Hands On With BluemixMartin Donnelly
2.2K views43 slides
A Beard, An App, A Blender by
A Beard, An App, A BlenderA Beard, An App, A Blender
A Beard, An App, A Blenderedm00se
2.5K views44 slides

Viewers also liked(10)

D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpages by CERTyou Formation
D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpagesD8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpages
D8 l55g formation-introduction-a-ibm-lotus-domino-8-5-xpages
CERTyou Formation350 views
MWLUG 2016 : AD117 : Xpages & jQuery DataTables by Michael Smith
MWLUG 2016 : AD117 : Xpages & jQuery DataTablesMWLUG 2016 : AD117 : Xpages & jQuery DataTables
MWLUG 2016 : AD117 : Xpages & jQuery DataTables
Michael Smith3.7K views
XPages and jQuery DataTables: Simplifying View Creation while Maximizing Func... by Teamstudio
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...
Teamstudio4.1K views
What the App? : A Modernization Strategy for Your Business Applications by John Head
What the App? : A Modernization Strategy for Your Business ApplicationsWhat the App? : A Modernization Strategy for Your Business Applications
What the App? : A Modernization Strategy for Your Business Applications
John Head4.9K views
AD1542 Get Hands On With Bluemix by Martin Donnelly
AD1542 Get Hands On With BluemixAD1542 Get Hands On With Bluemix
AD1542 Get Hands On With Bluemix
Martin Donnelly2.2K views
A Beard, An App, A Blender by edm00se
A Beard, An App, A BlenderA Beard, An App, A Blender
A Beard, An App, A Blender
edm00se2.5K views
Speed geeking-lotusscript by Bill Buchan
Speed geeking-lotusscriptSpeed geeking-lotusscript
Speed geeking-lotusscript
Bill Buchan1K views
AD1279 "Marty, You're Not Thinking Fourth Dimensionally" - Troubleshooting XP... by Paul Withers
AD1279 "Marty, You're Not Thinking Fourth Dimensionally" - Troubleshooting XP...AD1279 "Marty, You're Not Thinking Fourth Dimensionally" - Troubleshooting XP...
AD1279 "Marty, You're Not Thinking Fourth Dimensionally" - Troubleshooting XP...
Paul Withers3.8K views
Connect 2016-Move Your XPages Applications to the Fast Lane by Howard Greenberg
Connect 2016-Move Your XPages Applications to the Fast LaneConnect 2016-Move Your XPages Applications to the Fast Lane
Connect 2016-Move Your XPages Applications to the Fast Lane
Howard Greenberg3.1K views
Using Cool New Frameworks in (Mobile) Domino Apps by Teamstudio
Using Cool New Frameworks in (Mobile) Domino AppsUsing Cool New Frameworks in (Mobile) Domino Apps
Using Cool New Frameworks in (Mobile) Domino Apps
Teamstudio4.6K views

Similar to IBM Connect 2016 - AD1548 - Building Responsive XPages Applications

Azure Nights August2017 by
Azure Nights August2017Azure Nights August2017
Azure Nights August2017Michael Frank
374 views25 slides
Bootstrap by
Bootstrap Bootstrap
Bootstrap PumoTechnovation
72 views25 slides
Mysql 57-upcoming-changes by
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changesMorgan Tocker
2.5K views30 slides
Bootstrap 5 ppt by
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 pptMallikarjuna G D
3.8K views73 slides
Battle of the Front-End Frameworks: Bootstrap vs. Foundation by
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationRachel Cherry
10.4K views55 slides
[edUi] HTML5 Workshop by
[edUi] HTML5 Workshop[edUi] HTML5 Workshop
[edUi] HTML5 WorkshopChristopher Schmitt
2.1K views220 slides

Similar to IBM Connect 2016 - AD1548 - Building Responsive XPages Applications(20)

Mysql 57-upcoming-changes by Morgan Tocker
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changes
Morgan Tocker2.5K views
Battle of the Front-End Frameworks: Bootstrap vs. Foundation by Rachel Cherry
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Rachel Cherry10.4K views
Ease into HTML5 and CSS3 by Brian Moon
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
Brian Moon2.5K views
Performance Optimization and JavaScript Best Practices by Doris Chen
Performance Optimization and JavaScript Best PracticesPerformance Optimization and JavaScript Best Practices
Performance Optimization and JavaScript Best Practices
Doris Chen3.6K views
Bootstrap Web Development Framework by Cindy Royal
Bootstrap Web Development FrameworkBootstrap Web Development Framework
Bootstrap Web Development Framework
Cindy Royal2.1K views
[convergese] Adaptive Images in Responsive Web Design by Christopher Schmitt
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt4.8K views
Measure and Increase Developer Productivity with Help of Serverless at JCON 2... by Vadym Kazulkin
Measure and Increase Developer Productivity with Help of Serverless at JCON 2...Measure and Increase Developer Productivity with Help of Serverless at JCON 2...
Measure and Increase Developer Productivity with Help of Serverless at JCON 2...
Vadym Kazulkin176 views

Recently uploaded

HarshithAkkapelli_Presentation.pdf by
HarshithAkkapelli_Presentation.pdfHarshithAkkapelli_Presentation.pdf
HarshithAkkapelli_Presentation.pdfharshithakkapelli
11 views16 slides
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Donato Onofri
773 views34 slides
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...Marc Müller
38 views62 slides
Software evolution understanding: Automatic extraction of software identifier... by
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...Ra'Fat Al-Msie'deen
7 views33 slides
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... by
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...Deltares
9 views24 slides
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema by
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDeltares
17 views13 slides

Recently uploaded(20)

Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri773 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller38 views
Software evolution understanding: Automatic extraction of software identifier... by Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... by Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 views
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
Deltares17 views
Copilot Prompting Toolkit_All Resources.pdf by Riccardo Zamana
Copilot Prompting Toolkit_All Resources.pdfCopilot Prompting Toolkit_All Resources.pdf
Copilot Prompting Toolkit_All Resources.pdf
Riccardo Zamana8 views
MariaDB stored procedures and why they should be improved by Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
Tridens DevOps by Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 views
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit... by Deltares
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
Deltares13 views
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols by Deltares
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
Deltares7 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy12 views
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... by Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 views
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares8 views
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -... by Deltares
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
Deltares6 views
Software testing company in India.pptx by SakshiPatel82
Software testing company in India.pptxSoftware testing company in India.pptx
Software testing company in India.pptx
SakshiPatel827 views

IBM Connect 2016 - AD1548 - Building Responsive XPages Applications

  • 1. AD1548 - Building Responsive XPages Applications Brian Gleeson, IBM Ireland Padraic Edwards, IBM Ireland 09:15 AM - 10:15 AM, 3rd February, 2016 Orange F
  • 2. Please Note: • IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. • Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. • The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. • The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. • Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
  • 3. Agenda • Introductions • Bootstrap 3 • Bootstrap 4 • Demos • Tips & Tricks • Wrap Up
  • 4. Speakers Brian Gleeson Software Engineer, IBM XPages @BGleesonIE Padraic Edwards Senior Software Engineer, IBM XPages @paidi_ed
  • 7. Bootstrap 3 Release History Jun 2014 Oct Jan 2015 Mar Jun Aug Nov Q1 2016 3.2 3.3.0 3.3.2 3.3.4 3.3.5 3.3.6 v10 v12 v13 v14v11 v15 Bootstrap Release 9.0.1 ExtLib Release v7 v9v8 3.2 ExtLib 9.0.1 v16 3.3.6 3.3.1
  • 8. Bootstrap 3 Release History 3.2 3.3.0 [370] 3.3.1 [60] 3.3.2 [150] 3.3.4 [140] 3.3.5 [160] 3.3.6 [100] 3.2 3.3.6 Around 1000 issues & pull requests closed
  • 9. Bootstrap 3 Upgrade • 100s of CSS/Javascript bugs fixed & enhancements • Carousel performance improved (v3.3.0) • Accessibility enhancements  CSS/JS fixes  Documentation examples • Glyphicons v1.9 update (v3.3.2)  50+ icons added • Normalize.css v3.0.3 update  Provides consistency across browsers
  • 10. Extlib 9.0.1 v16 + Bootstrap 3.3.6 WARNING!
  • 11. Bootstrap 3 Upgrade • Only one version of Bootstrap 3  ExtLib v16 = Bootstrap 3.3.6 • Potential breaking changes  Bootstrap3.2.0.theme, Bootstrap3.2.0_flat.theme  Bootstrap3.theme, Bootstrap3_flat.theme  Resources restructured
  • 12. Bootstrap 3 Upgrade - Themes • Old themes will map to latest Bootstrap3 theme • Update application theme in XSP properties • Update Bootstrap theme extensions <theme extends="Bootstrap3.2.0_flat" … <theme extends="Bootstrap3_flat" …
  • 13. Bootstrap 3 Upgrade – Resource references
  • 14. Bootstrap 3 – More Info • Documentation: http://getbootstrap.com/getting-started/ • Supported browsers: http://getbootstrap.com/getting-started/#support • Wall of browser bugs: http://getbootstrap.com/browser-bugs/ • Purchasable themes: http://themes.getbootstrap.com/ • Stack Overflow: http://stackoverflow.com/questions/tagged/twitter-bootstrap • Slack Channel: http://bootstrap-slack.herokuapp.com/ • Bootstrap github repo: https://github.com/twbs/bootstrap • Bootstrap Blog: http://blog.getbootstrap.com/
  • 16. Bootstrap 4 αlpha • Pre-release of Bootstrap V4.0.0  2 αlpha releases so far • Added to ExtlibX - http://tinyurl.com/extlibx  Default Bootstrap 4 αlpha.2 build  New renderers, theme and plugin  CSS fixes for XPages controls • Major version number = major overhaul  Potential breaking changes
  • 18. Bootstrap 4 αlpha 3.2 3.3.0 3.3.2 3.3.4 3.3.5 3.3.6 v10 v12 v13 v14v11 v15 Bootstrap 3 Release 9.0.1 ExtLib Release v7 v9v8 3.2 3.3.1 ExtLib 9.0.1 v16 3.3.6 Jun 2014 Oct Jan 2015 Mar Jun Aug Nov Q1 2016 Bootstrap 4α Release ExtLibX Release v15 4.α.2 4.α.1 4.α.2 v16 4.α.2
  • 19. Bootstrap 4 Team Quotes “A few alpha releases while things are still in flux.” “2 beta releases after features and functionality are locked down to really test things out.” “2 release candidates (RCs) to really test things out closer to production environments.” “Then, the final release!” “For the foreseeable future, we’ll be maintaining Bootstrap 3 with critical bug fixes and documentation improvements.”
  • 20. Bootstrap 4 αlpha What’s new? A LOT! 2000+ commits 25,000+ lines changed
  • 21. Bootstrap 4 αlpha - Navbars • Simplified set of CSS classes • Fluid by default • Easily customize background/text colour .bg-inverse .navbar-dark .bg-faded .navbar-light style=“background:red;” .bg-primary .navbar-dark • Forms & collapse functionality cleaned up
  • 23. Bootstrap 4 αlpha – Device Sizes • Additional device size breakpoint Bootstrap 3 Bootstrap 4 • xs: 0 – 543px • sm: 544 – 767px • md: 768 – 991px • lg: 992 – 1199px • xl: 1200+ pixels • xs: 0 – 767px • sm: 768 – 991px • md: 992 – 1199px • lg: 1200+ pixels
  • 24. Bootstrap 4 αlpha - Cards • New component = Cards  Replaces panels, thumbnails & wells • “A card is a flexible and extensible content container.” • Customisable headers, footers, backgrounds & display options • Use card groups, card decks and card columns to arrange content
  • 26. Bootstrap 4 αlpha – Fonts & Icons • Responsive Fonts  Default font-size:  All other font-size CSS uses REM (Root EM), e.g. font-size: 1.5rem; // = 24px by default  Change font sizes per device, e.g. @media (min-width: 544px) {html { font-size: 14px; }} //sm @media (min-width: 768px) {html { font-size: 12px; }} //md @media (min-width: 992px) {html { font-size: 11px; }} //lg @media (min-width: 1200px) {html { font-size: 10px; }} //xl html { font-size: 16px; }
  • 28. Bootstrap 4 αlpha – Fonts & Icons • Glyphicon Fonts removed! • Problematic for ExtLib  Halflings are not open source  Used extensively in XPages Bootstrap theme • Bootstrap 3 to the rescue
  • 29. Bootstrap 4 αlpha - Pagers • New pagination CSS classes Bootstrap 3 • Added simple pager <div> <ul class="pagination"> <li class="page-item active"><a class="page-link" href="#">1</a></li> <li class="page-item"><a class="page-link" href="#">2</a></li> </ul> </div> <div> <ul class="pagination"> <li class=“active"> <a href="#">1</a></li> <li><a href="#">2</a></li> </ul> </div> <div> <ul class="pager"> <li><a href="#">Previous</a></li> <li><a href="#">Next</a></li> </ul> </div> Bootstrap 4
  • 30. • .btn-outline, .btn-secondary added • pull-left, pull-right replaced by pull-*-right & pull-*-left pull-xs-right, pull-sm-left, pull-md-right etc. • hidden utility classes replaced hidden-sm-down, hidden-md-up, hidden-lg-down • margin & padding utility classes added {margin or padding}-{sides}-{size} m-t-0, m-b-1, m-l-2, m-r-3, m-x-4, m-y-auto p-t-auto, p-b-4, p-l-3, p-r-2, p-x-1, p-y-0 Bootstrap 4 αlpha – Other changes
  • 31. Bootstrap 4 αlpha – Other changes • Table additions  table-inverse  table-head-inverse  table-sm  table-reflow • img-responsive replaced by img-fluid • Custom forms option available  Based on WTF Forms  http://wtfforms.com/ • 30% smaller footprint
  • 33. Bootstrap 4 αlpha – ExtlibX • New Bootstrap4 plugin com.ibm.xsp.extlibx.theme.bootstrap4_ 9.0.1.v00_16_20160119-2239.jar • New Bootstrap4.theme
  • 34. Bootstrap 4 αlpha – ExtlibX • How to get it?  Download from http://tinyurl.com/extlibx  Install update site  Or install with new ExtLib release • How to contribute  Fork repository - https://github.com/OpenNTF/XPagesExtLibX  Write code  Testing  Submit pull request
  • 35. Bootstrap 4 αlpha – Implemented so far • New Bootstrap plugin  Plugin infrastructure + Bootstrap4.theme  Bootstrap 4 αlpha.2 resources  XPages specific CSS & JS resources  Navbar Renderer  2x Application Layout Renderers  Pager Renderer  Dashboard Renderer  Navigator Renderer  Data View Renderer • What’s missing? https://github.com/OpenNTF/XPagesExtLibX/issues
  • 36. Tips,Tricks & Best Practices
  • 37. Tips, Tricks & Best Practices • Bootstrap Grid system  Containers > Rows > Columns  Container class: container-fluid or container  12 columns per row col-xs-12, col-sm-6, col-md-4, col-lg-3, col-xl-2  Nested rows supported  Offsets supported: col-md-offset-2, col-lg-offset-4 etc.
  • 38. DEMO – Grid System
  • 39. Tips, Tricks & Best Practices • Media Queries @media screen and (min-width : 992px) { body{ background-color: blue;}} @media screen and (min-width : 1200px){ body{ background-color: red;}} @media screen and (max-width : 991px) { body{ background-color: green;}} • xs: 0 – 543px • sm: 544 – 767px • md: 768 – 991px • lg: 992 – 1199px • xl: 1200+ pixels • xs: 0 – 767px • sm: 768 – 991px • md: 992 – 1199px • lg: 1200+ pixels Bootstrap 3 Bootstrap 4
  • 40. DEMO – Media Queries
  • 41. Tips, Tricks & Best Practices • Bootlint  Examines rendered HTML  Flags common Bootstrap usage mistakes  Only supports Bootstrap 3 (for now) • How to use?  Pass URL to http://www.bootlint.com/  Include bootlint in page/app using CDN https://github.com/twbs/bootlint#in-the-browser  Use Node.js to run on command line https://github.com/twbs/bootlint#on-the-command-line
  • 43. Tips, Tricks & Best Practices • Browser dev tools  Firefox – Firebug + User Agent Switcher  Chrome – Built-in Tooling  Safari – Built-in Web Inspector & Responsive Design Mode  Online emulators & emulator tools
  • 44. Tips, Tricks & Best Practices • Custom Bootstrap build  http://getbootstrap.com/customize/  Customise content  Customise settings/properties  Click “compile and download” • Git repo custom build  Fork Bootstrap  Change content/settings/variables  Setup build tools  Build using node & grunt
  • 45. Summary • Bootstrap 3 Upgrade  Restructuring/refactoring work • Bootstrap 4 αlpha  Changes & new features • ExtLibX incubator for BS4 support in XPages  Github repository  Implemented support so far  How to contribute
  • 46. Other Resources • XPages Goes Responsive Videos  Part 1: https://www.youtube.com/watch?v=XdWYmPLmIrk  Part 2: https://www.youtube.com/watch?v=P24PsLXO5_o • Check ExtLib readme docs, v10 – v15  http://extlib.openntf.org • ExtLibX Github Repository:  https://github.com/OpenNTF/XPagesExtLibX
  • 47. Your Feedback Is Important! Fill out session surveys at: https://www.connectsurveys.com or through IBM Event Connect.
  • 49. Notices and Disclaimers Copyright © 2015 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM. Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided. Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice. Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary. References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business. Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation. It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law
  • 50. Notices and Disclaimers cont. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right. •IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.
  • 52. Bootstrap 3 – New themes • Purchase themes  http://themes.getbootstrap.com/  Added components  Examples included  Source & build tools included  Customisable variables  Documentation  Free updates  Multiple use license
  • 54. Bootstrap 4 αlpha - Infrastructure • Normalize 3.0.3 update  Reboot.css adds Bootstrap resets • All Javascript re-written in ECMAScript6 • SASS replaces LESS • 30% smaller footprint
  • 55. • Internet Explorer 8 support dropped • iOS6 support dropped Chrome Firefox IE MS Edge Opera Safari Mac Supported Supported N/A N/A Supported Supported Windows Supported Supported 9+ Supported Supported Supported Not supported Chrome Firefox Opera Safari Android Browser & WebView Android Supported Supported Not supported N/A Android v5.0+ supported iOS Supported N/A Not supported Supported N/A Mobile devices Generally Bootstrap supports the latest versions of each major platform’s default browsers. Desktop browsers Similarly, the latest versions of most desktop browsers are supported. Bootstrap 4 αlpha – Browser Support