SlideShare a Scribd company logo
On the Design of a Responsive User
Interface for a Multi-Device Web Service
Jari-Pekka Voutilainen, @Zharktas
Agenda
● Background
● Opendata.fi
● Extending the Platform
● Implementing Responsive User Interfaces
● Tools for Responsive UIs
Background
● Average consumer has at least 2 primary
computing devices: Personal computer and
a smartphone.
● Mobile UIs are often still implemented as
native apps or separate web interfaces with
different features than the full browser app.
Background
● Modern web app should have mobile UIs
built in, without settling for lesser experience.
● Google just changed their search results to
favor websites with mobile UIs.
Opendata.fi
● National catalogue for Finnish open data.
● Based on two Open Source projects:
○ Drupal for CMS
○ CKAN for the data catalogue
● Services are installed side-by-side behind
Nginx with minimal integrations between
them.
Extending the platform
● CKAN is designed to be customizable.
● Provides plugin architecture which allows
customization of styles and templates and
even add new features.
Extending the platform
● The plugin architecture provides means to
replace templates through inheritance.
● Template engine is Jinja where templates
are divided into blocks.
● Blocks can be replaced and the parent block
can still be used through calling super()
Implementing Responsive UIs
● CKAN uses Bootstrap but did not have
mobile UIs implemented.
● Easiest way would have been to rewrite the
templates from the ground up while
modifying them to our other needs.
Default Ckan
Ckan mobile UI
Implementing Responsive UIs
● We wanted to retain as much as possible of
the original templates so that in eventual
platform upgrades, we get the new features
to templates with minimal effort.
Implementing Responsive UIs
● Through template inheritance, we could add
HTML elements around original blocks.
○ Add some divs with appropriate Bootstrap classes
=> responsive UI
○ Bootstrap’s responsive helpers allow repositioning
the elements in different screen sizes.
○ Navigation elements were rewritten so that the main
content gets most of the small screen space.
Opendata.fi UI
Opendata.fi mobile UI
Implementing Responsive UIs
● This solution does not work in all cases.
○ Simple template changes and CSS styling allows
many modifications in layouts.
○ CSS is not designed to order elements vertically, we
had to copy-paste these templates and reorder the
elements by hand.
● This should work in other applications as
well which use inheritance based template
engines
○ Jade, Swig, Django templates, Nunjucks etc.
Tools for Responsive UIs
● UI libraries
○ Bootstrap / Zurb Foundation
● Pre-processed CSS
○ Less / Sass
○ Variables, inheritance etc.
● Build Systems
○ gulp / Grunt
○ Single CSS / JS file for browser among other things.
Questions
?

More Related Content

PDF
KDE Plasma Mobile workspaces at Cybercom Developer Day 2010 by Marco Martin 7...
PDF
Nubu paper review
PPTX
Headless drupal with JS Framework
PDF
Using React.js to extend your CMS
PPTX
Advantages of using drupal 8
ODP
Pokemon GO Technology Stack
PDF
Technology Lab June 2020 - What is the future of enterprise communications? -...
PDF
Gpu computing-webgl
KDE Plasma Mobile workspaces at Cybercom Developer Day 2010 by Marco Martin 7...
Nubu paper review
Headless drupal with JS Framework
Using React.js to extend your CMS
Advantages of using drupal 8
Pokemon GO Technology Stack
Technology Lab June 2020 - What is the future of enterprise communications? -...
Gpu computing-webgl

Viewers also liked (16)

PPTX
PEOPLE COME INTO YOUR LIFE FOR A REASON, A SEASON OR A LIFETIME
PDF
PDF
reccomendation_letter_Alberto
PDF
KB recommendation letter (2005)
PDF
ICMLG 2016 Paper Agile Entrepreneurship
DOCX
Cuadro de los comportamientos digitales
PDF
IT Ops Teams: 15 Trends That You Need To Embrace Right Now
PDF
Survey of international economists shows uncertainty surrounding elections da...
PDF
Training Cepsa
DOCX
MAKE PAKISTAN STRONG
PPTX
Social Media Ethics Chapter 10
PDF
Kunden binden, Umsatz steigern und Image verbessern durch Inbound Marketing
PPT
EBJ-11 | Christmas Trees
PPT
Merry Christmas | Letter to Santa
PPT
EBJ-10 | Christmas Trees
PEOPLE COME INTO YOUR LIFE FOR A REASON, A SEASON OR A LIFETIME
reccomendation_letter_Alberto
KB recommendation letter (2005)
ICMLG 2016 Paper Agile Entrepreneurship
Cuadro de los comportamientos digitales
IT Ops Teams: 15 Trends That You Need To Embrace Right Now
Survey of international economists shows uncertainty surrounding elections da...
Training Cepsa
MAKE PAKISTAN STRONG
Social Media Ethics Chapter 10
Kunden binden, Umsatz steigern und Image verbessern durch Inbound Marketing
EBJ-11 | Christmas Trees
Merry Christmas | Letter to Santa
EBJ-10 | Christmas Trees
Ad

Similar to Mobilesoft presentation (20)

