Lurker News

Comments (322) 118 threads

Earlier comments
erichocean1 reply#
Pairing Meteor with Blossom[1] would basically close the loop on writing high-performance mobile HTML5 apps.

(Blossom recently went full native on mobile -- the platform runtimes are no longer needed.)
[1] https://github.com/fohr/blossom

hbrundage1 reply#
Can you expand on this? To me it seems like Meteor accomplishes the same thing as Blossom, on the web platform at least, except that it does HTML /templating instead of rendering to a canvas. I bet it would be hard to reconcile the two different frameworks ideas of what Observable or Subscriber/Subscription looks like as well.
erichocean#
AFAICT, Meteor solves a different problem: eliminating the server-side of writing a JavaScript single-page application.

The auto-updating template stuff is cute, but unless your goal is apps that max out around the complexity of a todo list, there's a ton of performance pitfalls (c.f. Ember.js), especially in mobile browsers. A lot of apps are that simple though, so I don't want to knock Meteor (or Ember) here -- that's a useful niche to be in and anything that makes development faster/easier is great!
A Blossom app would simply use the server capabilities and data updating stuff in Meteor, but in the context of a normal, high-performance Blossom-based mobile UI with statecharts, hardware-accelerated surfaces and animation, and yes, GPU-accelerated Canvas rendering (although Blossom now supports old-style HTML/CSS views as well).
Mobile apps written with Blossom have virtually the same amount of resource control as a native iOS app, and to my knowledge, is the only mobile app framework with 100% JavaScript controls that can say that. (Appcelerator's Titanium is the other way to go – wrap the native controls with a JavaScript API.) Not to mention the ability to run on Android and iOS browsers from the same code base, or deploy via PhoneGap, or target desktop browsers or tablets with effectively native performance.
Meteor is really neat, I did something similar to at least the data syncing part two years with a tech I developed called HubSync, which kept a SproutCore datastore in sync across clients. The net effect was the same -- no server code, data stays in sync automatically, and you only ever dealt with the client API. (It could do a few other things, like still function offline, and was also shared nothing on the server side with Cassandra or BigTable -- I've seen serious problems with Mongo scaling in the past (yay, global lock!), and I have no idea what the offline story is for Meteor.)
But still, very cool tech overall, and the team looks like they've got some great ideas. Bravo!

devs1010#
Weird how this just came out a day ago as I've been starting to learn node and I was just trying to figure out a way to blend backbone with node so that I could re-use models server-side. I saw this yesterday on the front page but didn't pay much attention to it and then today I remembered seeing it and came back to it and it looks like it solves the issue I had been trying to figure out myself. All the examples, etc I could find on combing backbone and node seemed half-baked and I couldn't find an easy to follow example for a beginner, its as if this came to the surface just in time.. I am definitely going to give it a try
spasquali1 reply#
This is just the client code necessary to run a todo app: https://github.com/meteor/meteor/tree/master/examples/todos/...

Seems rather fat. Fatter than what I've seen for Knockout, or Ember, or even Backbone.
As I suspected this idea of just dropping any package and bang it works depends on that package having been made available by the Meteor team, and the requisite wrapper/bindings made around the original package. Which means now using Meteor means you must use their package, which even with best intentions, means their team will have to keep up to date with every package you'd like to use, every new version, the bugs, etc.
What if my data comes from multiple sources ("the cloud" and "big data" and "3.0" means your apps don't all share the same persistence layer, and likely use several)
What if I push 1000 records of data to the client, in the html for efficiency and network reasons, to power my fancy D3 chloropleth, and the client interface allows manipulation of that (local) data. How do I take advantage of Meteor's data binding system? This is something almost every serious application does -- updating a local data structure and propagating that change to several views.
Overhead of having all these sockets open? If I want to change 20 items and then update my view, do I now have to write the boilerplate to store up 20 changes, then package, then send in one shot down the Meteor pipe? Do I make 20 calls via client DB bindings? Probably the former. Which means I end up doing a lot of work that I wouldn't have if I had a local model with CRUD methods (like Ember, Backbone, etc).
Latency compensation. Sounds great. So I say "pay my bill" and my interface updates with an optimistic confirmation. Great! Now I can drive my kid to the soccer game. Hope I notice that the number got switched back (server fail). How will I notice? Hope the developer implemented a noticeable notification system...
Security? Anyone with a browser can change my DB? How do you secure that? Log in? Now logged-in people can change my DB from their browser? Whitepaper is necessary, so this aspect can be tested.
Great team. Good ideas. But it is quite early yet.

Load more comments