Friday, April 1, 2016

Bocoin

opl-small

Long scrolling One Pager promoting a new cryptocurrency for dog owners called 'Bocoin'. Genius.

by Rob Hope via One Page Love

Advertisers Win the Ad-Blocking War

Advert blocking grew by more than 41% in 2015 and cost the industry $22 billion in revenue. Ad-blockers are not new but there has been a significant elevation in public consciousness partly owing to the number of options available. You have probably encountered adverts from browser vendors promoting their ad-blocking systems. Only the popular Lynx browser is yet to implement similar technology.

Ad-Blocker Blockers

Publishers began to retaliate last year and several popular sites now show messages to any visitor running ad-blocker software. Messages range from gentle suggestions to purchase a subscription to actively hiding page content while an advert-blocker remains active.

Detecting an ad-blocker is simple. A script checks whether the advertising script has loaded or a specific DOM node has content. If adverts fail to appear, the article is unloaded or the visitor is redirected to another page.

Beta Ad-Blocker Blocker Blockers

Ad-blocker blockers depend on client-side scripts which, themselves, can be blocked. Ad-blocker software teams can block the blocker within minutes of a new website script being reported. Several solutions are in development which thwart any publisher's attempt to undermine the ad-blocking process.

Frail Loop

Advertisers and ad-blocker organisations spend inordinate amounts of time battling the innovations of the other. In computing terms, this is known as a "frail loop". Two or more technologies recursively weaken each another until neither is effective.

Advert Network No Opt-out Initiative

Dozens of ad-revenue-dependent organisations have formed the Free Advertising and Responsible Targeting Syndicate. Their first proposal, the Advert Network No Opt-out Initiative, aims to end advert blocking forever by reversing content and advert publication methods.

Continue reading %Advertisers Win the Ad-Blocking War%


by Craig Buckler via SitePoint

Thursday, March 31, 2016

Web Design Trends You Can’t Ignore in 2016 - #infographic

Web Design Stats You Can’t Ignore in 2016 - infographic

Each one of us loves the ease and convenience that digital marketing offers. We often tend to ignore the efforts that businesses and their teams are putting in. One of the most formidable challenges in the field of digital marketing, for companies and their marketers, is to maintain the pace with the speed of advancements launched. Just give it a thought that if the busy marketing teams won’t be able to catch up and miss things due to their involvement in routine activities – how unpleasant would it be for the people who don’t belong to this industry?

If you are also a marketer, you might be facing the same issues. The visitors or end-readers could sympathize with you, but that doesn’t strictly implies they will stop nagging about the significance of surviving through the constraints of time to stay ahead of rise and falls of digital marketing. Not just a single trick or strategy, staying up-to-date with digital trends and unbeatable practices are the actual driving forces for successful, long-term campaigns of marketing.

We all know that the Internet is an aesthetic space where images, graphics and videos play a prominent role in the stories that marketers and companies narrate. But as the accessibility of web design among masses has increased at a progressive rate, it is changing at a faster pace.

Therefore, all the marketers should take a deeper dive into the web design world to identify the most advanced shifts in the traditional practices. Here’re some web design trends that you can’t ignore in 2016 elaborated along with statistical data:

by Guest Author via Digital Information World

10 jQuery Horizontal Scroll Demos & Plugins

In today’s post we bring to you 10 jQuery Horizontal Scroll Demos & Plugins useful for those who see things horizontally. I guess we have to accept some people scroll both ways! :)

Updated: March 2016 Updated all plugins and demos with the latest versions and added some new ones. Also removed plugins which aren't in development anymore.

1. ScrollMagic

Image of a top hat

ScrollMagic helps you to easily react to the user's current scroll position. Its lightweight (6KB gzipped) and mobile friendly. It has support for both scroll directions.

See the demo

2. jInvertScroll

Screenshot of jInvertScroll homepage

jInvertScroll is a lightweight plugin for jQuery that allows you to move in the horizontal with a parallax effect while scrolling down.

See the demo

3. Horizontal Timeline

Mock-up of timeline screen

This tutorial will teach you to create an easy to customise, horizontal timeline powered by CSS and jQuery.

See the demo