PPTX
Responsive Web Design
PDF
Responsive & Adaprove Design
PDF
Devon 2011-f-1 반응형 웹 디자인
PPTX
Responsive Web Design at UCR
PDF
BBDO Whitepaper—Responsive & Adaptive Design
PDF
Responsive websites. Toolbox
PPT
Responsive Web Design in Cascade Server, by Chris Cox of BarkleyREI
PDF
Responsive & Adaptive Design: Delivering Websites That Delight Your Users
PDF
Responsive Web Design - Why and How
PPTX
Introduction to Twitter Bootstrap
PDF
Responsive Web Design Framework Future of React Native.
PDF
Responsive Web Design and touch devices
PDF
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
PPTX
New Ideas for Designing Mobile Web Applications
PPT
BarkleyREI & Hannon Hill Webinar - Responsive Web Design
PDF
Responsive Web Design Framework for Modern Websites.pdf
PDF
Guidelines for Responsive UX Design 11/16/19
PPT
Adaptive Web Design, does size really matter?
DOCX
Responsive Web Design vs Mobile Web App
Responsive Web Design
Responsive & Adaprove Design
Devon 2011-f-1 반응형 웹 디자인
Responsive Web Design at UCR
BBDO Whitepaper—Responsive & Adaptive Design
Responsive websites. Toolbox
Responsive Web Design in Cascade Server, by Chris Cox of BarkleyREI
Responsive & Adaptive Design: Delivering Websites That Delight Your Users
Responsive Web Design - Why and How
Introduction to Twitter Bootstrap
Responsive Web Design Framework Future of React Native.
Responsive Web Design and touch devices
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
New Ideas for Designing Mobile Web Applications
BarkleyREI & Hannon Hill Webinar - Responsive Web Design
Responsive Web Design Framework for Modern Websites.pdf
Guidelines for Responsive UX Design 11/16/19
Adaptive Web Design, does size really matter?
Responsive Web Design vs Mobile Web App
Ad

Recently uploaded (20)

PPTX
additive manufacturing of ss316l using mig welding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
Artificial Intelligence
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
737-MAX_SRG.pdf student reference guides
PPT
Project quality management in manufacturing
PPTX
Construction Project Organization Group 2.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Well-logging-methods_new................
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPT
Total quality management ppt for engineering students
PPTX
Current and future trends in Computer Vision.pptx
additive manufacturing of ss316l using mig welding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Fundamentals of safety and accident prevention -final (1).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Categorization of Factors Affecting Classification Algorithms Selection
Artificial Intelligence
Internet of Things (IOT) - A guide to understanding
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Mechanical Engineering MATERIALS Selection
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
737-MAX_SRG.pdf student reference guides
Project quality management in manufacturing
Construction Project Organization Group 2.pptx
III.4.1.2_The_Space_Environment.p pdffdf
Well-logging-methods_new................
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Total quality management ppt for engineering students
Current and future trends in Computer Vision.pptx

Mobilesoft presentation

  • 1. On the Design of a Responsive User Interface for a Multi-Device Web Service Jari-Pekka Voutilainen, @Zharktas
  • 2. Agenda ● Background ● Opendata.fi ● Extending the Platform ● Implementing Responsive User Interfaces ● Tools for Responsive UIs
  • 3. Background ● Average consumer has at least 2 primary computing devices: Personal computer and a smartphone. ● Mobile UIs are often still implemented as native apps or separate web interfaces with different features than the full browser app.
  • 4. Background ● Modern web app should have mobile UIs built in, without settling for lesser experience. ● Google just changed their search results to favor websites with mobile UIs.
  • 5. Opendata.fi ● National catalogue for Finnish open data. ● Based on two Open Source projects: ○ Drupal for CMS ○ CKAN for the data catalogue ● Services are installed side-by-side behind Nginx with minimal integrations between them.
  • 6. Extending the platform ● CKAN is designed to be customizable. ● Provides plugin architecture which allows customization of styles and templates and even add new features.
  • 7. Extending the platform ● The plugin architecture provides means to replace templates through inheritance. ● Template engine is Jinja where templates are divided into blocks. ● Blocks can be replaced and the parent block can still be used through calling super()
  • 8. Implementing Responsive UIs ● CKAN uses Bootstrap but did not have mobile UIs implemented. ● Easiest way would have been to rewrite the templates from the ground up while modifying them to our other needs.
  • 11. Implementing Responsive UIs ● We wanted to retain as much as possible of the original templates so that in eventual platform upgrades, we get the new features to templates with minimal effort.
  • 12. Implementing Responsive UIs ● Through template inheritance, we could add HTML elements around original blocks. ○ Add some divs with appropriate Bootstrap classes => responsive UI ○ Bootstrap’s responsive helpers allow repositioning the elements in different screen sizes. ○ Navigation elements were rewritten so that the main content gets most of the small screen space.
  • 15. Implementing Responsive UIs ● This solution does not work in all cases. ○ Simple template changes and CSS styling allows many modifications in layouts. ○ CSS is not designed to order elements vertically, we had to copy-paste these templates and reorder the elements by hand. ● This should work in other applications as well which use inheritance based template engines ○ Jade, Swig, Django templates, Nunjucks etc.
  • 16. Tools for Responsive UIs ● UI libraries ○ Bootstrap / Zurb Foundation ● Pre-processed CSS ○ Less / Sass ○ Variables, inheritance etc. ● Build Systems ○ gulp / Grunt ○ Single CSS / JS file for browser among other things.