Select Page

Category: Web Development

Stimulus: A JavaScript Framework for People Who Love HTML

Stimulus is a “modest JavaScript framework”, built by the folks at Basecamp who brought you Rails. It is, in many ways, the opposite of other modern frameworks available today. While you might see some similar concepts and naming, Stimulus is very different in some fundamental ways. We’ll discuss those differences briefly, and then build our first application with Stimulus. The DOM: A Place for State? The core concepts of many modern frameworks lie in separating “state” from the “DOM”. In this way, the DOM acts only as a client to the data it is representing. Stimulus flips this concept...

Read More

My Favorite Front-End Development Extensions for Visual Studio Code

Visual Studio Code is one of the newest kids on the IDE “block” and it’s making a lot of noise. It’s taken a little while to gain traction, perhaps because it’s one of Microsoft’s few open source products, but it’s taken the open source community by storm. Developers who once swore their allegiance to Sublime Text 3 and Atom are slowly being converted by the power and simplicity of VS Code–not to mention its incredible library of extensions. I began my own coding life on Sublime Text 3, moved to Atom, then PHPStorm, then after my subscription expired with...

Read More

Easier React Native Development With Expo

Expo is a collection of tools that make it easier to code React Native apps. In this tutorial, I’m going to show you how you can quickly create React Native apps using Expo. With Expo, developers can create React Native apps without all the frustrations that come with installing and configuring software dependencies such as Android Studio, Xcode, or all the other tools which are needed to develop and run a React Native app.  In this tutorial, I’m going to show you how to create a simple memory game using Expo. Along the way you’ll also learn the following:...

Read More

Introduction to Multiprocessing in Python

The multiprocessing package supports spawning processes using an API similar to the threading module. It also offers both local and remote concurrency. This tutorial will discuss multiprocessing in Python and how to use multiprocessing to communicate between processes and perform synchronization between processes, as well as logging. Introduction to Multiprocessing Multiprocessing works by creating a Process object and then calling its start() method as shown below. from multiprocessing import Process def greeting(): print 'hello world' if __name__ == '__main__': p = Process(target=greeting) p.start() p.join() In the example code above, we first import the Process class and then instantiate the...

Read More

Custom Events in Laravel

In this article, we are going to explore the basics of event management in Laravel. It’s one of the important features that you, as a developer, should have in your arsenal in your desired framework. As we move on, we’ll also grab this opportunity to create a real-world example of a custom event and listener, and that’s the ultimate goal of this article as well. The concept of events in Laravel is based on a very popular software design pattern—the observer pattern. In this pattern, the system is supposed to raise events when something happens, and you could define...

Read More