36
Introduce Bootstrap 3 to develop RESPONSIVE design application Copyright 2014 eXo Platform

Introduce Bootstrap 3 to Develop Responsive Design Application

Embed Size (px)

DESCRIPTION

www.exoplatform.com - The second session of "eXoers on the grill" presentation in Vietnam. After a very good start last month about the Git Rebase Functionality presented by Trong from the Portal team the subject of this session was the Responsive Design. This presentation was prepared and presented by all members of UI Team: Giang, Hoa, Trung and Thibault. eXoers on the Grill aims to provide some incentive & fresh air for our staff in order to constantly re-think our methods, spread good practices, promote some technology or tools, generate ideas, etc... All the teams are invited to contribute by picking up some hot topics of their choice and spread to other teams.

Citation preview

Page 1: Introduce Bootstrap 3 to Develop Responsive Design Application

Introduce Bootstrap 3 to develop

RESPONSIVEdesign application

Copyright 2014 eXo Platform

Page 2: Introduce Bootstrap 3 to Develop Responsive Design Application

Copyright 2014 eXo Platform

A presentation

by eXo UI Team

Page 3: Introduce Bootstrap 3 to Develop Responsive Design Application

When UI was not a concern

Copyright 2014 eXo Platform

Page 4: Introduce Bootstrap 3 to Develop Responsive Design Application

Many UI innovation since

Copyright 2014 eXo Platform

Page 5: Introduce Bootstrap 3 to Develop Responsive Design Application

And some company success to create wonderful design for web application

Copyright 2014 eXo Platform

Page 6: Introduce Bootstrap 3 to Develop Responsive Design Application

A uniqueWonderful desktop screen is not enough

Copyright 2014 eXo Platform

TODA

Y

Page 7: Introduce Bootstrap 3 to Develop Responsive Design Application

Be ready for future screen

Copyright 2014 eXo Platform

Page 8: Introduce Bootstrap 3 to Develop Responsive Design Application

Build specific site for each devices

Copyright 2014 eXo Platform

Part of the UI team in eXo today

Part of the UI team in eXo if we decide to build specific site for each device

Build a specific site for desktop, mobile, tablet… was definitively not the good solution

The first (wrong) idea

Page 9: Introduce Bootstrap 3 to Develop Responsive Design Application

Copyright 2014 eXo Platform

The Dark Lord Sauron Ethan Marcotte forged in secret 2010 a Master Ring Design to control all others.

One Ring Design to rule them all:

THERESPONSIVE DESIGN

The good idea

Page 10: Introduce Bootstrap 3 to Develop Responsive Design Application

Time for specialist

Copyright 2014 eXo Platform

Enjoy...Keep question on your book note, we will answer at the end

1. Responsive Design2. Bootstrap 33. Responsive Web Application 4. Demo5. Responsive eXo Platform

Page 11: Introduce Bootstrap 3 to Develop Responsive Design Application

What is exactly a

RESPONSIVE DESIGNWeb application ?

Copyright 2014 eXo Platform

Page 12: Introduce Bootstrap 3 to Develop Responsive Design Application

What is Responsive Design ?

A unique site that can adapt to any screen size, today or in the future.

Copyright 2014 eXo Platform

Page 13: Introduce Bootstrap 3 to Develop Responsive Design Application

Responsive vs Adaptive

Copyright 2014 eXo Platform

Continuously resizes when change the width of your screen, no extra empty space on the sides

Responsive

Page 14: Introduce Bootstrap 3 to Develop Responsive Design Application

Relative units vs Static units

Copyright 2014 eXo Platform

Use relative units, like percent can adapt to any screen, instead of static units like pixels.

Relative units Static units

Page 15: Introduce Bootstrap 3 to Develop Responsive Design Application

Flow vs Static

Copyright 2014 eXo Platform

The data content flowing smoothly when screen size change. It’s what we name flow in Responsive Design.

Flow Static

Page 16: Introduce Bootstrap 3 to Develop Responsive Design Application

With Breakpoints vs Without Breakpoints

Copyright 2014 eXo Platform

Predict breakpoints when screen size change allow to adapt your content to the screen size

With Breakpoints Without Breakpoints

Page 17: Introduce Bootstrap 3 to Develop Responsive Design Application

Vectors vs Images

