mobile first development by shayne bartlett

Post on 03-Jul-2015

144 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Presented at JoomlaDay Sydney 2013, Joomla co-founder Shayne Bartlett explains why we should change our mindset and develop for mobile devices first rather than as an afterthought.

TRANSCRIPT

Why

Over 1.2 Billion mobile users.Mobile will overtake fixed Internet access by 2014.It’s actually easier to do!

Why

Luke Wroblewski

•Prepares you for the explosive growth and new opportunities emerging on mobile today,

•Forces you to focus and prioritize your products by embracing the constraints inherent in mobile design, and

•Allows you to deliver innovative experiences by building on new capabilities native to mobile devices and modes of use.

Paradigms

Progressive Enhancement Vs Graceful Degradation

Responsive Vs Adaptive

Mobile First Vs Desktop First

Traditional

Mobile First

The 1st Problem

The 2nd Problem

How to get started

•It always starts with the content!•Design to mobile•Progressively enhance•Develop to mobile•Progressively enhance

Gotcha’s

display: none

<td> or <li>

<img />

<object>

@media@media

Bootstrap 3

“With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, Bootstrap is mobile first. Mobile first styles can be found throughout the entire library instead of in separate files.”

Bootstrap 3

col-xs- Really small devicescol-sm- Small devicescol-md- Medium devicescol-lg- Large devices

Bootstrap 3

%’s

Bootstrap 3

col-sm-12 (100%)

col-sm-12 (100%)

<div class=”col-sm-12 col-lg-6”></div>

col-lg-6 (50%) col-lg-6 (50%)

In Conclusion

We are heading to a mobile world... in fact we may already be there

Mobile fist will make your life easier

Projects will be mobile ready in less time.

Questions

Icons: Danilo Demarco - http://www.danilodemarco.com/

https://www.youtube.com/watch?feature=player_embedded&v=Z1IqzeA3XXg

top related