Software Engineering

What's the difference between a framework and a library?

What’s a framework? What’s a library? Aren’t the two terms interchangeable? Is React a framework or a library? What about NodeJS? And what’s Rails? Who cares, anyway? So many good questions, you have.

Understanding Classes in Javascript

Integers, floats, strings, arrays, objects, functions, loops, scope? Piece of cake. Classes? Not so easy. Understanding what classes are, how they work, and how to incorporate them into your code is critical to developing any working enterprise application.

Syntax differences between Ruby and Javascript

I’ve been working with Javascript for a while now, and have gotten fairly comfortable with its syntax. I’m now also using Ruby again, which has a slightly different flavor. Here are some of the main syntactical differences between the two languages, in table format.

How to allow a child component to access and modify a parent's state in React

Let’s say your React application has a smart component (i.e. the component has its own state), and you want a child component to be able to not only access, but actually modify that parent component’s state.