I've been using Meteor since this past September. Great to see there's only 1 more update prior to 1.0.
Meteor 0.8.0: Introducing the Blaze templating engine
11–20 of 50 posts
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#12I've been using Meteor since this past September. Great to see there's only 1 more update prior to 1.0.
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#13Re: Meteor 0.8.0: Introducing the Blaze templating engine
#14I've been using Meteor since this past September. Great to see there's only 1 more update prior to 1.0.
Maybe you're kidding but I'm not sure that's really how it works. I'm sure they will do as many updates as necessary prior to a 1.0 regardless of current numbering.
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#15Earlier quoted context omitted.
Maybe you're kidding but I'm not sure that's really how it works. I'm sure they will do as many updates as necessary prior to a 1.0 regardless of current numbering.
Last line of the blog entry announcing Blaze as the new feature in the 0.8.0 release: "Just one more big item to go before 1.0 now!"
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#16Can anyone speak to the difference in approach between Blaze and React? Or are they doing essentially the same thing? At first glance, this seems much better in terms of programmer productivity, given that it uses logicless templates rather than embedding HTML inside JS code. But I'd be curious if it's less performant.
Here is one of the React core developers (Pete Hunt) on React integration with Meteor: http://www.youtube.com/watch?v=qqVbr_LaCIo (note this is before Blaze)
Regarding performance: https://groups.google.com/forum/#!topic/meteor-core/-px_AGhj...
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#17I've been using Meteor since this past September. Great to see there's only 1 more update prior to 1.0.
What happens in 1.0? Is it primarily the marketing buzz you're looking forward to, or is there a specific feature?
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#18[0] https://github.com/tildeio/htmlbars/blob/master/ARCHITECTURE...
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#19Can anyone speak to the difference in approach between Blaze and React? Or are they doing essentially the same thing? At first glance, this seems much better in terms of programmer productivity, given that it uses logicless templates rather than embedding HTML inside JS code. But I'd be curious if it's less performant.
React will probably be easier to reason about down the line (despite the initial learning curve), while Blaze will "just work".
Re: Meteor 0.8.0: Introducing the Blaze templating engine
#20Can anyone speak to the difference in approach between Blaze and React? Or are they doing essentially the same thing? At first glance, this seems much better in terms of programmer productivity, given that it uses logicless templates rather than embedding HTML inside JS code. But I'd be curious if it's less performant.
React and Blaze both compile templates or components into an intermediate representation for their HTML structure (React's JSDOM; Blaze's HTMLJS). A lot of the difference in how they decide what DOM changes are necessary.
React re-renders components when data changes and diffs the resulting JSDOM. The diff algorithm is fast and has simple hooks to make it faster by letting you compare state and component properties.
Blaze doesn't diff the resulting DOM structure. Instead, Blaze diffs the data the components depend on. That data comes from reactive functions built on top of Deps, our dependency tracking system. When the component first renders, dependencies are tracked between data sources and rendered DOM elements (dependencies are automatically cleaned up when the component is taken off the page). Therefore when data changes, Blaze can directly update the relevant elements.
There is some overhead in Deps, our dependency tracking system, but Deps has been intentionally designed for supporting this efficiently (eg batching updates in a "flush" stage).
As for performance, our benchmarks have generally found that React outperforms Blaze when many elements change and Blaze outperforms React when few elements change (which is more common for typical operations on many web apps). We also have plans to improve performance on initial rendering.
There are some other difference worth noting: While a later version of Blaze will support easy APIs for re-useable components, React already has one. And the React component model is well-thought out, complete and in production use whereas the Blaze component model at the moment is only the implementation behind templates.
Happy to hear any other perspectives.