6. Getting back to Mobileâs stuff
1. Thinking like Mobile Device
2. Adaptive vs Responsive design
3. Technics
4. Extra modules and approaches
7.
8.
9.
10.
11.
12.
13. Responsive design
Ethan Marcote, who coined the term in his book Responsive
The term responsive design can be credited to
Web Design to describe using âfluid grids, fluid images/media &
media queries.â This basically speaks to the layoutâs ability to respond to the userâs technology (browser or device) to best
meet the userâs needs.
Although Marcote is credited with the term, heâs really only describing the most modern incarnation of this Web design strategy. The idea of
tailoring a Website based on the userâs technology has been around for quite a while, as developers have always been programming to
accommodate different experiences (like our old friend Internet Explorer). After Marcoteâs book was published, his publisher later clarified
their stance on responsive design to mean any technique used to achieve this end, not just fluid grids and media queries. For example, if we
jQuery or other javascripts to adjust the layout along with CSS media queries, thatâs also
use
part of a responsive strategy.
by Eric Dyken on June 14, 2012
14. Adaptive design
Aaron Gustafson Adaptive Web Design
is the author of the book . According to
is about creating interfaces that adapt to the
Gustafson, adaptive Web design â
userâs capabilities (in terms of both form and function). â He also states
that âadaptive web design is just another term for âprogressive enhancementâ of which responsive web design can (and often should) be an integral part, but
is a more holistic approach to web design in that it also takes into account varying levels of markup, CSS, JavaScript
and assistive technology support .â By these descriptions we can come to the conclusion that adaptive
Websites are those that adapt their design, structure, and content to best meet the needs of their user, with responsive design being a subset of adaptive.
by Eric Dyken on June 14, 2012
16. Halfway
1. Whatâs the main purpose of my site?
2. What does my client wants to see?
3. Is it enough for me to use simple
responsive technics or do I need
adaptive design?
4. Which device client could use?
5. Do I care about?
17.
18. What we can do about?
1. Use sub-domain, sub-folder, different domain
2. Create two different themes
3. Use responsive design
4. Create adaptive website
21. Case: meta tag viewport
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1">
1. General explanation:
http://www.quirksmode.org/mobile/viewports2.html
2. Dynamic changes of viewport:
http://www.quirksmode.org/blog/archives/2011/06/dynamically_cha.html
26. Case: fluid layout
1. Best fluid layout
http://css-tricks.com/the-perfect-fluid-width-layout/
27. Case: grids
Grids are an invisible foundation that
structure the websites we develop and
design. This invisible foundation makes it
possible for rapid development, concise
code, and a much more organized layout.
1. Explanation:
http://dev.w3.org/csswg/css3-grid-layout/
2. Grid systems:
http://spyrestudios.com/css-grid-systems/
28. Case: Drupal themes
ZEN - is a powerful, yet simple, HTML5 starting themewith a
responsive, mobile-first grid design.
Omega - is a highly configurable HTML5/960 grid base theme that is
100% configurable.
Adaptivetheme Mobile - A mobile subtheme for the
HTML5 AdaptiveTheme.
Sky - is a minimal, center aligned, CSS-based, multi-column layout
theme, with Color module support (7.x only), that uses HTML5
and CSS3.
Fusion Mobile - A Fusion Core subtheme targeted for mobile.
Mobile - Clean theme that can be used as a custom theme base.
34. Case: Drupal modules
WURFL - Detects mobile device capabilities.
Browscap - Detects browser type.
Switchtheme - Adds a block to allow users to
switch between enabled themes.
Mobile Plugin - Device detection and image scaling.
Mobile Tools - Browser detection, theme switching
based on device type, redirection to mobile
site, and other features.
35. Case: Context + Mobile Detector
http://drupal.org/project/context_mobile_detect
36. Summary?
1. Ask yourself what your clientâs needed
into?
2. What is most efficient to do: separate
domain, different theme, responsive or
adaptive themes?
Use Drupal modules and themes to
simplify your life.
37. Thank you!
Guts, honor and courage to all of you
in your mobile themes developing!
Artem Shymko
https://twitter.com/itcross
drupal.org/user/432492
itwebcross@gmail.com
skype: artemshymko
Guts, honor and courage - three
signs of alcohol intoxication.
@ Californication