+ All Categories
Home > Technology > Startup Institute NYC: Styling

Startup Institute NYC: Styling

Date post: 24-Jan-2018
Category:
Upload: matthew-gerrior
View: 361 times
Download: 0 times
Share this document with a friend
96
Immersive: Styling & Catching Up Fall, 2015
Transcript
Page 1: Startup Institute NYC: Styling

Immersive: Styling & Catching Up

Fall, 2015

Page 2: Startup Institute NYC: Styling

Styling & Catching Up1. Introduction2. Styling Lecture (15 minutes)3. Styling Lab (15 minutes)4. Image Uploading Lecture (15 minutes)5. Image Uploading / Catch Up Lab (75 minutes)

Agenda

Page 3: Startup Institute NYC: Styling

Introduction

Page 4: Startup Institute NYC: Styling

Matthew GerriorDevpost, Senior Software Engineer

ABOUT ME● Grew up outside Boston● Went to school upstate● Worked in consulting for ~ 3.5 years● Got tired of building other people’s products● Moved to NYC to join Devpost (known as

ChallengePost a the time)

devpost.com/MGerrior

Page 5: Startup Institute NYC: Styling

DevpostLeading platform for running Hackathons

ABOUT US● Formerly known as ChallengePost● Online Hackathons (Uber, Oculus, AT&T)● In-Person Hackathons (PennApps, HackNY)● Developer Portfolios to showcase skills,

technologies, projects● Moving into recruiting space:

devpost.com/teams/devpostdevpost.com

Page 6: Startup Institute NYC: Styling

ScriptEdCoding Skills for under-resourced schools

ScriptEd equips students in under-resourced schools with the fundamental coding skills and professional experiences that together create access to careers in technology.● GitHub accounts from Day 1● Two hackathons every year● Field trips to Tech Companies● Summer internship opportunities

Page 7: Startup Institute NYC: Styling

Top-Down

Page 8: Startup Institute NYC: Styling

Top-Down Approach

Page 9: Startup Institute NYC: Styling

Designing for a large screen first and then adding additional code for smaller screens:● Slows performance on mobile devices● Doesn’t take advantage of mobile functionality

Top-Down Approach

Page 10: Startup Institute NYC: Styling

Bottom Up

Page 11: Startup Institute NYC: Styling

Bottom-Up Approach

Page 12: Startup Institute NYC: Styling

We simply start with the most minimal amount of mobile-tech development and build progressively upward until we have nurtured the simple mobile seed to the highest-possible tech display.

Mobile FirstLuke Wroblewski

Page 13: Startup Institute NYC: Styling

Bottom-Up ApproachDevelop for the lowest common denominator, progressively add features for each higher level of tech:● Emphasize core values and behaviors● Optimize for ease of use

Page 14: Startup Institute NYC: Styling

Mobile First Dogs

Page 15: Startup Institute NYC: Styling
Page 16: Startup Institute NYC: Styling
Page 17: Startup Institute NYC: Styling
Page 18: Startup Institute NYC: Styling

Responsive Design

Page 19: Startup Institute NYC: Styling

Optimizing a page to be utilized on the web by multiple devices with different screen sizes, all in one design.

It’s all about percentages and ratios!

Responsive DesignEthan Marcotte

Page 20: Startup Institute NYC: Styling

You want to build a page once and have it appear correctly, that is with minimal amounts of scrolling, minimizing, maximizing, enhancing, de-hancing.

Responsive Design

Page 21: Startup Institute NYC: Styling

Media Queries

Responsive Design

Powerful and Fluid Grid System

Flexible Images

Page 22: Startup Institute NYC: Styling

Powerful & Fluid Grid

Page 23: Startup Institute NYC: Styling

Grid System

Page 24: Startup Institute NYC: Styling

Flexible Images

Page 25: Startup Institute NYC: Styling

Flexible Images

Page 26: Startup Institute NYC: Styling

Flexible Images

Page 27: Startup Institute NYC: Styling

Media Queries

Page 28: Startup Institute NYC: Styling

Media Queries

Page 29: Startup Institute NYC: Styling

Media Queries

Page 30: Startup Institute NYC: Styling

Media Queries

Page 31: Startup Institute NYC: Styling

That time that I forgot to design for mobile first...

Page 32: Startup Institute NYC: Styling

post.devpost.com

Page 33: Startup Institute NYC: Styling
Page 34: Startup Institute NYC: Styling
Page 35: Startup Institute NYC: Styling
Page 36: Startup Institute NYC: Styling
Page 37: Startup Institute NYC: Styling

