How to Crop or Resize an Image With JavaScript

It’s very easy to show a resized or cropped version of an image on a website using CSS. However, this doesn’t change the original image data. What if you want to create an actual cropped or resized version of an image for your visitors or clients? We’ve already published a couple of tutorials on how… Continue reading How to Crop or Resize an Image With JavaScript

Design lessons from the National Football League (NFL)

[unable to retrieve full-text content] While growing up in Western PA, like most kids, I grew up loving and playing football and becoming a Pittsburgh Steelers fan. As NFL devotees, we endured a surreal 2020 football season with the pandemic from empty stands replaced by cardboard fans to injury reports containing COVID19 infections. Yet, with… Continue reading Design lessons from the National Football League (NFL)

Understanding PHP Constructors

In this article, we’re going to discuss the basics of constructors in PHP. You’ll learn the purpose of PHP constructors and how to use them. What Is a Constructor? Here’s the official definition: Constructors are ordinary methods which are called during the instantiation of their corresponding object. As such, they may define an arbitrary number… Continue reading Understanding PHP Constructors

Anonymous and Arrow Functions in PHP

I’ve already covered the basics of functions in PHP in one of a previous tutorials. Even though PHP has a lot of built-in functions, it gives us the choice to define our own functions as well. There are different ways to define our own functions in PHP. PHP Functions in PHP: Return Values and Parameters… Continue reading Anonymous and Arrow Functions in PHP

Understanding Variable Scope in PHP

Variables are an important part of any programming language. You can use them to store all kinds of information like integers, floats, strings, arrays, the contents of a file, etc. The data stored in variables can then be manipulated by adding or removing information. Using variables also allows us to create loops and perform some… Continue reading Understanding Variable Scope in PHP

Creating Pretty Popup Messages Using SweetAlert2

Every now and then, you will have to show an alert box to your users to let them know about an error or notification. The problem with the default alert boxes provided by browsers is that they are not very attractive. When you are creating a website with great color combinations and fancy animation to… Continue reading Creating Pretty Popup Messages Using SweetAlert2

Using ipdata for Geolocation

When most people think of geolocation, they remember the familiar pop-up notifications saying that the “website wants to know your location”. But did you know that you can get geolocation information about your visitors with the IP address alone, without requiring any extra permissions? To web developers, geolocation is a treasure trove of information and… Continue reading Using ipdata for Geolocation

How to Create Your First Android App Step-by-Step

To create a native Android app, one that can directly use all the features and functionality available on an Android phone or tablet, you need to use the Android platform’s Java API framework. This is the API that allows you to perform common tasks such as drawing text, shapes, and colors on the screen, playing… Continue reading How to Create Your First Android App Step-by-Step

The Latest Research for Web Designers, January 2020

One of the most powerful tools we have in web design is consumer and industry data. It’s like a gauge that tells us whether we’re still heading in the right direction or it’s time to change course and adopt a new strategy or approach. Unless you’re combing the web for the latest news and reports… Continue reading The Latest Research for Web Designers, January 2020

How to Build an SEO Tool from Scratch

A quick Google search of the term “SEO tools” will give you a list of countless apps and software all claiming to help you get higher rankings. For SEO specialists and digital marketers, this can be both good and bad news. Good, because it’s a sign that the industry is constantly evolving. Bad, because finding… Continue reading How to Build an SEO Tool from Scratch

ECommerce Metrics That Matter

It’s nearly 2020, and every eCommerce brand should be using key metrics to pinpoint advertising, boost sales and improve fulfillment.  Emma Miller, Senior Editor at Bizzmark, calls metrics the “one thing that can make or break your online presence.” She goes on: “To succeed in the competitive online market, you need to set measurable goals,… Continue reading ECommerce Metrics That Matter

Create a Google Login Page in PHP

In this article, I’m going to explain how to integrate Google Login in your PHP website. We’ll use the Google OAuth API which is an easy and powerful way to add Google Login to your site. As a web user, you’ve probably experienced the hassle of managing different accounts for different sites. Specifically, when you have… Continue reading Create a Google Login Page in PHP

