Wednesday, January 20, 2016

10 Best jQuery and HTML5 WYSIWYG Plugins

HTML5 WYSIWYG (What You See Is What You Get) editors are always high in demand. But there are now so many of them around that it's hard to find the best ones. In today's post we are going to present you what I think are 10 of the very best jQuery and HTML5 WYSIWYG plugins just to save your time finding the plugin that best fits your needs.

1. Froala

Froala WYSIWYG HTML Editor is an easy to integrate and easy to use plugin that requires minimal coding knowledge. It requires jQuery 1.11.0 or higher and the iconic font named Font Awesome 4.4.0 . In combination with all the UI and UX features it has, it also comes with a strong defence mechanism against XSS attacks.

Continue reading %10 Best jQuery and HTML5 WYSIWYG Plugins%


by Ritesh Kumar via SitePoint

How to Build Your Online Reputation and Gain More Followers

How to Build Your Online Reputation and Gain More Followers

If you were to go online shopping, you would prefer to buy from an e-commerce site with a meritable online reputation, right?

The power of social media is not a secret anymore. Almost every business now leverages the different social media channels to improve their presence and branding. If everyone is in social media, how can your brand stand out?

by Guest Author via Digital Information World

You’ve Never Seen A Cooler Like This Before. Get It Free!

You've never seen a cooler like this before. Get it free!

