Using Meteor as a front-end library(frozeman.de) |
Using Meteor as a front-end library(frozeman.de) |
For those curious as to why I would choose Meteor over Angular: reason #1 is existing familiarity with Meteor, but a close #2 is that I would have to write much less code to accomplish the same things.
It uses Meteor itself so the framework is sent down the wire and rendered client-side like any other Meteor app.
I haven't tried it, but it seems like cleaner approach than cutting the patient in half.
In practice though, I wasn't able to get a client-side only Meteor example app running, so I'm waiting for Meteor to iron out the rough spots.
In the meantime, techniques such as the one by the blog post author can tide people over.
If you're having trouble with this, see this guide: http://webdesign.about.com/od/chrome/a/view-source-chrome.ht... as an example.
Once you see the HTML source, scroll to the area where the body tag is found. You'll notice the lack of any static content:
<body>
</body>
Or did you mean something else by static page?Odd way to go about hosting a static page. :0)