Copyright 2014 eXo Platform

A vector image adapts with Retina resolutions. Quality is the same whatever is the resolution of your screen

Vector Image

Page 18: Introduce Bootstrap 3 to Develop Responsive Design Application

Mobile First

Copyright 2014 eXo Platform

● Start by developing the CSS for the mobile device first, then have media queries for adapt to tablets, desktops

● Determine what is most important content

Page 19: Introduce Bootstrap 3 to Develop Responsive Design Application

Why’s Mobile First ?

Copyright 2014 eXo Platform

● Mobile website will prepare more thoroughly than was originally invested.

● At any size, it's always a good design

● Avoid overwrite code

Page 20: Introduce Bootstrap 3 to Develop Responsive Design Application

A free responsive framework

BOOTSTRAP 3originally by Twitter

Copyright 2014 eXo Platform

Page 21: Introduce Bootstrap 3 to Develop Responsive Design Application

The Bootstrap history

Copyright 2014 eXo Platform

Mid 2010

August 2011

February 2012

January 2012

August 2013

Bootstrap was created at Twitter

Twitter released Bootstrap as open source

project

Become the most starred GitHub development

project

Introduce the first major

release, Bootstrap 2

Shipping Bootstrap 3.0

Page 22: Introduce Bootstrap 3 to Develop Responsive Design Application

Main features of Bootstrap

Copyright 2014 eXo Platform

Preprocessors One framework, every devices

Full of features

Page 23: Introduce Bootstrap 3 to Develop Responsive Design Application

New components

What’s new in Bootstrap 3 SA

SS

su

pp

ort

New

Gly

phic

ons

icon

fon

t

Copyright 2014 eXo Platform

New powerful

Grid systemN

ew

Fla

t

de

sig

nMobile first

Approach

jav

as

crip

t are

re

writ

ten

Page 24: Introduce Bootstrap 3 to Develop Responsive Design Application

● Create a web application very fast

● It’s natively responsive framework

● It’s fully and easily customisable

Advantage

Copyright 2014 eXo Platform

Page 25: Introduce Bootstrap 3 to Develop Responsive Design Application

Disadvantage

Hey! My new website looks just like everyone else’s!

Copyright 2014 eXo Platform

Page 26: Introduce Bootstrap 3 to Develop Responsive Design Application

Disadvantage

No backward compatibility between versions

Copyright 2014 eXo Platform

Page 27: Introduce Bootstrap 3 to Develop Responsive Design Application

Competitors

Copyright 2014 eXo Platform

Page 28: Introduce Bootstrap 3 to Develop Responsive Design Application

Create a responsive

WEB APPLICATIONusing Bootstrap 3

Copyright 2014 eXo Platform

Page 29: Introduce Bootstrap 3 to Develop Responsive Design Application

Responsive with bootstrap 3

Copyright 2014 eXo Platform

● css3 media queries

● Grid system

● Responsive utilities

● Responsive embed and flexible image

Page 30: Introduce Bootstrap 3 to Develop Responsive Design Application

What is @media ?

Copyright 2014 eXo Platform

@media rule allows website to have a different layout for screen, mobile phone, tablet, etc.

Page 31: Introduce Bootstrap 3 to Develop Responsive Design Application

Grid System

Copyright 2014 eXo Platform

Page 32: Introduce Bootstrap 3 to Develop Responsive Design Application

Responsive Utilities

Copyright 2014 eXo Platform

Page 33: Introduce Bootstrap 3 to Develop Responsive Design Application

How to make

EXO PLATFORMresponsive with bootstrap 3?

Copyright 2014 eXo Platform

Page 34: Introduce Bootstrap 3 to Develop Responsive Design Application

Exo product responsive with bootstrap 3

Copyright 2014 eXo Platform

● Add the viewport <meta> tag to <head> tag

● Change the grid system

● Stop embedding Bootstrap classes in template

Page 35: Introduce Bootstrap 3 to Develop Responsive Design Application

Exo product responsive with bootstrap 3

Copyright 2014 eXo Platform

● Make sure eXo UI Component is responsive

● Update javascript system

Page 36: Introduce Bootstrap 3 to Develop Responsive Design Application

It’s time for

THANK YOUsee you soon ...

Copyright 2014 eXo Platform