I’m using a responsive framework, so of course this is going to look good on mobile. Let’s ship it!

Done, right?

Page 38: Startup Institute NYC: Styling
Page 39: Startup Institute NYC: Styling
Page 40: Startup Institute NYC: Styling

Apparently it doesn’t mean you can just forget desktop...

Mobile First

Page 41: Startup Institute NYC: Styling
Page 42: Startup Institute NYC: Styling
Page 43: Startup Institute NYC: Styling

Importance ofResponsive Design

Page 44: Startup Institute NYC: Styling

SEO Benefits

Importance of Responsive Design

Decreased User Frustration

Impact on Sales

Page 45: Startup Institute NYC: Styling

Impact on Sales

Page 46: Startup Institute NYC: Styling

Impact on Sales

Page 47: Startup Institute NYC: Styling

Impact on Sales

Page 48: Startup Institute NYC: Styling

User Frustration

Page 49: Startup Institute NYC: Styling

User Frustration

Page 50: Startup Institute NYC: Styling

User Frustration

Page 51: Startup Institute NYC: Styling

10 seconds - huge delay, thoughts wander

User Frustration

0.1 seconds - instantaneous, no delay

1 second - slight delay, no interruption

Page 52: Startup Institute NYC: Styling

SEO Benefits

Page 53: Startup Institute NYC: Styling

“Starting April 21 [2015], we will be expanding our use of mobile-friendliness as a ranking signal … Consequently, users will find it easier to get relevant, high quality search results that are optimized for their devices.”

SEO

Page 54: Startup Institute NYC: Styling

SEO

Page 55: Startup Institute NYC: Styling

● Uses text that is readable without zooming● Sizes content to the screen so users don't have

to scroll horizontally or zoom● Places links far enough apart so that the correct

one can be easily tapped

SEOMaking a Mobile Friendly Site

Page 56: Startup Institute NYC: Styling

SEO

Page 57: Startup Institute NYC: Styling

● Avoids software that is not common on mobile devices, like Flash

SEOMaking a Mobile Friendly Site

Page 58: Startup Institute NYC: Styling

Frameworks

Page 59: Startup Institute NYC: Styling

Twitter BootstrapBootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

Page 60: Startup Institute NYC: Styling

<!-- Stack the columns on mobile by making one full-width and the

other half-width -->

<div class="row">

<div class="col-xs-12 col-md-8"></div>

<div class="col-xs-6 col-md-4"></div>

</div>

Twitter Bootstrap

Page 61: Startup Institute NYC: Styling

The most advanced responsive front-end framework in the world.

Foundation

Page 62: Startup Institute NYC: Styling

<!-- Stack the columns on mobile by making one full-width and the

other half-width -->

<div class="row">

<div class="small-12 medium-8 columns"></div>

<div class="small-6 medium-4 columns"></div>

</div>

Foundation

Page 63: Startup Institute NYC: Styling

Semantic is a development framework that helps create beautiful, responsive layouts using human-friendly HTML.

Semantic UI

Page 64: Startup Institute NYC: Styling

<!-- Stack the columns on mobile by making one full-width and the

other half-width -->

<div class="row">

<div class="sixteen wide mobile twelve wide tablet column"></div>

<div class="eight wide mobile four wide tablet column"></div>

</div>

Semantic UI

Page 65: Startup Institute NYC: Styling

A dead simple, responsive boilerplate.

Skeleton

Page 66: Startup Institute NYC: Styling

<div class="row">

<div class="eight columns"></div>

<div class="four columns"></div>

</div>

Skeleton

Page 67: Startup Institute NYC: Styling

Styling Lab

Page 69: Startup Institute NYC: Styling

Image Uploading

Page 70: Startup Institute NYC: Styling

Popular Choices:● Paperclip● Carrierwave● Refile

Image Uploading

Page 71: Startup Institute NYC: Styling

Tried and True solutions

Page 72: Startup Institute NYC: Styling

Easy file attachment management for ActiveRecord

Paperclip

Page 73: Startup Institute NYC: Styling

Cheat Sheet:● Easy to set up, well documented● Everything configured in the model class● Been around forever and well maintained by

Thoughtbot

Paperclip

Page 74: Startup Institute NYC: Styling

Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks

Carrierwave

Page 75: Startup Institute NYC: Styling

Cheat Sheet:● More Object-Oriented/Modular approach to

image uploading● Supports multiple file uploads (useful for image

galleries)● Designed to solve the “file disappearing when

form is invalid” problem● Creator eventually decided to build another file

uploader gem

Carrierwave

