Thursday, July 28, 2016

Announcing The Versioning Podcast

A little over two years ago we launched Versioning, a free email newsletter to send our SitePoint readers daily tidbits mined from all over the web, to keep you amused, informed, and delighted. The response has been tremendous, and we're very proud of what we've built. Along the way we've had the chance to gather a lot of feedback, and we've been listening to what you're asking for.

Today we're excited to announce that we're taking Versioning to a whole new medium, and launching a podcast: The Versioning Show. Our goal is to keep you in touch with the people pushing the envelope on web design and development, mining their brains and sharing their insights and ideas so you can take your own work to the next level.

Think of The Versioning Show as an extra bonus publication just for you, that you can listen to anywhere, anytime, for free. In the spirit of the Versioning newsletter, we'll be keeping the shows short and to the point--usually around half an hour or so. We think that's just enough time to hear what someone cool is working on, and get inspired to go play with some new ideas.

The Hosts

The Versioning Show is hosted by two of our regular SitePoint contributors: Tim Evko and M. David Green. You may have seen their articles and watched their videos on SitePoint, or read their books and taken their courses on SitePoint Premium.

Tim Evko is a front-end developer, writer, and sometimes coherent thinker. You'll most likely hear him talking about performance, progressive enhancement, whiskey, large cuts of meat, or JavaScript. You can find him on Twitter at @tevko.

M. David Green enjoys creating articles, books, videos, and courses around JavaScript, CSS, semantic HTML, and agile engineering practices. He also coaches engineers through Agile That Works, and hosts the Hack the Process podcast. You can find him on Twitter at @mdavidgreen.

How to Get The Versioning Show

The Versioning Show is available right now as a podcast in the iTunes store, and we'll be releasing episodes with transcripts on SitePoint starting next week. We may be adding it to other podcast directories soon if you get in touch and let us know that there's interest. In the meantime, just search for Versioning in your favorite podcast listener, sit back and enjoy the show. (And be sure to leave feedback and a rating in iTunes to let us know what you think!)

Keep In Touch

If you're as excited about The Versioning Show as we are—and why wouldn't you be?—follow us right now on Twitter at @VersioningShow to get the latest information as soon as it comes out. You can also Tweet us there. And who knows, we may have something special planned in the coming weeks for our earliest and most loyal listeners who follow us there....

Continue reading %Announcing The Versioning Podcast%


by M. David Green via SitePoint

Above & Beneath: Featured Content Layout Effect with CSS

Today we’d like to share a little aquatic landing page template with some special effects with you. The idea is to show a big headline in the initial view and when a grid/menu icon is clicked, the view slides down (below the water) and some featured content or menu items get shown. The transitions are accompanied by some fitting background sounds.

The post Above & Beneath: Featured Content Layout Effect with CSS appeared first on jQuery Rain.


by Admin via jQuery Rain

Clipped SVG Slider

A simple slider, with morphing preview images animated using SVG properties.

The post Clipped SVG Slider appeared first on jQuery Rain.


by Admin via jQuery Rain

21 Digital Marketing Lessons from The Game of Thrones [Infographic]


If you are a Game of Thrones fan you would have just finished watching the Season 6 finale and would be eagerly awaiting the next season. Surely, you can’t wait enough for the battle of the Queens for the Seven Kingdoms.

All major players are moving into Westeros where we await to see how it all ends. Who gets the Throne? What happens to the major characters? What happens to some of the story lines and sub characters?

Whether you are a big Game of Thrones fan or not you can still learn a lot of digital marketing and content marketing tricks from these epic fantasy novels made into a TV series by HBO. Of course, HBO has a huge budget and an army of people working on the “on screen” and “off screen” content but some of the lessons we can learn are very simple and does not cost you an arm, leg or even a trip to the Wall (Night’s Watch).

GoT is a great example of content repurposing from books into a TV series. GoT takes advantage of massive amounts of user generated content. It also has legions of loyal social media followers.

by CENT Muruganandam via Digital Information World

Quick Tip: How to Throttle Scroll Events

One of the perils of listening to scroll events is performance degradation. The browser will execute the callback every single time the user scrolls, which can be many events per second. If the callback performs a bunch of repaints, this means bad news for the end user. Repaints are expensive, especially when you are redrawing large parts of the view, such as is the case when there is a scroll event.

The example below illustrates the issue:

See the Pen Unthrottled Scroll Events by SitePoint (@SitePoint) on CodePen.

Apart from performance degradation and being prone to causing seizures. This example illustrates what happens when the computer does exactly what you tell it to do. There is no smooth transition between background colors and the screen just flickers. Any hapless programmer may feel as if there is no hope left in this world. Isnʼt there a better way?

Regulating Events

One solution is to defer events and manage a bunch of them at once. There are two commonly used functions that can help us with this: throttle and debounce.

Throttle guarantees a constant flow of events at a given time interval, whereas debounce groups a flurry of events into one single event. One way to think about it is throttle is time-based and debounce is event driven. Throttling guarantees execution while debounce does not once grouping has occurred. If you want to know the specifics, check out this in-depth discussion of debounce versus throttling.

Debounce

Debounce solves a different problem, such as key presses with Ajax. When you type in a form, why would you send a request per keystroke? A more elegant solution is to group a burst of keystrokes into one event that will trigger the Ajax request. This fits within the natural flow of typing and saves server resources. With key presses, the interval between events isn't important, since users donʼt type at a constant rate.

