Wednesday, January 4, 2017

8 Cool Tips to Design Your Next Business Card (Infographic)

You might have heard a rumor circulating that business cards are obsolete. But that's only half true. The species of business card that's gone extinct is the ugly, boring, flimsy paper card. Super cool custom cards, on the other hand, are still alive and well. The key to keeping your...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

10 Web Predictions for 2017

I've listed predictions for several years, and I'm generally proved wrong, but here goes …

The 2016 Results

I scored 3.5 out of 10 in 2015, so let's see how my 2016 forecasts fared.

1. A Major Corporate Hack Will Occur

This was a dead certainty, and hacking news rolled in from January. It seems unfair to name names, but Yahoo!, the US Department of Justice, Snapchat, Verizon, LinkedIn, Oracle and Dropbox are just the start. Perhaps it would be easier to list which companies were not compromised?

Frustratingly, few attacks are sophisticated. A little care and security expertise would have prevented most. 1 out of 1 --- but don't expect this 100% success rate to last!

2. Static Sites Will Go Mainstream

I predicted static site generators (SSGs) such as Jekyll, Middleman and Metalsmith would become increasingly popular. SSGs produce a fully-cached site which is secure and highly scalable. A large number of WordPress sites would benefit.

It's difficult to measure adoption because SSGs generate plain HTML and don't necessarily reveal themselves. Despite some attention, I couldn't claim they went "mainstream". SSGs are not eating into WordPress's market, which now powers 27.3% of the web (and 58.5% of sites running a content management system).

1 out of 2 --- this is more familiar!

3. Chrome's Market Share Will Plateau

This was another obvious forecast; no software can expect exponential user growth forever. I correctly stated Chrome would not reach 60% on desktop devices by the year end. Admittedly, 59% isn't far off, but I'm taking the point!

2 out of 3!

4. Vivaldi Will Attract Attention

Vivaldi is a powerful new browser worthy of praise. It's reminiscent of Opera 12 --- which is understandable, given it was created by ex-Opera employees.

This prediction was spectacularly vague, but Vivaldi has attracted attention even if some was caused by me. 3 out of 4 --- this is going surprisingly well!

5. Apple Must Address Safari's Shortcomings

Safari has fallen noticeably behind others, despite being the only real web browser on the iPhone and iPad. Apple has committed to a few lackluster annual updates, but Safari lethargy continues to hold back the mobile web.

3 out of 5 --- thanks Apple.

Continue reading %10 Web Predictions for 2017%


by Craig Buckler via SitePoint

Host, Publish and Manage Private npm Packages with Verdaccio

[special]npm is the de facto JavaScript package manager and the npm registry the world's biggest collection of code. But sometimes you need that extra privacy when developing an awesome new package. Be it because you're working on a company project which is not meant to be shared with the public, your master/bachelor thesis project, or simply because you're like me and feel sometimes ashamed of your first steps with a new topic.[/special]

Whatever the reason might be, there are several options to choose from. Perhaps the easiest is to sign up with one of npm's commercial offers and you're good to go. But this comes at a price which might not suit every purse.

Fortunately, there is a free alternative called Verdaccio, which might help you out.

Introducing Verdaccio

Verdaccio is an npm package which allows you to create a local npm registry, without any configuration. It's a batteries included project, coming with its own database. It does so by acting as a local caching/proxy server.

This means whenever you try to install something from your custom repository that's not present, it will ping the official npm registry and download the dependencies. Your custom repository maintains those inside a simple folder called storage. The next subsequent install will now use this locally cached copy. On top of that, some commands from the npm client, such as npm login/adduser/publish are replicated to support the creation of local private packages, which you can see in use a little bit later in this article.

If you're thinking that's nothing new, there is already Sinopia you are right. Verdaccio is simply a fork of Sinopia which maintains backward compatibility, yet tries to keep up with official npm changes. One such change, which is unavailable in Sinopia, is scoped packages, which you might have already seen when working with libraries like Angular 2 or TypeScript npm hosted types. You can easily recognize them by the leading @ sign:

# Installing an Angular2 dependency
npm install @angular/core

# Installing the official Node.js type definitions for TypeScript 
npm install @types/node

Both Sinopia and Verdaccio work on Mac/Linux and Windows.

Getting Started with Verdaccio

Since Verdaccio is an npm package, all you need to do is run the following command to install it:

npm install -g verdaccio

A subsequent call with verdaccio will fire up the instance and get your private registry running.

By default, it will listen on the port 4873. We will talk later about how you can change those settings.

In this article we're going through setting up the registry on your development machine. In a company environment, you'll likely want to do that on a dedicated server so that all developers can have access to it.

