MVC vs. MVP vs. MVVM

MVC is a fundamental pattern which has been tweaked quite a bit to fit various platforms. The common motivation behind the design pattern is a separation of concerns, cutting logic from UI (good for UI designers), make UI easier for unit testing, and the isolation of the data model.   MVC: Three components – View …

Read more

PHP Keeps Growing Up, first with 5.5 and Then 7

In older versions of PHP you would have to implement your own iterator from the Iterator interface, which would often result in a lot of boilerplate code. There are of course a number of built-in iterators that are implemented, but maybe you have need of something besides a callback, array, or glob iterator. Fortunately now …

Read more

The Interactive Game of Life: Conway Has Come to the Browser

A while back I had become fascinated with the mathematical game referred to as Conway’s Game of Life (a zero-player game and example of a cellular automaton). I was learning Python at the time and decided that it would be a good exercise to try and recreate the game using Python. While I did get …

Read more

jslint

Professional Javascript, Served Hot and Fresh just the Way you Like it

I tried to use some JSLint, or more accurately I should say invoking it by add use strict to you project, maybe add some professionalism to the gig. However, good luck getting your whole project running with it, you have to pick when to run it on a function by function basis. Even the newest …

Read more