3 ms·
I got very excited after watching that video. Meteor does a great job at hitting a lot of things a new web framework requires. However, I then viewed the source
by gsharma 15y ago
I got very excited after watching that video. Meteor does a great job at hitting a lot of things a new web framework requires. However, I then viewed the source on meteor.com. It includes just a javascript and everything else is in that Javascript file.
Are all the apps going to be like this or just how they roll? Putting the HTML markup in a Javascript file not just breaks crawlers[1] (they are not indexed by Google) but also (I guess) not accessible to all sorts of users/browsers.
[1]: https://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fmeteor.com%2F https://developers.facebook.com/tools/debug/og/echo?q=http%3...
- geoffschmidt 15y agoMeteor developer here -- we think it's super important to be able to serve static HTML when the situation calls for it (eg, crawlers.) Our architecture is designed to do this but we haven't had a chance to implement it yet. We have a lot of incentive to get to it soon, because it's no fun to be left out of Google :) There's a bit more in the FAQ. Our approach is based on rendering the template as a string (it doesn't require building a DOM tree on the server and then serializing it.) http://meteor.com/faq/can-meteor-serve-static-html http://meteor.com/faq/can-meteor-serve-static-html
- gsharma 15y agoGood to see that you are aware of this and working towards it. I'll keep an eye out for it, won't be able to use Meteor before that.