The document discusses responsive layout frameworks for XPages applications. It covers what responsive layouts are, popular frameworks like Twitter Bootstrap, tips for getting started like using Bootstrap styles and grids, and the pros and cons of responsive layouts versus progressive enhancement. Responsive layouts make a single design adapt to different screen sizes but may be slower, while progressive enhancement combines graceful degradation and client-specific functionality.
1 of 20
More Related Content
Responsive Layout Frameworks for XPages Application UI
1. Responsive Layout Frameworks for
XPages Application UI
Chris Toohey
December 12, 2012
Chris Toohey | www.dominoGuru.com
2. What we’ll cover…
• What is a Responsive Layout?
• Industry-standard Responsive Layout Frameworks.
• Tips for Getting Started!
• Pros and Cons of Responsive Layouts
– Responsive Layout vs. Progressive Enhancement
Chris Toohey | www.dominoGuru.com
3. What is a Responsive Layout?
• Refers to “Responsive web design”, or RWD.
• Single design that “responds” to available screen size
and/or client type.
– Standard Web Browsers
– Mobile Device Browsers
– Tablet Browsers
– “Other” Browsers
Chris Toohey | www.dominoGuru.com
4. What is a Responsive Layout?
• “Fluid Grid System” [Often 12 “Grid” Layout]
Chris Toohey | www.dominoGuru.com
7. Tips for Getting Started!
• Resource Placement
• Code Libraries (Client Side JavaScript)
• Image Resources
• Stylesheet Resources
– Pay attention to the directory structure of resources!
• Use “alias” for pseudo-directory positioning.
Chris Toohey | www.dominoGuru.com
8. Tips for Getting Started!
• Add bootstrap.css & bootstrap-responsive.css
to XPage Resources
– Gives you selectable styleClasses!
• “Grid” means spanN
– Use “spans” & “offsets”
for positioning elements.
Chris Toohey | www.dominoGuru.com
11. Pros and Cons of Responsive Layouts
• “Let them eat cake!”
– Most RWD frameworks deliver all markup, and let
the client render the UI.
• Mobile Access can
mean less bandwidth
• [Potentially] slower
• Less control over UI/UX!
Chris Toohey | www.dominoGuru.com
12. Pros and Cons of Responsive Layouts
• What is Progressive Enhancement?
Combination of Graceful Degredation and
leveraging client type specific functionlity.
Chris Toohey | www.dominoGuru.com
13. Pros and Cons of Responsive Layouts
• What is Progressive Enhancement?
Combination of Graceful Degredation and
leveraging client type specific functionlity.
Chris Toohey | www.dominoGuru.com
14. Pros and Cons of Responsive Layouts
• What is Progressive Enhancement?
Combination of Graceful Degredation and
leveraging client type specific functionlity.
Chris Toohey | www.dominoGuru.com
15. Pros and Cons of Responsive Layouts
• Ask yourself two important questions:
– Who will use my application?
– How will they use my application?
• Content Delivery vs. Interactive Applications
– Most RWD success stories are from publications…
Chris Toohey | www.dominoGuru.com
16. Pros and Cons of Responsive Layouts
Chris Toohey | www.dominoGuru.com
17. Pros and Cons of Responsive Layouts
Chris Toohey | www.dominoGuru.com
18. Pros and Cons of Responsive Layouts
Be Warned!
If we used the standard RWD
“refactor” tactics, you‘d be asking
for the 2nd Personal Email Address
11 lines before the New Contact’s
Phone Number…
Chris Toohey | www.dominoGuru.com
19. Pros and Cons of Responsive Layouts
Be Warned!
If we used the standard RWD
“refactor” tactics, you‘d be asking
for the 2nd Personal Email Address
11 lines before the New Contact’s
Phone Number…
Chris Toohey | www.dominoGuru.com
20. Takeaways…
• Twitter Bootstrap
– http://twitter.github.com/bootstrap/
• Combine RWD with Progressive Enhancement
– Better User Experiences with XPages applications
– Leveraging the features of while accounting for
potential limitations of the user client / device.
Chris Toohey | www.dominoGuru.com