Friday, September 16, 2016

Promoted Pins: How to Advertise on Pinterest

ms-podcast215-vincent-ng-600

Do you use Pinterest promoted pins? Want to discover how they work? To explore everything you need to know about promoted pins on Pinterest, I interview Vincent Ng. More About This Show The Social Media Marketing podcast is an on-demand talk radio show from Social Media Examiner. It’s designed to help busy marketers and business [...]

This post Promoted Pins: How to Advertise on Pinterest first appeared on .
- Your Guide to the Social Media Jungle


by Michael Stelzner via

Capital of Children

Billund is the Capital of Children. Here children learn through play, and are creative citizens of the world
by via Awwwards - Sites of the day

Thursday, September 15, 2016

How to Follow the Lead of the Most Powerful Content Marketers - #infographic

How to Follow the Lead of the Most Powerful Content Marketers - #infographic

When Google announced it would be using content to validate worthwhile websites and experts in its super secret way (aka its algorithm), companies clamored to create content. What most didn’t understand was that Google wasn’t saying the site with the most content wins. It was looking for quality content; but it’s view of “quality” and that of your high school English teacher is different.

Much different.
For Google to notice you and your brand, you need good quality content but quality is a designation only your audience can give. And your audience has to be larger than your mom and best friend. That’s where “content marketing” comes in.

Content marketing is not sales-y. It’s helpful. If you do it wrong, you’ll alienate your audience and Google will shun you. There’s a lot at stake so you want to make sure you’re doing it right.

What is Content Marketing?
It’s not a new concept, but just like so many other things in life, we’ve finally given name to something that’s been around for years. John Deere and Michelin (tires) were among the first companies that created content in order to help their audience and to sell more products. Because when you help someone, they remember it.

But how can you have the same success?
Luckily, you don’t have to go it alone. There are a number of leaders in content marketing and we can learn a lot from them. Here are some great examples.

by Guest Author via Digital Information World

Your Guide to Creating a Keyword Strategy

Your Guide to Creating a Keyword Strategy

This article is part of an SEO series from WooRank. Thank you for supporting the partners who make SitePoint possible.

When creating and implementing a digital marketing campaign, you first need to design your keyword strategy. This strategy is more than just finding keywords that will bring you the highest number of visitors. It’s a top-to-bottom concept that will influence how you design your site, select keywords, optimize your pages and measure the success of your campaign.

Define Your Keyword Goals

Before you can start delving into keywords, search intent, search volume and click-through rate, you have to define what it is you’re trying to accomplish with your SEO. After all, how can you be successful if you don’t even know what you want? There are two basic goals when it comes to SEO campaigns:

  • Conversion: This is the most common campaign goal when it comes to digital marketing. Using a conversion goal means you want your keywords to attract users that wind up converting on your website, whether that be making a purchase, completing a contact form, signing up for an email newsletter or downloading an app. If you go this route, you should focus more on longtail commercial keywords.
  • Branding: This campaign is looking to generate lots of impressions and pageviews and focuses less on conversions that happen on the landing page, if they are even possible. For a branding campaign, ranking highly is its own reward as it establishes your brand as a thought leader and an important player in your niche.

You aren’t constrained to one or the other though. You can use a hybrid keyword strategy by dedicating the majority of your keywords (around 80-90%) to a longtail approach, while reserving the remaining for keywords that will get your brand and content in front of a lot of eyeballs.

How you define success will impact the keywords you choose and how you evaluate their performance.

Measuring Success

Before you begin any marketing campaigns you need to ask yourself, "what does success look like?" Or, what metric will you track to determine if you’re achieving your campaign goal? When talking about an SEO campaign, most people first think of measuring improvements to your site’s ranking, or increasing the number of new visitors. If you’re running a branding campaign, then these are your top metrics to track. However, you should also keep track of important SEO indicators like click through rate (CTR), time spent on site and bounce rate, as these metrics will help you evaluate your landing pages’ relevance to the target keywords and content quality.

If you are measuring your campaign against a conversion goal, determining success by SERP ranking and traffic is overly simple, and can even cause you to waste time and effort optimizing pages for keywords that aren’t achieving your goal. To measure your conversion campaign, use your analytics to evaluate visitor behavior by keyword. Some important metrics to track for conversions:

  • Pages/visit: How many pages are users viewing per visit? This will tell you whether or not your site is engaging users and piquing their interest in your products or services.
  • Bounce rate: A high bounce rate can be a sign of a few different issues with your keyword, your page or both, which we’ll cover in a little bit.
  • Average time on site: Do users leave your page right after arriving? This is often closely related to bounce rate — low time on site and high bounce rate is a sign that your page’s content doesn’t jive with your keywords.