Verdaccio is a Node.js application, which means you should take care about restarting it in the event of occasional crashes. I recommend using pm2. All you'd need is to run the following steps:

# Install pm2
npm install pm2 -g

# start Verdaccio using pm2
pm2 start PATH-TO-GLOBAL-VERDACCIO/verdaccio
# --> e.g for Windows: C:/Users/[USERNAME]/AppData/Roaming/npm/node_modules/verdaccio/bin/verdaccio

Also, if by the end of the article you come to the conclusion that Verdaccio is not the right tool for you, just stop the process and uninstall Verdaccio with:

Continue reading %Host, Publish and Manage Private npm Packages with Verdaccio%


by Vildan Softic via SitePoint

This Week's HTML5, CSS and Browser Tech News #271

A look at CSS Grid, and moving from Sass to PostCSSRead this e-mail on the Web
FrontEnd Focus
Issue 271 — January 4, 2017
A Web designer wanted to try switching to PostCSS to benefit from its tooling and the cssnext plugin in particular. This is how it went and what he learned along the way.
Tyler Gaw

CSS Grid is coming to browsers, unprefixed and out from behind flags this year. This post covers some frequently asked questions.
Rachel Andrew

A thorough look at what ‘writing modes’ are, how they can be engaged via CSS, and what use they are to you as a Web developer.
Jen Simmons

A thorough post that covers the concept of Virtual DOM in a detailed yet easy-to-understand fashion.
Raja Rao DV

Names can sometimes be difficult to pronounce. Vocalizer.js, developed by Atif Azam, helps solve this problem on the Web.
Atif Azam

Pesky nesting issues are a thing of the past if we ‘learn from Lego’ and envision web content blocks in a Lego-esque fashion.
Samantha Zhang

A simple proxy that strips away CSS so you can check how your site behaves when styles fail to load.
Daniel McLaughlin and Eric Bailey

Jobs Supported by Hired.com

Can't find the right job? Want companies to apply to you? Try Hired.com.

In Brief

Facebook Implementing Payment Request API Into An In-App Browser Experience news
Roy McElmurry

Intent to Implement and Ship: CSS display:flow-root news
Mozilla

Taking HTML5 Device Orientation for a Spin tutorial
A look at the HTML5 Device Orientation API and how to work with it on your own pages.
Drew McLellan

Improve Your Site's Accessibility with WAI-ARIA tutorial
Louis Lazaris

Shaping Curves with Parametric Equations in WebGL tutorial
Matt DesLauriers

Building a Reactive Audio App with WebVR tutorial
How to build a VR app using Three.js and the WebVR API.
Alex Kempton

Create a Stylish News Feed Layout in Ionic 2 tutorial
How to build a stylish news feed layout in Ionic 2 using a parallax header and frosted glass effect.
Josh Morony

PostCSS: Sass's New Play Date tutorial
Nicoláas J. Engler

Has the Internet Killed Curly Quotes? story
Glenn Fleishman

Algorithm-Driven Design: How Artificial Intelligence Is Changing Design story
Yury Vetrov

Front-End Developers Are Information Architects Too opinion
Francis Storr

In Defense of Font Size Widgets opinion
Jeffrey Zeldman

What to Learn in 2017 If You’re A Frontend Developer opinion
Artem Sapegin

Translating Backend Data to Frontend Needs Using GraphQL video
Sashko from Meteor shows how GraphQL can be used to solve issues between backend and frontend requirements.
Compose  Sponsor

Why Inline SVG is Best SVG video
Front End Center

simplehttp2server: A Simple HTTP/2 Server for Development tools
Google

The Web Bluetooth Module for Angular tools
Wassim Chegham

Diffy.js: A Dependency-Free Motion Detection Library for the Browser code
Uses the webcam.
Mani Nilchiani

HTML5 Canvas Gauges code
Radial, linear, temperature, and more.
Mykhailo Stadnyk

vizflow: An ES6 Interactive Visualization Engine code
A small library for adding transition effects and interactive visualizations to HTML5 documents.
Vizflow

LoadJS: A Tiny Async Loader for Modern Browsers (710 Bytes) code
Andres Morey

Rowing Monitor: A PWA Using Web Bluetooth to Connect to A PM5 Monitor code
A Progressive Web App that connects to a monitor commonly used with rowing machines to track exercises.
Google

Building a responsive HTML5 app? Learn the must-know techniques with this whitepaper 
If you're a HTML5/JS dev, responsive web design is or will be a requirement in the near future. This whitepaper will give you the must-know on responsive web.
Progress  Sponsor

Curated by Peter Cooper and published by Cooperpress. If you like this, you may also enjoy: JavaScript Weekly, Node Weekly, and React Status.

