Tuesday, March 29, 2016

Meta

opl-small

Clean long scrolling One Pager for Meta studio led by Mitchell van Beurden. Nice little feature with the minimal content slider right at the top.

by Rob Hope via One Page Love

jQuery Scroll Indicator

jQuery scroll indicator is a fade effect and arrows for responsive tables and iframes.

The post jQuery Scroll Indicator appeared first on jQuery Rain.


by Admin via jQuery Rain

Marginotes : Quick & Cool margin notes with jQuery

Marginotes takes your jQuery selection and adds notes to the margin with the text provided in HTML attributes.

The post Marginotes : Quick & Cool margin notes with jQuery appeared first on jQuery Rain.


by Admin via jQuery Rain

Monday, March 28, 2016

3 Critical Aspects for Building Thought Leadership

3 Critical Aspects for Building Thought Leadership

A thought leader is a person who shares their ideas publicly and influences others to change what they do, how they think, or what they believe.

But can a company be a thought leader too? Absolutely. People like thought leaders. To be a thought leader in your industry you must connect to your audiences with ideas that are thought-provoking and innovative. Your company must continuously strive to broaden your connections and brand, both within your industry and outside of it. Good thought leadership builds business and revenue and puts your company a notch above others in an increasingly savvy world of other businesses and consumers.

by Guest Author via Digital Information World

Web Design Weekly #228

Headlines

NPM Left-Pad Chaos

A little bit of hot drama this week after Azer Koçulu unpublished more than 250 of his modules from NPM causing a lot of broken builds. Lots of people chimed in on the topic but I think these are the pick of the bunch. Azer Koçulu’s own story, Rich Harris’s suggested fix
and Glen Maddern’s tweet rant. (theregister.co.uk)

Dirty Tricks From The Dark 
Corners Of Front-End (speakerdeck.com)

​​Get multiple job offers from top companies with 1 application​

​​Web developers are in demand, so shouldn’t companies apply to you? On Hired, that’s exactly how it works. Get 5+ job offers from companies like Uber, Square, and Facebook with 1 application. Join Hired today and get a $1,000 bonus when you get a job! (hired.com)

Articles

Design Systems Ops

This post looks into the finer details of having a dedicated person who embeds themselves across the design and engineering team to help improve the communication to ship a better product. (medium.com)

Why I Value Truly Responsive Web Design

Jonathan Snook shares some really good reasons why we should aim to make our sites and applications truly responsive. (snook.ca)

React.js for TV UIs

Steve McGuire from Netflix talks about how they’ve built a high performance and completely declarative UI using React. (youtube.com)

Teaching the web platform: theories and observations

James Padolsey has been helping to teach various courses of late and in this post he shares his observations about the successes and difficulties that students are having. (james.padolsey.com)

Tools / Resources

The copy & paste guide to your first Service Worker

With Service Workers gaining more and more attention there are lots of tutorials about them but Remy Sharp has taken a little bit of a different angle. He has decided to create a super simple tutorial with easy copy & paste code snippets to get you up and running in no time. (remysharp.com)

Tips for Website Performance Optimization

Website performance optimization is always something that should be a top priority, especially when there is so much online competition. This post covers 18 tips to help take your site to the next level. (keycdn.com)

First impressions with Adobe Experience Design (mike-barker.com)

Totally Tooling Tears – Issue 1 (medium.com)

normalize.css 4.0.0 (github.com)

Safari updated (developer.apple.com)

Inspiration

A Web Developers New Working Week (alwaystwisted.com)

A fun way to learn about CSS Flexbox (flexboxdefense.com)

Animated SVG Drum Kit (tympanus.net)

Jobs

99 Designs – Senior Brand Designer

We’re giving someone the opportunity to lead the design of all brand communications (we’ll even consider Copywriter/Art Director teams). This is not a campaign for a laundry powder or dog food, nor a crappy micro-site for a new car. This is an entire global brand — you own it all. (99designs.com)

Interaction Designer at Oakely

Interaction Designers are integral to the Oakley Digital process and are key members of the teams that define the success of our digital experiences today. A successful Interaction Designer at Oakley is an innovative designer, a self-starter, a team player, someone who can work independently and is a skilled standards-based web developer all rolled into one. (oakley.com)

Need to find passionate developers? Why not advertise in the next newsletter

Last but not least…

Developer Survey Results 2016 (stackoverflow.com)

The post Web Design Weekly #228 appeared first on Web Design Weekly.


by Jake Bresnehan via Web Design Weekly

Rater.js – Customizable Rating Widget with jQuery

Rater.js is a highly customizable rating widget that supports images, utf8 glyphs and other html elements.


by via jQuery-Plugins.net RSS Feed

Using Map and Reduce in Functional JavaScript

This article was peer reviewed by Panayiotis Velisarakos, Tim Severien and Dan Prince. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be!

With all the talk about workflows that support the amazing new features in ECMAScript 6, it's easy to forget that ECMAScript 5 brought us some great tools to support functional programming in JavaScript which we can use today. Among these are the native map() and reduce() methods on the base JavaScript Array object.

[author_more]

If you're not using map() and reduce() today, it's time you started. Most contemporary JavaScript platforms support ECMAScript 5 natively. Mapping and reducing can make your code much cleaner and more easy to read and maintain, and put you on a path toward more elegant functional development.

Performance: A Caveat

Of course, reading and maintaining your code has to be balanced against performance when the situation calls for it. Currently browsers do perform more efficiently using more cumbersome traditional techniques, such as for loops.

My approach is usually to write code for readability and maintainability first, and then optimize for performance if I notice issues in real world situations. Premature optimization is the devil.

It's also worth considering that using methods such as map() and reduce() may take better advantage of improvements in the JavaScript engine as browsers optimize for them in the future. Unless I'm up against the wall on a performance issue, I prefer to code optimistically, and keep performance tweaks that make my code less attractive in my back pocket in case I need them.

Using Map

Mapping is a fundamental functional programming technique for operating on all of the elements in an array and producing another array of the same length with transformed contents.

To make that a little bit more concrete, let's come up with a simple use case. For example, imagine that you have an array of words, and you need to transform that into an array that contains the length of each word. (I know, that's not the sort of complex rocket science you often need to do for your sophisticated application, but understanding how it works in a simple case like this will help you apply it in cases where it can add real value to your code).

You probably already know how to do what I just described using a for loop on the array. It might look something like this:

var animals = ["cat","dog","fish"];
var lengths = [];
var item;
var count;
var loops = animals.length;
for (count = 0; count < loops; count++){
  item = animals[count];
  lengths.push(item.length);
}
console.log(lengths); //[3, 3, 4]

All we did was define a few variables: an array called animals that contained our words, an empty array called lengths that will contain the output of our operation, and a variable called item to temporarily store each of the items that we were going to be manipulating within each loop of the array. We set up a for loop with a temporary internal count variable and a loops variable to optimize our for loop. Then we iterated through each of the items up to the length of the animals array. For each one we calculated the length, and pushed that onto the lengths array.

Continue reading %Using Map and Reduce in Functional JavaScript%


by M. David Green via SitePoint