Wednesday, December 7, 2016

PulltoRefresh.js – Javascript Library for Pull to Refresh Feature

PulltoRefresh.js is a quick and powerful plugin for your pull-to-refresh needs in your webapp.


by via jQuery-Plugins.net RSS Feed

What is Adaptive Design? (And is it Different from Responsive Design?

Responsive design - by Alex Walker

Responsive design is a term we all should be familiar with by now but does the term accurately describe what we think it means? We’ve come to know "responsive design" to be the act of designing websites that display correctly on all devices and screen sizes. But some argue that “adaptive design” is a better name for this.

  • Is this true, or are they the same thing?
  • Or does "adaptive design" mean something else entirely?
  • And where does "fluid design" fit into all this?

While this sounded like a fairly straight forward question, after a little investigation, I found it was more ambiguous than I might have guessed, and maybe even downright controversial.

There seem to be two competing definitions for adaptive:

Definition 1: Responsive Design is a Selfie Stick – Adaptive Design is an Umbrella

In this definition, a responsively-designed product – just like the selfie stick – can be used in many states from fully extended, fully retracted and any of the points in-between. Sure, certain widths or breakpoints are more important than others, but every different width generates a slightly different layout.

Adaptive design behaves more like an umbrella. It has preset 'states' that it is designed to work at – open to stop rain, closed for transporting. The 'in-between states' are unimportant.

1480918120umbrella-vs-selfie-1.jpg

There are a number of GIF animations that illustrate this concept nicely.

Adaptive vs Responsive.

http://ift.tt/2hjdN1S

In 2015, Geoff Graham outlined his view on the differences, saying that responsive layouts adapt to the browsers' width at any given moment in time, whereas 'adaptive layouts' adapt to the browsers' width only at specific breakpoints.

Geoff said that responsive design is based on percentages (i.e. the same thing as fluid design), and adaptive design is based on fixed units of measurements. Both are powered by CSS media queries.

Definition 2: Adaptive design adapts itself to the entire device environment (not just the screen)

However, as you can see from the comments below Geoff's article, opinions on the subject are massively divided.

Here's the top comment:

"Responsive design can be fluid or fixed, so can adaptive. The difference is that responsive design doesn’t care about what browser is used, it responds to the browser size and reflows the layout accordingly. On the other hand, adaptive design adapts to the browser environment specifically, and may or may not take into account the browser’s current size." ⏤ zzzzBov.

By this definition, Adaptive Design is JavaScript-driven and is as much about the reacting to the type of device as it about screen sizes. For instance, a tablet may have a high-resolution screen, yet needs larger touch targets.

Many big names have weighed-in with their opinions, ranging from UXPin to Mozilla, so I thought I would too.

This still appears to be unresolved.

Here's My Take on the Matter

Let's use an adjustable lamp as a real-world example: responsive design is when you flick the switch, and the lamp responds by turning on the light. Adaptive design is when you’re able to adjust/adapt the lamp so that you can see better.

If a website doesn’t respond to your interaction, it’s not very responsive, and if it isn’t able to adapt to its surroundings (i.e. the device screen), it’s not very adaptive. Both of these can significantly impact the UX.

Why Responsive Design Isn't Responsive Design

A response is an action as a result of another action, for example, if a website button changes its background color when the user hovers over it — the action is the hover, and the response is the background color being changed.

Ordinarily, when we say that a website is responsive, we mean that it adapts to any screen size on any device, but in actuality, it should mean that it responds to user interaction. Here’s why:

A user cannot resize the browser on their mobile device. And while a user can change the browser size on a desktop computer, they don't typically need to do that to interact with a website — it’s not a normal user interaction. Sure, us web designers often resize the browser to test a website, but it’s not a normal action for the user.

Why I Think "Adaptive Design" Is More Accurate

Since screen sizes are generally used in their default state (in the sense that you can’t or wouldn’t need to resize it), the term “adaptive design” might fit the bill more accurately. Websites (well-designed ones at least) will modify their layout to fit the device of the user; it’s an involuntarily action, meaning the user doesn’t have to interact with the website to make it adapt. Adaptive design could also describe how we optimize loading times and perceived performance for smaller, handheld devices.

So What’s Fluid Design Then?

Back in the early 2000's, the big debate was 'Fixed Layout vs. Fluid Layout'. Fluid design layouts were set with percentages, stretching to fit the frame of the browser. Fixed layouts were set at locked in pixel widths.

Neither was ideal. Fixed layouts looked great on the right screen but were unusable on small monitors. Fluid layouts were more flexible but looked thin and stringy on wide screen monitors.

Responsive Design was Ethan Marcotte's direct ... response.. to these design issues. Classic 'stretchy' responsive design is like a 'grown-up' version of fluid design – stretching to fill the window, but reconfiguring itself when necessary,

Geoff's definition of adaptive design – though not agreed upon by many – is like 'grown-up fixed design' – not one fixed layout, but 3 or more.

Continue reading %What is Adaptive Design? (And is it Different from Responsive Design?%


by Daniel Schwarz via SitePoint

What’s New in Android Nougat

Android Nougat 7.0 is the latest official Android Operating System update and is currently available only on 0.3% of Android devices, including the Nexus 5X and 6P, and the Android One devices like General Mobile 4G. As with every update, Nougat brings many new features make users’ experience better, easier and more customizable.

Let’s start with the new features of Android N:

That square you see in the Navigation buttons now has a new use. If you double-tap it, you will switch between your two most used apps. It is the short form of tapping it once, then choosing the second app window. If you are using Google Docs but you need to check something on Chrome, just open Chrome, find that information and double-tap on the recent apps button that will take you automatically to Google Docs.

Continue reading %What’s New in Android Nougat%


by Theodhor Pandeli via SitePoint

Flow

'Flow' is a One Page WordPress theme perfect for a photography or big image portfolio. The responsive theme features a horizontal scrolling project strip that loops and can host unlimited images. The real bonus of having this horizontal orientation is the slick handling of portrait imagery among regular landscape imagery - often difficult to arrange in themes. Other features include a neat biography section overlay (see video preview) and an important footer section that reveals image copyright info as well as your SVG social network icons.

by Rob Hope via One Page Love

Studio Crême

Minimal One Pager with focus on a full screen video showreel for London based design and motion practice, Studio Crême.

by Rob Hope via One Page Love

Upgrading Your Linux Server to PHP 7.0

Ueno.

Stunning, spacious design with gorgeous transitions in this new One Page website for Ueno. The unique intro starts with a full screen video that zooms out while the project title loads. As you scroll the other project images zoom out within the same image dimension (while subtle moving up) creating the a remarkable first impression. Lastly, the Single Page site ends with a footer than changes color to correlate with the (fun!) team videos that also changes. Exceptional stuff.

by Rob Hope via One Page Love