Page 76: Startup Institute NYC: Styling

Both take the tried and true approach of processing images into different sizes on upload and storing them.

Paperclip & Carrierwave

Page 77: Startup Institute NYC: Styling

New Kid on the Block

Page 78: Startup Institute NYC: Styling

Ruby file uploads, take 3

Refile

Page 79: Startup Institute NYC: Styling

Cheat Sheet:● Developed by creator of CarrierWave● Direct to S3 image uploading● Don’t have to think about how/where files are

being stored● Strongly opinionated

Refile

Page 80: Startup Institute NYC: Styling

Changes up image uploading with direct to S3 capability as well as storing a single image and processing it on the fly when requested.

Refile

Page 81: Startup Institute NYC: Styling

Image Uploading Lab

Page 82: Startup Institute NYC: Styling

Getting Startedhttps://gorails.com/episodes/file-uploading-with-carrierwave

Page 83: Startup Institute NYC: Styling

Debrief

Page 84: Startup Institute NYC: Styling

Why do you think there are so many different responsive frameworks to choose from?

Styling

Page 85: Startup Institute NYC: Styling

StylingDid anyone choose to use a framework besides Twitter Bootstrap?

If so, why?

Page 86: Startup Institute NYC: Styling

What were some of the difficulties you ran into using a responsive framework?

Styling

Page 87: Startup Institute NYC: Styling

Did you find it easy or hard to customize the framework?

Are some frameworks easier to customize than others?

Styling

Page 88: Startup Institute NYC: Styling

How can you use responsive design to improve your product’s appearance?

How can you use it to improve your product’s usability?

Styling

Page 89: Startup Institute NYC: Styling

Why do you think there are so many different image uploading gems?

Image Uploading

Page 90: Startup Institute NYC: Styling

Did anyone pick a gem besides Carrierwave for processing image uploads?

If so, why?

Image Uploading

Page 91: Startup Institute NYC: Styling

Did you find it easy or hard to work with the image uploading gem that you chose?

Image Uploading

Page 92: Startup Institute NYC: Styling

How can you use image/file uploading to enhance your work?

Image Uploading

Page 93: Startup Institute NYC: Styling

http://googlewebmastercentral.blogspot.com/2014/11/helping-users-find-mobile-friendly-pages.html

http://googlewebmastercentral.blogspot.com/2015/02/finding-more-mobile-friendly-search.html

http://zurb.com/word/mobile-first

http://www.lukew.com/ff/entry.asp?933

http://zurb.com/word/responsive-web-design

http://alistapart.com/article/responsive-web-design

https://blog.kissmetrics.com/loading-time/

http://www.nngroup.com/articles/website-response-times/

https://zurb.com/university/lessons/master-media-queries-with-sass

http://alistapart.com/article/fluid-images

References

Page 94: Startup Institute NYC: Styling

https://github.com/carrierwaveuploader/carrierwave

References

Page 95: Startup Institute NYC: Styling

Imaizumi, Ryoichi, and Doantam Phan. "Helping Users Find Mobile-friendly Pages." Official Google Webmaster Central Blog. Google, 18 Nov. 2014. Web. 20 Nov. 2015.

Makino, Takaki, Chaesang Jung, and Doantam Phan. "Finding More Mobile-friendly Search Results." Official Google Webmaster Central Blog. Google, 26 Feb. 2015. Web. 20 Nov. 2015.

"Mobile First." ZURB U. ZURB, Inc., n.d. Web. 05 Dec. 2015.

Wroblewski, Luke. "LukeW | Mobile First." LukeW | Mobile First. N.p., 3 Nov. 2009. Web. 05 Dec. 2015.

"Responsive Web Design." ZURB U. Zurb Inc., n.d. Web. 05 Dec. 2015.

Marcotte, Ethan. "Responsive Web Design." A List Apart The Full. N.p., 25 May 2010. Web. 05 Dec. 2015.

"How Loading Time Affects Your Bottom Line." How Loading Time Affects Your Bottom Line. Kissmetrics, n.d. Web. 05 Dec. 2015.

Bibliography

Page 96: Startup Institute NYC: Styling

Nielsen, Jakob. "Website Response Times." Website Response Times. Nielsen Norman Group, 21 June 2010. Web. 5 Dec. 2015.

Gremillion, Ben. "ZURB University." ZURB U. ZURB, Inc., n.d. Web. 05 Dec. 2015.

Marcotte, Ethan. "Fluid Images." A List Apart The Full. N.p., 07 June 2011. Web. 05 Dec. 2015.

Bibliography


Recommended