Skip to content

Commit

Permalink
Spell check diary.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Jun 10, 2013
1 parent d25a3ca commit 09524c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions diary.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ about serving from the file system, or naming things, or what.

Key to the Stencil strategy is the notion that your scripts run identically on
the server as they do in the browser, but we're going to say with the exception
of module loading, becuase I don't want to replace Node.js module loading, which
of module loading, because I don't want to replace Node.js module loading, which
works fine on the browser, with AMD.

When using Stencil off-line, the current `resolver.js` is what it needs to be.
It loads everything off of the file system.

For the browser, I do want a minimalist implementation, one that uses XHR for
JSON and XML, using it directly because it is there, then I'm using RequireJS
AMD, which is odd, becuase Stencil 3.37k and no RequireJS AMD is 6.18k. It makes
AMD, which is odd, because Stencil 3.37k and no RequireJS AMD is 6.18k. It makes
me want to consider a lighter alternative, but there probably are none, it is a
another rabbit hole and I'm tired of rabbit holes, I want to be building web
applications, not forever building web scaffolding.
Expand All @@ -40,7 +40,7 @@ loading, to come to design decision on this right now.
* [modulr-node](https://github.com/tobie/modulr-node/tree/v0.6.1).
* [Lazy evaluation of CommonJS modules](http://calendar.perfplanet.com/2011/lazy-evaluation-of-commonjs-modules/).

Having gone a couple rounds with resource loading, here's what I've disovered.
Having gone a couple rounds with resource loading, here's what I've discovered.

The JSON resource loading is not needed by Stencil itself, therefore it doesn't
belong in Stencil itself. However, there is hardly ever going to be a Stencil
Expand Down Expand Up @@ -129,7 +129,7 @@ that can call itself. In computerese something that calls itself is called
recursive — think recurring which has the same latin root; recurrere. We
call these templates recursive template.

You create a recusive block by defining a block with the `each/with` directive,
You create a recursive block by defining a block with the `each/with` directive,
giving it an `id` attribute. Within the block, when you want to invoke the block
again you use a `recurse` directive. The `recurse` directive has a `call`...

Expand Down Expand Up @@ -297,7 +297,7 @@ You can serialize at any point and you'll capture the state of the page. After
every regeneration, the HTML5 DOM will contain everything you need to rebuild
the page if you send it over the wire.

Stencil uses XML to express it's template langauge, but only for the sake of the
Stencil uses XML to express it's template language, but only for the sake of the
parser. I don't like XML any more than you do. It is a meager idea taken far too
far. I built Stencil using knowledge I wish I didn't have, and I'm using XML in
ways that where not intended, and I pray these abuses offend the XML purists,
Expand All @@ -308,7 +308,7 @@ to send it one. These XML parsers are old and hardened and usually pretty fast.
They produce a DOM that can be imported in the HTML5 DOM.

Because XML is strict, there's a good chance that the DOM we manipulate on the
server is almost identical to the one that we maniuplate in the browser.
server is almost identical to the one that we manipulate in the browser.

Stencil uses XML with namespaces, it rides on the behavior of namespaces, using
XML namespaces to create namespaces for tag libraries and required JavaScript
Expand Down

0 comments on commit 09524c1

Please sign in to comment.