It's never too soon to start daydreaming about warmer days. And while you're at it, why not daydream about your next beach day or tailgate with the high-tech cooler of your dreams? (Okay, you may not have cooler dreams yet, but you're about to.) Win the Coolest Cooler worth $499 at SitePoint Shop.

Sure, the Coolest Cooler will store your snacks and drinks just like a regular cooler. But does a regular cooler whip up margaritas with a high-performance blender? Or play your favorite music with the built-in waterproof Bluetooth speaker? Or charge your phone when you're nowhere near an outlet? The Coolest Cooler does that and more—it's got a bottle opener, cutting board, extra-wide rolling tires for easy transport, storage for utensils, and LED lid light for after-hours partying, and plenty more.

It's also really easy to enter to win one. Just head over to SitePoint Shop and submit your email address—that's it. Got a few minutes to spare? Send the giveaway link to everyone you know. You'll get extra entries for yourself when others enter using your referral link.

Go ahead and daydream. And then enter to win the Coolest Cooler at SitePoint Shop!

Continue reading %You’ve Never Seen A Cooler Like This Before. Get It Free!%


by SitePoint Offers via SitePoint

The End of Passwords or Privacy? It’s Your Call

Having a device that knows you better than your mother could be great for security. But it also marks a big change in the power dynamic. Are you ready for that?

Continue reading %The End of Passwords or Privacy? It’s Your Call%


by Alex Walker via SitePoint

Counting the “Ago” Time: How to Keep Publish Dates Fresh

It’s common to present dates on the Web in a format such as Published on September 12th, 2015, or 09/12/2015, 09:41:23 and 2015-09-12.

Each of these examples tells the full date and/or time of some kind of activity – be it a published article, or a reader comment, or perhaps an uploaded video.

Date formats like this might seem perfectly reasonable. After all, they’re informative and human-readable! Well yes, but “human-readable” doesn’t necessary mean users will readily be able to understand how recently the activity has occurred. The Web is a fast-moving place, and giving your content a sense of freshness could be the key to engaging with your audience! So, let’s look at how we could improve on these common date formats.

A Little Trick

Once again, let’s say you have stumbled on a post that was actually published just a couple of minutes ago, but the subheading of the post states this:

Published on September 12th, 2016

… or this:

Published on 2016-09-12, 09:41:23

The problem with these messages is that they don’t communicate the feeling that your website has just been updated or that you do that very often. So, surely it be more inviting – and much clearer – to present the time this way:

Published 2 minutes ago

Seen this many times before? But how many of you have built this into your projects? Take Facebook for example: what would it look like if they presented the dates for the latest content as in my first example? Compare the left and right columns in the following image:

timestamp formats compared

The left column’s dates aren’t that attractive, are they? I’ll wager the right hand examples are more appealing to you. Knowing that the content is fresh is very important – especially on the social networks, where people are more likely to ignore content that’s old or not clearly timestamped.

Continue reading %Counting the “Ago” Time: How to Keep Publish Dates Fresh%


by Osvaldas Valutis via SitePoint

Creating a Multiselect Component as a Web Component

Web applications become every day more complicated and require a lot of markup, scripts and styling. To manage and maintain hundred kilobytes of HTML, JS, and CSS we try to split our application into reusable components. We try hard to encapsulate components and prevent styles clashing and scripts interference.

In the end a component source code is distributed between several files: markup file, script file, and a stylesheet. Another issue we might encounter is having long markup cluttered with divs and spans. This kind of code is weakly-expressive and also hardly maintainable. To address and try to solve all these issues, W3C has introduced Web Components.

In this article I'm going to explain what Web Components are and how you can build one by yourself.

Meet Web Components

Web Components solve all these issues discussed in the introduction. Using Web Components we can link a single HTML file containing the implementation of a component and use it on the page with a custom HTML element. They simplify the creation of components, strengthen encapsulation, and make markup more expressive.

Web Components are defined with a suite of specifications:

  • Custom Elements: allow to register a custom meaningful HTML element for a component
  • HTML Templates: define the markup of the component
  • Shadow DOM: encapsulates internals of the component and hides it from the page where it's used
  • HTML Imports: provides the ability to include the component to the target page.

Having describe what Web Components are, let's have a look at then in action.

Continue reading %Creating a Multiselect Component as a Web Component%


by Artem Tabalin via SitePoint

6 Web Development Myths on Microsoft Edge

This article is part of a web development series from Microsoft. Thank you for supporting the partners who make SitePoint possible.

You may (or may not) have heard, Microsoft Edge is the default browser for Windows 10 and has a completely different rendering engine (EdgeHTML) which renders HTML5 Web Standards more like Chrome, Firefox, and Safari browsers than older versions of Internet Explorer. That should be good news for web devs especially when you combine the news that Microsoft has ended lifecycle support for IE8, IE9, and IE10 too. Microsoft Edge is also very different from other versions of IE since there are no BHOs (Browser Helper Object) or ActiveX components other than PDF or Flash.

Microsoft Edge browser also has leading support for ES6 (ECMA Script 6); in fact it’s already supported up to 90% at the time I was writing this. We also know that the Edge JavaScript engine, ‘Chakra’, has now become open-sourced. This means developers can use this engine outside of browser environment.

But with all this progress, I’ve also observed web developers on social media or forums showing off code that may web apps are not taking full advantage of Microsoft Edge, although they think it works, their code is still treating Microsoft Edge more like Internet Explorer than Chrome, Firefox, or Safari. Maybe some developers are assuming that Microsoft Edge is IE11--let me tell you this, Microsoft Edge IS NOT IE11. So I’d like to address the myths that web developers sometimes assume or may be unaware of about Microsoft Edge browser. Maybe, maybe not; anyway, I just want to help by sharing this. So, let’s look at six top web development myths about Microsoft Edge.

Myth #1

Microsoft Edge is using Trident rendering engine.

FACT CHECK: FALSE!

The truth is Microsoft Edge has a new rendering engine that continues to evolve called ‘EdgeHTML‘ and the JavaScript engine called ‘Chakra‘. It’s also even more standards-compliant as measured by HTML5Test:

HTML5Test

How to Check This

To identify the Microsoft Edge and EdgeHTML version, just go to Settings (the dot-dot-dot icon on the top right) and scroll down to the bottom.

EdgeHTML settings

Myth #2

HTML Document Declaration. Some developers think that Microsoft Edge does not/cannot use this line:

<!DOCTYPE html>

FACT CHECK: FALSE!

The truth is the Microsoft Edge browser is better off using the HTML5 document type and telling the browser EdgeHTML to render as an HTML5 document. In fact, Internet Explorer 9+ has supported <!DOCTYPE html> in similar manner.

How to Use It?

Use at the top or the first line in the HTML document before <head /> element. Example:

HTML Document declaration

Continue reading %6 Web Development Myths on Microsoft Edge%


by Riza Marhaban via SitePoint