Select Page

Category: Coding

Creating Secure Password Resets With JSON Web Tokens

    When a user of your application has forgotten their password, it can and should be reset securely. To accomplish a secure password reset, I will demonstrate how to use JSON Web Tokens (JWT) to generate a URL-safe token. The JWT contains encoded information about the user and a signature that, when decoded, is validated to ensure that the token has not been tampered with. Once the JWT is validated, your application can securely allow the user to generate a new password, instead of sending them their forgotten one. The post Creating Secure Password Resets With JSON Web...

Read More

Understanding The Vary Header

The Vary HTTP header is sent in billions of HTTP responses every day. But its use has never fulfilled its original vision, and many developers misunderstand what it does or don’t even realize that their web server is sending it. With the coming of the Client Hints, Variants and Key specifications, varied responses are getting a fresh start. What’s Vary? The story of Vary starts with a beautiful idea of how the web should work....

Read More

Quick Wins For Improving Performance And Security Of Your Website

When it comes to building and maintaining a website, one has to take a ton of things into consideration. However, in an era when people want to see results fast, while at the same time knowing that their information online is secure, all webmasters should strive for a couple of things: Improving the performance of their website, Increasing their website’s security. Both of these goals are vital in order to run a successful website....

Read More

The Front-End Performance Challenge: Make Your Site Blazingly Fast And Win Some Smashing Prizes

Not too long ago, front-end performance was a mere afterthought. Something that was postponed to the end of a project and that didn’t go much beyond minification, asset optimization, and maybe a few adjustments on the server’s config file. But things have changed. We have become more conscious of the impact performance has on the user experience, and the tools and techniques that help us cater for snappy experiences have improved and are widely supported now as well....

Read More

Naming Things In CSS Grid Layout

When first learning how to use Grid Layout, you might begin by addressing positions on the grid by their line number. This requires that you keep track of where various lines are on the grid. Built on top of this system of lines, however, are methods that enable the naming of lines and even grid areas. Using these methods enables easier placement of items by name rather than number, but also brings additional possibilities when creating systems for layout....

Read More

What’s New With Git Support in Xcode 9

What You’ll Be Creating Apple’s latest IDE version, Xcode 9, is being released along with iOS 11 this September. And it’s a huge update! Fans of Git for source control management (SCM) are big winners in this upcoming release. Previous versions of Xcode had support for SCM, but it was never considered a first-class citizen. Xcode’s Git support was buggy and lackluster, paling in comparison to specialist tools such as SourceTree, which meant that developers had to jump between tools to be able to do advanced Git repository management tasks.  All this has changed in Xcode 9. Apple no longer sees SCM...

Read More

Creating Digital Signatures With Swift

The main purpose of a digital signature is to verify the integrity of some information. For a simple example, let’s say you had a file that was transferred over the network and you want to check that the entire file was transferred correctly. In that case, you would use a checksum. “A checksum is a small-sized datum derived from a block of digital data for the purpose of detecting errors which may have been introduced during its transmission or storage” — Wikipedia How do we derive that checksum? The best option is to use a hash. A hash function...

Read More

Quick Tip: How to Use Atom as a Git GUI

When you use Git as part of your workflow it can be very useful to have easy access to a GUI to help speed up your processes. There are a great many Git GUIs to choose from, but if you use Atom as your code editor you won’t have to go far to find some solid options.  Thanks the excellent ecosystem of extension packages created by the Atom community, as well as some in-built tools, there is a range of fantastic ways to get a Git GUI up and running right inside your editor. In this quick tip we’ll look at...

Read More

New Course: Code a Custom Drupal Module

What You’ll Be Creating If you want an easy way to create engaging, content-driven websites for you and your customers, you should give Drupal 8 a try. And Drupal modules allow you to take things a step further and create highly customized functionality for your site.  In our new course, Code a Custom Drupal Module, Envato Tuts+ instructor Derek Jensen will get you up and running with modules in no time. You’ll build a simple calculator module, and along the way you’ll learn about creating routes, controllers, parameters, and more. You can take our new course straight away with...

Read More
www.000webhost.com