Cristian Salcescu's Blog, page 17

February 2, 2021

What Can We Learn From John Carmack on Productivity

It was 96 after Quake came out when I first heard about John Carmack. It was impressive to discover that he did all the game engine by…

Continue reading on Medium »

 •  0 comments  •  flag
Share on Twitter
Published on February 02, 2021 01:20

November 18, 2020

How to Create Objects in JavaScript

Objects are the main unit of encapsulation in Object-Oriented Programming. In this article, I will describe several ways to build objects in JavaScript. Those are:

Object literalObject.create()ClassesObject Literal

First, we need to make a distinction between data structures and object-oriented objects. Data structures have public data and no behavior. That means they have no methods.

We can easily create such objects using the object literal syntax. It looks like this:

const product = {
name: 'app...
 •  0 comments  •  flag
Share on Twitter
Published on November 18, 2020 03:38

November 16, 2020

Microblog React Project

Build an application using React, Redux, Redux Thunk,
Redux Toolkit, Material UI, and Axios.

This book takes a project-based learning approach by engaging you in building a practical project. The reader will learn things on the way by developing different parts of this application.

Creating this project requires basic JavaScript and React knowledge. For improving your JavaScript skills and functional programming techniques you may consider reading Discover Functional JavaScript and Functional Progr...

 •  0 comments  •  flag
Share on Twitter
Published on November 16, 2020 00:07

November 2, 2020

Microblog React Project

This book takes a project-based learning approach by engaging you in building a practical project. The reader will learn things on the way by developing different parts of this application.

Creating this project requires basic JavaScript and React knowledge. For improving your JavaScript skills and functional programming techniques you may consider reading Discover Functional JavaScript and Functional Programming in JavaScript. For an introduction to React concepts from a functional programming p...

 •  0 comments  •  flag
Share on Twitter
Published on November 02, 2020 00:17

October 30, 2020

How to Render a List with React, GraphQL, and Apollo

In this article, we are going to take a look at how to retrieve and display a list of objects using React Hooks, GraphQL, and Apollo client.

List Function Component

Let’s start by displaying a list of objects using a React function component.

import React from 'react';function List({posts}) {
return (

{posts.map(post =>

{post.title}

)}

);
}export default List;

The List function component takes a list of post objects and displays the title of each post in...

 •  0 comments  •  flag
Share on Twitter
Published on October 30, 2020 07:26

October 1, 2020

How to Render a List with React, GraphQL, and Apollo

In this article, we are going to take a look at how to retrieve and display a list of objects.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on October 01, 2020 05:39

September 8, 2020

Vue.js Composition API

The Vue.js Composition API provides a new way of managing reactivity. It is made of a set of Reactive API functions and plus the facility to register lifecycle hooks using imported functions.

In the Vue.js Composition API book, we are taking a look at how to implement this Reactive API from scratch. Then we will implement a master-details functionality.

Chapter 01: Building a Reactive API

We start our learning journey by first understanding what reactivity is how is implemented in Vue 3. Imagine we...

 •  0 comments  •  flag
Share on Twitter
Published on September 08, 2020 03:50

September 1, 2020

Functional Programming in JavaScript

In Functional Programming in JavaScript, you will find how to use JavaScript as a functional programming language.

It turns out that JavaScript has everything it needs to be used as a functional language. We just have to remove features from the language starting with the ‘this’ keyword.

Functions are values. Functions can operate on other functions.
Inner functions can access variables from the outer functions even after the outer functions have executed.

Functional programming makes code easier to...

 •  0 comments  •  flag
Share on Twitter
Published on September 01, 2020 23:00

August 31, 2020

Functional Architecture with React and Redux

With the Functional Architecture with React and Redux book, you are going to experience the functional programming style by developing several applications with an incremental level of complexity. I encourage you to write all these applications yourself.

Functional programming is a programming paradigm that promotes the use of pure functions and immutable values aiming to make reading and understanding an application easier.

Functional programming is to a large extent about data transformations. T...

 •  0 comments  •  flag
Share on Twitter
Published on August 31, 2020 00:16

June 18, 2020

Engage all your senses when learning

A look at audio, visual and discover by doing learning styles

Continue reading on Programming Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on June 18, 2020 13:01