A New Type of Blog
How can we improve the traditional blog post or tutorial?
In the text below, whenever you see a word or phrase, click on it to see what happens.
Well, we could highlight a
How about displaying several files to illustrate a
Sometimes it's useful to see a file in the context of the entire project, in an explorer for example.
Better still, what if we could use the explorer to browse the application by clicking on the files, and even open multiple files using Ctrl + click (or Cmd + click on OS X).
Let's see if any of these ideas actually work using a short example about Angular components.
A component consists of a TypeScirpt
which defines the data and behavior,
to provide additional meta-data.
When the application starts, Angular will locate the
insert the contents of the
file between the tags, and apply the CSS from the
property to the
Okay, so we've given the good old blog a bit of an overhaul, but we're not exactly utilizing all that space on your high resolution, widescreen desktop monitor, are we? If only we could see the code and the text but in a more familiar IDE style.
Well, now we can.