Stop getting FrontEnd Focus : Change email address : Read this issue on the Web

© Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via FrontEnd Focus

Integrating Stripe into Your Android App

In this tutorial I will show how to allow users buy products or services from your app, using Stripe. Stripe is one of the simplest way to manage your online products, orders, and payments.

You can find the code for this tutorial on Github.

In the end of this tutorial, users would be able to buy plan subscriptions. The first step is creating some simple plans.

To begin with, login to Stripe (or create an account if you haven't already). Make sure that you are in Test Mode before creating the plans from the dashboard.

Continue reading %Integrating Stripe into Your Android App%


by Theodhor Pandeli via SitePoint

This Week in Mobile Web Development (#139)

Read this on the Web

Mobile Web Weekly January 4, 2017   #139
Chris Brandrick recommends
Strategies For Effective Mobile Landing Pages — Tim Jensen explains which guidelines to follow when creating landing pages, and shares the best strategies available that can help you achieve effective results.
Tim Jensen
Brian Rinaldi recommends
The (Not So) Secret Powers Of The Mobile Browser — A look at many of the new features in mobile browsers through specific use cases for them.
Stéphanie Walter
Holly Schinsky recommends
Create a Stylish News Feed Layout in Ionic 2 — How to build a stylish news feed layout in Ionic 2 using a parallax header and frosted glass effect in the navigation bar.
Josh Morony
Sponsored
Level up from Hybrid — Upgrade to JavaScript Native and native controls. Build truly native mobile apps w/ Angular or JavaScript. Free & Open Source.
NativeScript

Za'e Johnson recommends
Google's Mobile Friendliness Testing Tool — A high level tool for testing how mobile-friendly your site is that’s based around the PageSpeed Insights tools.
Google
Brian Rinaldi recommends
Taking HTML5 Device Orientation for a Spin — A look at the HTML5 Device Orientation API and how to work with it on your own pages.
Drew McLellan
Holly Schinsky recommends
Help Test Ionic's Super Starter, A Starter Project for New Ionic 2.x Apps — Ionic releases a new preview starter project for Ionic 2.x apps with 14 ready to use designs for common mobile design patterns.
The Official Ionic Blog
Chris Brandrick recommends
The PRPL Pattern — PRPL (Push, Render, Pre-cache, Lazy-load) is a pattern for structuring and serving Progressive Web Apps (PWAs), with an emphasis on the performance of app delivery and launch.
Addy Osmani
Brian Rinaldi recommends
Why You Should Care About Revisiting The Native Vs. Hybrid Debate In 2017 — Scott takes a look at the current state of the hybrid or native app debate and concludes that hybrid is entering a “golden era” - though some commenters seem to disagree.
Scott Hendersson
Holly Schinsky recommends
Building a Reactive Audio App with WebVR — How to build a VR app using Three.js and the WebVR API.
Alex Kempton
Holly Schinsky recommends
Ionic By Component: Navigation — A look at the new Navigation system available in Ionic V2 and how to use the new features.
Sani Yusuf
Peter Cooper recommends
A Look at the Impact of React Native 50 minutes
Josh Owens and Bonnie Eisenman
Za'e Johnson recommends
Google Helping Mobile Publishing? Some Publishers Are Not So Sure
The New York Times
Holly Schinsky recommends
From React to React-Native, What Are The Main Differences? — What you need to know when starting your first native app using React Native with previous experience in regular React.
Alexis Mangin
Holly Schinsky recommends
Tackling React Native Storage — How to persist data in your React Native apps using RealmDB.
Eric Kim
Brian Rinaldi recommends
The Current State of Adaptive Design — A comparison of some popular design tools and their pros and cons for designing adaptive sites.
Charlie Deets
Holly Schinsky recommends
Framework7 + Vue Starter Templates — Three new starter templates are now available to help you get started developing mobile apps quickly with Framework7 and Vue.js.
Framework7
Holly Schinsky recommends
AlloyFinger: Super Small Multi-Touch Gestures Library for the Web
AlloyTeam
Brian Rinaldi recommends
Rowing Monitor: A PWA Using Web Bluetooth to Connect to A PM5 Monitor — A Progressive Web App that connects to a monitor commonly used with rowing machines to track exercises.
Google
Brian Rinaldi recommends
Modular and Customizable Material Design UI Components — Material Design UI components that offer both native (iOS/Android) and web.
GitHub
Curated by Brian Rinaldi and Holly Schinsky for Cooperpress.
Cooperpress is located at Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or stop receiving MWW here


by via Mobile Web Weekly

How to Build an Angular 2 Service