JavaScript

Showing 100-108 of 149 results
EngineeringIcon ChevronTechnology

Learn to Code: Wisdom and Tools for the Journey

By Nick McCrea

It's no surprise that more and more people, from all kinds of backgrounds, are deciding to learn to code. But, each person who tackles the task is soon faced with an unpleasant reality: Learning to program is hard. Contrary to expectations, the feeling of "I don't get it," may persist unabated long into the journey, making once bright-eyed beginners feel hopeless, lost, and ready to give up. The moral of the story is this: Be prepared. The path to programmer paradise is a long one, and without the right mindset at the beginning, it can quickly lose its appeal. In this article, I'll attempt to give you some guidance on what to expect on your journey, how best to go about it, and what tools and resources you may find helpful along the way.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Debugging Memory Leaks in Node.js Applications

By Vlad Miller

Memory leaks in long running Node.js applications are like ticking time bombs that, if left unchecked in production environments, can result in devastating outcomes. These bugs are often considered to be hard to find. However, with the right tools and a strategic approach, memory leaks can not only be solved but also avoided in the future. In this article, Toptal engineer Vladyslav Millier gives us insight into what memory leaks are, how some sophisticated debugging tools can be used to find memory leaks, and how to plug them once and for all.

11 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

The GWT Toolkit: Build Powerful JavaScript Front Ends Using Java

By Alberto Mancini

The GWT Web Toolkit, formerly known as Google Web Toolkit, is a set of development tools for building and optimizing complex browser-based applications using the Java programming language. What makes GWT not "yet another Java tool to write web apps," is the fact that the heart of the toolkit is a compiler that converts Java into JavaScript, enabling developers to write front-end web applications while leveraging all of Java's strengths.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Towards Updatable D3.js Charts

By Rob Moore

When Mike Bostock created D3.js, he introduced a tried and true reusable charts pattern for implementing the same chart in any number of selections. However, the limitations of this pattern are realized once the chart is initialized. In this article, Toptal engineer Rob Moore presents a revised reusable charts pattern that leverages the full power of D3.js.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Software Reengineering: From Spaghetti to Clean Design

By Juan Pablo Scida

Inheriting someone else’s code can be a nightmare, especially when the code is poorly designed and lacks documentation. In this post, Toptal Engineer Juan Pablo Scida provides a case study of how he reengineered a chat server written in Node.js, transforming its original spaghetti code into a cleanly architected and designed piece of software.

10 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Taming WebRTC with PeerJS: Making a Simple P2P Web Game

By Mahmud Ridwan

WebRTC has opened doors to all kinds of new peer-to-peer web applications and games that can run in the browser without the need of additional plugins. However, being a relatively new technology, it still poses some unique challenges to developers. PeerJS aims to tackle some of those challenges by providing an elegant API and insulating developers from WebRTC’s implementation differences. In this article, Toptal engineer Mahmud Ridwan provides an introductory tutorial to building a simple, peer-to-peer web game using PeerJS.

8 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Responsive Design Is Not Enough, We Need Responsive Performance

By Vedran Aberle Tokić

Between square inch smart wristwatches and mammoth smart TVs, a responsive website capable of adapting to a wide array of screen sizes and device capabilities is something no one complains about. However, many websites are still plagued by desktop-first design paradigms, or mobile-first paradigms with absolutely no focus on performance. These traditional approaches to responsive web design have various shortcomings. Fortunately, some simple ideas can help solve these problems.

8 minute readContinue Reading
EngineeringIcon ChevronTechnology

Straightforward React UI Testing

By Swizec Teller

Using React.js props your application's front-end. In particular, testing user interactions and viewing renderings is vastly improved with React UI testing.

10 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Ultimate In-memory Data Collection Manipulation with Supergroup.js

By Sigfried Gold

In-memory data collection manipulation is something that we often need to do in data-centric reporting and visualization applications. When needed, we often tend to resort to complex loops, list comprehensions, and other suboptimal means, which can easily end up being a huge mess of hard-to-maintain spaghetti code. Supergroup.js is an in-memory data manipulation library that can be used to solve some common data manipulation challenges on limited datasets.

11 minute readContinue Reading

Join the Toptal® community.