Select Page

Category: Web Development

Introduction to the Stimulus Framework

There are lots of JavaScript frameworks out there. Sometimes I even start to think that I’m the only one who has not yet created a framework. Some solutions, like Angular, are big and complex, whereas some, like Backbone (which is more a library than a framework), are quite simple and only provide a handful of tools to speed up the development process. In today’s article I would like to present you a brand new framework called Stimulus. It was created by a Basecamp team led by David Heinemeier Hansson, a popular developer who was the father of Ruby on Rails. Stimulus is...

Read More

Single-Page React Applications With the React-Router and React-Transition-Group Modules

This tutorial will walk you through using the react-router and react-transition-group modules to create multi-page React applications with page transition animations. Preparing the React App Installing the create-react-app Package If you’ve ever had the chance to try React, you’ve probably heard about the create-react-app package, which makes it super easy to start with a React development environment. In this tutorial, we will use this package to initiate our React app. So, first of all, make sure you have Node.js installed on your computer. It will also install npm for you. In your terminal, run npm install -g create-react-app. This will globally...

Read More

Auto-Update Your WordPress Salts With WP-Salts-Update-CLI

Raise your hand if you manage more than five WordPress sites. Keep it raised if the number exceeds ten. WordPress security is a primary concern for all site owners, and it becomes even more grave if you have multiple sites to take care of. Because you cannot monitor all the sites all the time, you need a quick and easy fix to protect your sites from brute force attacks. WordPress security keys and salts offer a robust solution to harden your site security. They play a significant role in securing site cookies and stopping hackers from accessing your site.  Changing...

Read More

How to Set Up a Full-Text Search Using Scout in Laravel

Full-text search is crucial for allowing users to navigate content-rich websites. In this post, I’ll show you how to implement full-text search for a Laravel app. In fact, we’ll use the Laravel Scout library, which makes implementation of full-text search easy and fun. What exactly is the Laravel Scout? The official documentation sums it up like this: Laravel Scout provides a simple, driver-based solution for adding full-text search to your Eloquent models. Using model observers, Scout will automatically keep your search indexes in sync with your Eloquent records. Basically, Laravel Scout is a library that manages manipulation of the...

Read More

Testing in Laravel

Irrespective of the application you’re dealing with, testing is an important and often overlooked aspect that you should give the attention it deserves. Today, we’re going to discuss it in the context of the Laravel web framework. In fact, Laravel already supports the PHPUnit testing framework in the core itself. PHPUnit is one of the most popular and widely accepted testing frameworks across the PHP community. It allows you to create both kinds of tests—unit and functional. We’ll start with a basic introduction to unit and functional testing. As we move on, we’ll explore how to create unit and...

Read More
000webhost logo