Throttle

Since there are no guarantees with debounce, the alternative is to throttle the scroll events. Scrolling occurs on a given time span, so it is fitting to throttle. Once the user begins scrolling, we want to guarantee execution on a timely basis.

This technique helps with checking if we are at a specific part of the page. Given the size of the page, it takes many seconds to scroll through content. This enables throttling to fire the event only once at any given interval. Event throttling will make the scrolling experience smoother and guarantee execution.

Below is a poor manʼs event throttler in vanilla JavaScript:

Continue reading %Quick Tip: How to Throttle Scroll Events%


by Camilo Reyes via SitePoint

Multiple.js – Sharing Background Across Multiple Elements using CSS

Multiple.js is an experiment in sharing background across multiple elements using CSS.


by via jQuery-Plugins.net RSS Feed

Aurelia 1.0 and Meteor 1.4 released, plus an official React app builder

This week's JavaScript newsRead this e-mail on the Web
JavaScript Weekly
Issue 294 — July 28, 2016
Aurelia is a next-gen JavaScript client framework that Rob Eisenberg, formerly an Angular 2 core team member, first shared 18 months ago.
Aurelia

A new, official toolkit that brings together several tools to rapidly create React apps with no up-front build config. Official announcement and guide here.
Facebook

An extremely thorough tutorial/walkthrough extracted from ng-book, an Angular 2 book.
ng-book

PubNub
Learn to build your own AngularJS chat app with realtime messages and more in no time. View Tutorial.
PubNub   Sponsor

Microsoft open-sourced ChakraCore, the core of their JavaScript engine, in January. Now, they have implementations on Linux and OS X, as well as an experimental version of Node that uses it.
Limin Zhu

Jack Franklin takes a look at Higher Order Components, a design pattern that helps keep your React applications tidy, well structured and easy to maintain.
Jack Franklin

This update brings Meteor up to Node 4.4.7 (from 0.10.46), plus a jump from MongoDB 2.6 to 3.2.
Meteor

Parses your React project’s source files to generate a visual tree graph representing the React component hierarchy.
Team Gryff

Todd Motto explains when and why you should consider moving from Angular 1 to Angular 2 and some approaches from making the conversion.
Todd Motto

Jobs Supported by Hired.com

  • Web Developer at William Hill, GibraltarAre you are a Web Developer with excellent JavaScript coding skills? Our ideal candidate would be someone who enjoys JavaScript and has an interest to work cross-functions, pro-active throughout, with a focus on delivery. William Hill
  • Senior Full Stack Engineer with Gorilla Logic (Boulder, Colorado)Work with an industry leader in data driven marketing. We're looking for Sr. Software Engineers working on both frontend and backend dev for our client's big data platform. Read why the best engineers choose Gorilla Logic. Gorilla Logic
  • Front End Developerpriceline.com are seeking a full-time front end developer to join our growing team. Our creative, flexible company culture merges the agility of a start-up with the stability of an established, international public company. priceline.com

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

In brief

Ember.js 2.7 and 2.8 Beta Released news
Tilde Inc.

PHP Framework Laravel Selects Vue.js as Default JavaScript Framework news

The jQuery Foundation and Standards news
jQuery Foundation

Interactive ES6 cheatsheet: 9 sections, 31 code samples tutorial
In 5 minutes you'll be able to read and understand modern JavaScript code with 31 runnable code samples.
Swizec Teller  Sponsor

JavaScript Closures Explained by Mailing a Package tutorial
Kevin Kononenko

How to Build a REST API with AWS SimpleDB and Node.js tutorial node
Kyle Davis

A Step-by-Step TDD Approach on Testing React Components using Enzyme tutorial
thereignn

What Do the Popular JavaScript Tools Depend On? tutorial
Examining the dependencies of popular tools and frameworks including Angular, React, jQuery, and Aurelia.
Cody Lindley

Introducing Reduce: Common Patterns video
9 min video looking at the map() and filter() functions and how reduce can give a performance boost.
Mykola Bilokonsky

Learning How to Ride: An Introduction to Cycle.js video
Cycle.js is a declarative JS framework for building apps as pure functions.
YouTube

Download Rangle’s Official Angular 2 Training Book tutorial
This extensive training book covers the most important Angular 2 topics including how to get started with the Angular 2 toolchain and write scalable & maintainable applications.
Rangle.IO  Sponsor

Career.JS: Podcast Where 3 JS Devs Share Software Dev Career Advice podcast

Mixins Considered Harmful opinion
Dan Abramov

ECMAScript Version Detector: Paste in Code, See What Bits of Specs You're Using tools

Bi Sheng: A Static Site Generator Based on React and Markdown code
Benjy Cui

RE-Build: Build Regular Expressions with Expressive Semantics code
e.g. ("2").then.oneOf.range("0", "4").then.digit
Massimo Artizzu

MetricsGraphics.js: Time-Series Data Visualization Library code
Provides a simple way to produce common types of graphics with D3.
Almossawi and Ulmer

Curated by Peter Cooper and published by Cooper Press.

Stop getting JavaScript Weekly : Change email address : Read this issue on the Web

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


by via JavaScript Weekly