Node.js – How to create a HTTP server

By | 02/10/2019

In this post, we will see hot to create a HTTP server using Node.js.Node.js has a module called HTTP, which allows to transfer data using HTTP.With this module we can create an HTTP server that listens to server ports and gives a response back to the client. We open Visual Studio Code, create a new… Read More »

Python – Set

By | 30/09/2019

Set is an unordered collection of comma separated elements inside curly braces. The order of element is undefined and it is possible to add and delete elements and, it is possible to perform standard operations on sets like union, intersection and difference.In this post, we will see how to manage Set in Python. CREATE: ADD:… Read More »

Go

By | 27/09/2019

In this post, we will see what Go is and what we have to install, in order to use it.First of all, what is Go?Go (known as Golang too) is a programming language created by Google about 10 years ago.It is an open source project that is distributed under a BSD-style license to make programmers… Read More »

Category: Go

Swift – For and While

By | 25/09/2019

In this post, we will see how to manage For and While in Swift. FOR: If we run this code in Playground, this will be the result: WHILE: If we run this code in Playground, this will be the result:

Angular – Reactive Forms

By | 25/09/2019

From https://angular.io/guide/forms-overview:“Applications use forms to enable users to log in, to update a profile, to enter sensitive information, and to perform many other data-entry tasks.Angular provides two different approaches to handling user input through forms: reactive and template-driven. Both capture user input events from the view, validate the user input, create a form model and… Read More »

Design Patterns – Factory

By | 23/09/2019

From https://en.wikipedia.org/wiki/Factory_method_pattern:“In class-based programming, the factory method pattern is a  creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. This is done by creating objects by calling a factory method—either specified in an interface and implemented by child classes, or implemented in a base class and optionally… Read More »

React – How to create a project

By | 20/09/2019

From the official web site https://reactjs.org:“React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you compose complex UIs from small and isolated pieces of code called ‘components’.” In this post, we will see how to install React and how to create a simple application.First of all, we have to… Read More »

Swift – Array and Dictionary

By | 19/09/2019

In this post, we will see how to manage Array and Dictionary in Swift. ARRAY: If we run this code in Playground, this will be the result: DICTIONARY: If we run this code in Playground, this will be the result: