ngCurrencyMask — Before the Extractions
A currency formatting library from August 2014 that shows Angular mastery before it became Angular decomposition.
13 posts
A currency formatting library from August 2014 that shows Angular mastery before it became Angular decomposition.
In April 2016, two months after his first virtual-dom compiler, Victor wrote a JavaScript validation library modeled on Laravel's rule syntax. The PHP patterns followed him across languages. They'd follow him for seven years.
Between November 2014 and October 2015, Victor was extracting Angular, building mobie, and polyfilling Node for the browser. During the same eleven months, React Native shipped, Redux was created, GraphQL was open-sourced, and the virtual-dom approach he'd independently arrive at was already winning.
Misko Hevery's most famous StackOverflow answer argued dirty-checking was fast enough. He was right on his hardware and wrong on yours. What it takes to prove a framework's creator wrong about their own design.
Victor spent two months reimplementing AngularJS's entire compilation pipeline — directives, scopes, dirty-checking, transclusion, expression parser — as a standalone library with zero dependencies. 120 commits, companion modules, then silence.
Victor's standalone component system for AngularJS — Node's EventEmitter, Backbone's extend, Angular's $compile. The missing link between the extractions and the framework.
A line-by-line comparison of Victor's parse.js against Angular 1.4.1's $parse. The extraction was almost verbatim — and incomplete in ways that matter.
Victor didn't just use AngularJS — he built a mobile UI framework to compete with Ionic. 289 commits, 79 versions, a GitHub organization, a docs site. Then silence.
Victor extracted AngularJS's internal expression parser as a standalone library. The code isn't the point. The trajectory is.
An introduction to AngularJS 1.3's $asyncValidators — what they are, how they work, and how to use them with ngModel.
A guide to unit testing AngularJS directives using Jasmine, Karma, and ngMock — from importing dependencies to compiling elements.
How to write unit tests for AngularJS applications using Jasmine and Karma — from setup to running your first tests.
An introduction to AngularJS directives: what they are, how normalization works, and how to create your own.