4. Smooth Horizontal Scrolling with jQuery

Screenshot of the demo

This tutorial will teach you how to create a simple smooth scrolling effect using the jQuery Easing Plugin and just a few lines of jQuery.

See the demo

5. simplyScroll

Screenshot of a simplyScroll demo

Continue reading %10 jQuery Horizontal Scroll Demos & Plugins%


by Ritesh Kumar via SitePoint

An Introduction to AngularJS Style Guides

What is a style guide? Do AngularJS projects need a style guide, and why? Which are the most popular AngularJS style guides? How would you use a style guide in a team of developers? This article is going to answer all these questions. Before diving into AngularJS style guides, let's look at what a style guide is and why we developers need one.

Why Style Guides

Wikipedia provides a good general definition that can be useful to understand why style guides are important and to get the big picture before diving into AngularJS style guides.

A style guide (or manual of style) is a set of standards for the writing and design of documents, either for general use or for a specific publication, organization, or field. A style guide establishes and enforces style to improve communication. To do that, it ensures consistency within a document and across multiple documents and enforces best practice in usage and in language composition, visual composition, orthography and typography. For academic and technical documents, a guide may also enforce the best practice in ethics (such as authorship, research ethics, and disclosure), pedagogy (such as exposition and clarity), and compliance (technical and regulatory).

Coding style guides enforce the best practice in relation to a particular language and to your organization's needs.

Project Style Guides

There are a number of reasons why JavaScript projects need a style guide. I'm not going to cover all of them in full detail in this article, but they usually expand on the language style guide by covering the following additional topics:

  1. Modularity: single responsibility, immediately invoked function expressions, module dependencies
  2. Application structure: architectural patters, folders structure
  3. Naming conventions: for modules, controllers, configuration and spec files
  4. Linting: JavaScript code checkers
  5. Testing: the approach in writing specs
  6. Comments: to produce documentation
  7. Startup logic: configuration, startup logic
  8. Routing: navigation flow, view composition
  9. Exception Handling: decorators, exception catchers, route errors
  10. Performance and Security: minification, obfuscation

Existing JavaScript Style Guides

For JavaScript there are a number of general and project-specific style guides out there:

Despite the big names, none of the style guides mentioned above is totally comprehensive. In my opinion, the Airbnb style guide is the most up-to-date and comprehensive, and provides also eslint configuration files with which you can automatically check your code style. The eslint configuration files can be extended, as I did when building my web site.

Why AngularJS Projects Need a Style Guide

AngularJS projects need a style guide pretty much for the same reason all JavaScript projects need a style guide, but there are some Angular-specific items that can be covered.

Let's consider the following AngularJS-specific examples:

  • How to use ng tags. AngularJS ng directives can be used in different ways and have a different syntax, for example preferring data-ng instead of ng when using the ng directive as an HTML attribute, in order to be W3C-compliant. Specifying how to write ng directives in a code style guide helps improving consistency in the HTML files.

  • Different ways to implement components. AngularJS implements web components using custom directives. Custom directives can be based on HTML element names, attributes, class names, as well as comments. A style guide might assure that only one type of directive is used within a project for example.

  • Which architectural pattern to adopt. AngularJS allows for MV* (or MVW) architectural patterns. That leaves the choice to JavaScript developers about whether to implement their application based on MVC or MVVM. Guidelines about what kind of approach has to be used in the project helps in keeping the whole team on the same track.

Continue reading %An Introduction to AngularJS Style Guides%


by Francesco Iovine via SitePoint

New Course: JavaScript for Windows 10 Universal Apps

Using Jetpack’s Publicize for Easy WordPress Social Sharing

You’ve just hit publish on your shiny new blog post. It’s packed with information that you know your readers will love. Wouldn’t it be even better if you could click one button and share your new post with your entire online network?

With Jetpack’s Publicize feature, you can instantly share posts on social media networks. So if you’re one of the millions of WordPress users taking advantage of Jetpack’s functionalities, you can use the Publicize feature immediately. You only have to set up your accounts once, and then you can start sharing right away.

Continue reading %Using Jetpack’s Publicize for Easy WordPress Social Sharing%


by Ian Chandler via SitePoint