Easy Form Validation With jQuery

In our previous tutorial, we discussed how to implement basic form validation using some input attributes in HTML5 and a little Regex.  HTML5 Form Input Validation Using Only HTML5 and Regex Monty Shokeen In this tutorial, we will learn how to use a jQuery plugin to add form validation to your website. Using a jQuery… Continue reading Easy Form Validation With jQuery

Here’s How You Can Improve WordPress Code with Latest PHP Features

PHP is one of the most powerful and preferred scripting languages, and a huge number of WordPress sites are powered by it. However, developers faced several issues with this combo,and they are about to be answered. One of the main problems with WordPress and PHP up till now was mainly because of its backward compatibility… Continue reading Here’s How You Can Improve WordPress Code with Latest PHP Features

Build Your Own CAPTCHA and Contact Form in PHP

People write code every day to automate a variety of processes. We exploit the fact that computers are a lot faster and more accurate than humans, which lets us simplify a lot of mundane tasks. Unfortunately, these same abilities can be used to program computers to do something malicious like sending spam or guessing passwords.… Continue reading Build Your Own CAPTCHA and Contact Form in PHP

File Upload With Multer in Node.js and Express

When a web client uploads a file to a server, it is generally submitted through a form and encoded as multipart/form-data. Multer is middleware for Express and Node.js that makes it easy to handle this multipart/form-data when your users upload files. In this tutorial, I’ll show you how to use this library to handle different file upload situations… Continue reading File Upload With Multer in Node.js and Express

Get Started With Pusher: Using Presence Channels

In this series, we’ve been learning about Channels from Pusher, a platform that allows you to give your users the seamless real-time experience they want. Presence channels build on the security provided by private channels, but they add the benefit of knowing which users are subscribed and connected to that channel. The best part is how… Continue reading Get Started With Pusher: Using Presence Channels

An Overview of JavaScript Promises

This tutorial covers the basics of JavaScript promises, showing how you can leverage them in your JavaScript development. The concept of promises is not new to web development. Many of us have already used promises in the form of libraries such as Q, when.js, RSVP.js, etc. Even jQuery has something called a Deferred object, which… Continue reading An Overview of JavaScript Promises

Mobile App Development Trends That Are Expected to Roll Out In 2018

The market of different mobile applications is increasing with each passing day. In fact, it has penetrated into different walks of our daily lives. That is why there is a great demand for a wide variety of mobile applications. Even the most startup companies use apps to promote their businesses and earn great revenues every… Continue reading Mobile App Development Trends That Are Expected to Roll Out In 2018

Make Sure You Avoid These Security Mistakes in Your Next Project

Whether you’re building a website, application or server, make sure you don’t make these security mistakes on your next project. 1. Insufficient Backups Backups are a crucial part of running a anything online. They preserve your data in the event of a system crash or user error, and they can also save you from security… Continue reading Make Sure You Avoid These Security Mistakes in Your Next Project

How to Work With WordPress Term Meta: Term Metadata API

The first post in this series laid the groundwork for understanding taxonomies, terms, and their relationship within the context of WordPress. If you haven’t read it yet and you’re brand new to WordPress development, then I highly recommend reading through it as this post is going to build on top of everything covered in that… Continue reading How to Work With WordPress Term Meta: Term Metadata API

Animation for Beginners: How to Animate a Character Running

What You’ll Be Creating In this tutorial we will be animating a cycle of a character running. In this case, the character will appear to be running in place. If this run cycle were to be incorporated into a movie, perhaps a background scrolling from right to left would be behind the character. Walks and… Continue reading Animation for Beginners: How to Animate a Character Running

How to Create Custom View Controller Transitions and Animations

Introduction UIKit is a very powerful framework and provides various ways to transition between view controllers. Some of the animations provided by UIKit include horizontal sliding (via a push segue), vertical sliding, cross fade, and page curl. Sometimes, however, you need to have a custom transition between view controllers to create a compelling design or… Continue reading How to Create Custom View Controller Transitions and Animations