Angular2 CLI, Lazy Loading, and AOT Compilation

a2

Lazy-loading of routes is directly supported in the current Angular platform and they are very easy to organize with NgModules.  Additional performance benefits may be realized from the platform by employing AOT (Ahead Of Time) compilation of…

A Complete Angular2 Micro-Application With Lazy-Loaded Routes

a2

Most of my prior Angular 2 demos focused on one or two specific features of the platform and/or integration of third-party code with an Angular 2 application.   Since lazy-loading of routes is an important consideration for…

TS Programming Test Problems Repo Updated to TS V2.0

TSMT

Just a quick note to announce that I’ve finally updated the Typescript Programming Test Problems repo to use Typescript 2.0.  Handling of 3rd party library typings has been streamlined and is in line with best practices….

Angular 2 and Typescript Math Toolkit – Interactive Graph Marker

If you have followed blog posts on the Typescript Math Toolkit function graphing engine, then you may have seen this screen shot from the engine’s predecessor (the Javascript Math Toolkit). The red circular sprites are draggable…

Typescript Math Toolkit Function Graphing Engine Update

TSMT

I’m making very good progress on the Typescript Math Toolkit Function Graphing Engine, so I thought it would be a good time for a comprehensive update.  The FGE contains a large number of independent components, some of…

Typescript Math Toolkit Random Integer In Range

I just finished the V1.0 math package for the Typescript Math Toolkit.  The final holdout was the random integer in range class and a supporting (seeded) RNG.  The problem of computing a pseudo-random integer in a…

Angular2 Animations, Custom Directives, And More

a2

This demo resulted from two questions that I hope to answer in the context of a single example. The first question was how to choreograph two different animations on two separate DOM elements using only the…

Typescript Math Toolkit Line Decorators

Decorator is one of my favorite design patterns.  I like how decoration can be applied at compile-time (see Typescript annotations such as @Component) and at run-time.  A great example of run-time decoration is line decorators.  Suppose…