squares Created with Sketch.

Var vs Const vs Let

JavaScript first appeared 22 years ago in 1995,  in most of its lifetime there has been only one way to declare a variable using the var keyword.  Some declarations of var can have some unexpected behaviours due to scope. That's why with the sixth version of JavaScript ECMAScript 2015 developers decided to...

What is Object Oriented Programming?

Starting out with object orient programming or OOP for short can be a daunting concept. In this post, we will look at OOP in PHP but the concept can be shared across other programming languages such as Java, Python, Ruby, C++ and more. A quick look at OOP can make it appear more complex than your standard...

Getting Started with Classes in PHP - Bespoke Software - Scaffold

In my previous blog post, we looked at OOP and why you should be using it. If you missed it, you can get caught up by clicking here. Now that you’re up to date we can look at creating our first object. Object-oriented programming lets us group data as well as functions into a specific piece of functionality....

The Best of Javascript ES6

ECMAScript 6 is also known as ES6 and ECMAScript 2015. Some people call it JavaScript 6. Javascript ES6 has made some nice changes which make Javascript a lot easier to use. One of the common questions is it safe to use. A quick answer is yes it's safe. If you take a look at this web page. It shows current...

Getting Started with Sass

The more projects you work on as a developer the larger and more complex they seem to become. The narrative becomes the same with stylesheets as the project grows, the CSS gets harder to maintain efficiently. That is where SASS can help. SASS is a stylesheet language that extends the capabilities of CSS. It makes...

Reassigning Objects & Arrays using Const

When working with numbers, strings and booleans with const we know through our previous blog post var-vs-const-vs-let that you cannot reassign a const variable. The same goes for any const variables even objects or arrays. But unlike simple variables, objects and arrays have methods and properties that let you...

How Does Javascript Run

Javascript is a dynamic programming language also referred to as a scripting language. If you're like me you are currently thinking to yourself  'What the hell does dynamic mean in javascript'? That question led to this blog post. A dynamic programming language is a language that executes at runtime. Runtime is...