Jonathan Creamer
  • Home
  • About
  • Talks
  • Xbox

javascript

A collection of 8 posts

For of loops in Javascript one loop to rule them all
javascript

For of loops in Javascript one loop to rule them all

For the longest time, for in and for were the main loops you could use to iterate over collections of things in JavaScript. Then we got some fancy array methods like forEach, map,

  • Jonathan Creamer
    Jonathan Creamer
3 min read
javascript

What the Flux?

I've been really diving into wrapping my brain around React.js and Flux architecture the last couple of weeks. Not going to lie, I've been avoiding it. When I look at the docs

  • Jonathan Creamer
    Jonathan Creamer
6 min read
javascript

Require.js packages for building large scale angular applications

Require.js is one of my favorite ways to work with large JavaScript applications. It allows you to build AMD (asynchronous module definition) style modules to break up your application into small reusable

  • Jonathan Creamer
    Jonathan Creamer
3 min read
javascript

Object literals and prototypes in JavaScript

You think you know JavaScript and then little things like this happen... My co-worker Aaron who is a Visual Design Engineer is in the process of learning JavaScript and he asked me to

  • Jonathan Creamer
    Jonathan Creamer
2 min read
javascript

The state of angularjs controllers

Angular.js is based on the ever popular MVC architecture pattern. However, like many other JavaScript frameworks, MVC can very easily be muddied up and misused. Understanding the framework you're using, whether that

  • Jonathan Creamer
    Jonathan Creamer
3 min read
javascript

An angular.js event bus with postal.js

Ideally in an angular application, controllers are independent units of code that have no reference to any other controllers. There are cases though in which you may need to communicate with other controllers

  • Jonathan Creamer
    Jonathan Creamer
2 min read
javascript

Javascript Patterns Mediator vs Observer

An approach to separating your Ajax requests from your DOM is to use messaging. Messaging allows different parts of an application to communicate with each other without knowing that the others even exist.

  • Jonathan Creamer
    Jonathan Creamer
1 min read
javascript

Building Decoupled JavaScript Applications with Postal.js

Working with asynchronous code is one of the best features of JavaScript. With Ajax, it's very simple to request some JSON API, add a callback and update the UI with the result of

  • Jonathan Creamer
    Jonathan Creamer
2 min read
Jonathan Creamer © 2021
Latest Posts Ghost