And, finally, the most important metrics to track for conversion campaigns are conversions and conversion rate. The reason you want to track indicators other than just conversions is because that number alone doesn’t give you much context, and you could otherwise be missing opportunities to target keywords that have higher conversion rates.

Google Analytics conversion tracking

How to Choose Keywords

Now that you know what endgame you’re optimizing for, you can start to find keywords to target with your SEO. To get the best list possible, start with your product (or service). Ideally, you know this inside and out. Start by brainstorming keywords that come to mind when you think of your business, or how you would answer the question "What is my website about?" or “What does my business do?”

Since Google’s Hummingbird update, it’s more important than ever to base your keyword strategy around the way humans use and interact with search engine results. Target keywords that will help you answer questions that users would ask in order to learn more about your industry, company and products.

One nice in-house resource you have for this is your very own customer service team. Keep a record of the conversations you have with your customers, or if you’re big enough, have your customer success team keep track of their tickets. Take note of:

  • The most commonly asked questions your CS team handles.
  • Any particular features and/or services people ask about or mention, both positive and negative.
  • Any concerns or comments left by customers.

This exercise will result not only in a better experience for your customers, but a solid list of potential keywords for you as well. If people are contacting you to ask a question or leave a comment, you can bet they’ve already done so online.

If you have a search bar on your site, update the settings in your Google Analytics account to track what your users are searching for. Click on the Admin tab then under View, select View Settings and switch Site search Tracking on. You can then provide the query parameter used in your search URLs to begin tracking. This will help you to understand user intent, as well as highlighting content gaps where no relevant content exists on your site based on the search query used.

Continue reading %Your Guide to Creating a Keyword Strategy%


by Greg Snow-Wasserman via SitePoint

Angular 2.0 Released, and the Future of ES6

This week's JavaScript newsRead this e-mail on the Web
JavaScript Weekly
Issue 301 — September 15, 2016
Even in its pre-release versions, Angular 2 has seen heavy use but the core team is now happy with the Angular 1 successor’s stability and featureset. Rewatch the live reveal here. There are also links to lots of tutorials here.
Angular Core Team

Netflix and TC39’s Jafar Husain gives a thorough and engaging 35 minute talk on where JavaScript is headed now ES6 has become popular.
Jafar Husain

An introduction to, and explanation of, the benefits of static typing in JavaScript while using Facebook’s Flow.
Aria Fallah

Bandwidth
Check out a 10-minute tutorial on using React JS with Redux & Flux. If you’re creating a new web app, you may find it useful.
Bandwidth   Sponsor

Nicolás Bevacqua says template literals are strictly better than strings and should become the new default for the post-ES6 era versus single and double quoted strings.
Nicolás Bevacqua

A look at various JavaScript refactoring techniques to make your code more generic and strike the balance between readability and reusability.
Paul Wilkins

A core Angular developer demonstrates how common scenarios of using dependency injection in Angular 1 can be implemented in Angular 2.
Victor Savkin

A modern JavaScript debugger from Mozilla built as a React and Redux-powered webapp.
Mozilla Hacks

At Full Stack Fest, Alex Castillo demonstrated the visualization and interpretation of brainwaves in the browser using Angular. 40 minutes.
Alex Castillo

Jobs Supported by Hired.com

  • Software Engineer - PHP - Leipzig, GermanyWe are looking for a skilled PHP developer to help shape the technical future of the world’s largest online hotel search. If you're up for the challenge then we want to hear from you. Trivago
  • JavaScript Engineer (Minneapolis, MN)As a JavaScript Engineer at Leadpages, you'll collaborate to design innovative solutions, write code to power the number one landing page builder and build applications to meet the demands of our growing marketing platform. Leadpages
  • Stop Applying to Jobs - Let Companies Come To YouOn Hired, engineers typically get 5+ job offers in 1 week. Find that new opportunity you've been craving and get access to 4,000+ companies instantly. Hired.com

In brief

V8 5.4 Provides Memory and Performance Improvements news
In beta until Chrome 54. Offers 10-13% better performance over 5.3.
Michael Hablich

Onsen UI 2 Released: A Hybrid Mobile App Framework and Toolset news
Onsen UI

Two free weeks of JavaScript training: React Native, Async, GraphQL course
Learn from Google, Twitter and Netflix alums about Event Loops, React, Flux, Async Coding & Front End DevOps
ForwardJS Courses  Sponsor

Tutorial: Building a Mobile App with Cordova and Vue.js tutorial
Michael Viveros

Pragmatic Uses of Monkey Patching in JavaScript tutorial
Vildan Softic

Why and How to Use Default Function Arguments in JavaScript tutorial
Wes Bos

Using Webpack to Hot-Reload Your Backbone-Marionette-Ampersand Project tutorial
Mike Macaulay

AJAX Requests in React: How and Where to Fetch Data tutorial
Dave Ceddia

