Javascript

Typescriptでノードプロジェクトをセットアップする方法 — step-by-step Javascript tutorial on Progressive Robot

Typescriptでノードプロジェクトをセットアップする方法

サーバーサイドJavaScriptの記述は、コードベースが肥大化していくので困難な作業です。TypeScriptは、大規模なJavaScriptプロジェクトの構築・管理に役立つ型付け(オプション)スーパーセットです。これは強力な静的型付け、コンパイル、オブジェクト指向プログラミングなどの追加機能を持つJavaScriptとも考えられます。このチュートリアルでは、[Express](https://expressjs.com/)フレームワークのTypeScriptとの併用方法を説明します。

Read more
How To Work with JSON in JavaScript — step-by-step Javascript tutorial on Progressive Robot

How To Work with JSON in JavaScript

This tutorial provides an introduction to working with JSON in JavaScript. Some general use cases of JSON include: storing data, generating data from user input, transferring data from server to client and vice versa, configuring and verifying data.

Read more
Singleton Design Pattern in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Singleton Design Pattern in JavaScript

A Singleton only allows for a single instantiation, but many instances of the same object. The Singleton restricts clients from creating multiple objects, after the first object created, it will return instances of itself. Finding use cases for Singletons is difficult for most who have not yet…

Read more
How To Launch Child Processes in Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Launch Child Processes in Node.js

Since Node.js instances create a single process with a single thread, JavaScript operations that take a long time to run can sometimes block the execution of other code. A key strategy to work around this problem is to launch a child process to run multiple processes concurrently. In this tutorial, you will use the child_process module to create child processes while executing a series of sample Node.js applications.

Read more
CHAT