The Modernization of Reactivity tutorial
A look at reactive programming technologies and techniques from a JavaScript perspective.
Kris Zyp

Learn How to Use Design to Make Your Websites & Apps Addictive course
Combine JavaScript & design to make apps that "force" users to use your apps day after day.
Designlab  Sponsor

The 'Ultimate' Introduction to React video
2 devs spend an hour building a tic-tac-toe game. Light hearted and you might like the style.
Jordan Leigh

Testing JavaScript with Jest video
Kent C. Dodds

Beyond The Tab: Executing JavaScript Across Browser Contexts video
Andrew Dunkman

Is Your JavaScript Function Actually Pure? opinion
A little Twitter experiment got André thinking about purity in JavaScript.
André Staltz

Does ES6 Mean The End Of Underscore / Lodash? opinion
Derick Bailey

Idea for Improving The Syntax of EJS Templates opinion
Dr. Axel Rauschmayer

React Native Elements Cross-Platform UI Toolkit code
React Native Community

JavaScript Cookie: A Simple, Lightweight API for Handling Cookies code

Tide: A New Flux-Like State Management Library for React code

Jest: Painless JavaScript Testing from Facebook code
Not new but has picked up momentum recently.
Facebook

Inferno: A Fast, React-Like Library for Building Modern UIs code

match-sorter: Simple, Expected, and Deterministic Best-Match Array Sorting code
Kent C. Dodds

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

5 Reasons to Use JPA / Hibernate

Before we dive into the reasons to use JPA, let me quickly explain what it is. The Java Persistence API (JPA) is a specification for object-relational mapping in Java. As for most standards within the Java Community Process, it is implemented by different frameworks. The most popular one is Hibernate.

All JPA implementations support the features defined by the specification and often extend that with custom functionality. This provides 2 main advantages:

  1. You can quickly switch your JPA implementation, as long as you’re not using any proprietary features.
  2. The different implementations can add additional features to innovate faster than the standard. Some of them might become part of the specification at a later point in time.

OK, enough theory. Let's start with a short introduction to JPA and then have a look at some reasons to use it.

Getting Started with JPA

It’s, of course, impossible to explain JPA in all its depth in just one short section. But I want to show you a basic use case to make you familiar with the general concepts.

Lets begin with the persistence.xml file. Its structure is defined by the JPA standard and it provides the configuration to the persistence provider, first and foremost the database driver and connection information. You can see a simple example configuration in the following code snippet.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence xmlns="http://ift.tt/1cKbVbQ" xmlns:xsi="http://ift.tt/ra1lAU" version="2.1" xsi:schemaLocation="http://ift.tt/1cKbVbQ http://ift.tt/1kMb4sd">
    <persistence-unit name="my-persistence-unit">
        <description>My Persistence Unit</description>
        <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
        <exclude-unlisted-classes>false</exclude-unlisted-classes>
        <properties>
            <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
            <property name="hibernate.generate_statistics" value="true" />

            <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />
            <property name="javax.persistence.jdbc.url" value="jdbc:postgresql://localhost:5432/test" />
            <property name="javax.persistence.jdbc.user" value="postgres" />
            <property name="javax.persistence.jdbc.password" value="postgres" />
        </properties>
    </persistence-unit>
</persistence>

After you have configured your persistence provider, you can define your first entity. The following code snippet shows an example of a simple entity mapping.

@Entity
public class Author {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id", updatable = false, nullable = false)
    private Long id;

    @Version
    @Column(name = "version")
    private int version;

    @Column
    private String firstName;

    @Column
    private String lastName;

    @ManyToMany(mappedBy="authors")
    private Set<Book> books = new HashSet<Book>();

    // constructors, getters/setters,
    // and everything else is as usual
}

The @Entity annotation defines the Author class as an entity. It gets mapped to a table with the same name, in this case the author table.

The id attribute is the primary key of the entity and database table. The JPA implementation automatically generates the primary key value and uses the version attribute for optimistic locking to avoid concurrent updates of the same database record.

The @Column annotation specifies that this attribute is mapped to a database column. Similar to the @Entity annotation, it uses the name of the attribute as the default column name.

The @ManyToMany annotation defines a relationship to another entity. In this example, it defines the relationship to the Book entity which is mapped to another database table.

As you can see, you only need to add a few annotations to map a database table and use other features like optimistic locking and primary key generation.

5 Reasons

Continue reading %5 Reasons to Use JPA / Hibernate%


by Thorben Janssen via SitePoint

Apple Plug

opl-small

Hilarious One Pager for the 'Apple Plug' that takes a jab at Apple's new iPhone 7 announcement with no headphone socket. The execution is perfect with a matching Myriad Pro font, lovely parallax scrolling of products and on-point copy. I'm not sure how long this will last online but stoked we've "preserved" it on One Page Love:)

by Rob Hope via One Page Love