Live data from Hacker News

Show HN: Meteor, a realtime JavaScript framework

meteor.com

31–40 of 350 posts

Re: Show HN: Meteor, a realtime JavaScript framework

#31
Wasn't there a Backend-as-a-Service platform released recently for use with Backbone.js? Does anyone remember what that was? Seems like we're seeing a new wave of "front-end only" application frameworks coming out...

EDIT: oh yeah, Backlift! (http://www.backlift.com) This is definitely an interesting trend.

Re: Show HN: Meteor, a realtime JavaScript framework

#32
The live demo is here: http://colors.meteor.com/

Seems to have a minor glitch with unicode characters? When you do Colors.remove() everything goes away, but the entries with unicode all come back? Somewhat strange...

Interesting tech, but db access from the client scares me to no end, call me a curmudgeon I guess.

Re: Show HN: Meteor, a realtime JavaScript framework

#35
post #13

"You can use the database api on the client!" Does that freak anyone else out? Where are they doing permissions checking? Who can run what database commands under what circumstances?

Shared scratch databases with no thought to security seem to be the hot new thing these days ;P. CloudMine, Firebase, Parse, StackMob... people seriously seem to think it is perfectly normal to throw their public /and/ private API keys into their projects... I mean, check out this tutorial from StackMob: https://stackmob.com/platform/help/tutorials/ios_sdk

Parse makes an effort to get security right. You don't use your private API keys in the client. Instead, there is an access key specific to the mobile client, and its access is restricted in several ways.

See https://parse.com/docs/data#security for more details.

Re: Show HN: Meteor, a realtime JavaScript framework

#36

Hey everyone! The four of us have been working very hard on this for the last six months, and we're excited to finally take the wraps off. Can't wait to hear what you think! We've got a lot more stuff coming over the next few months, and if there are particular things you'd like us to do/prioritize, I'd love to hear about them!

Mind blowing. Feels very desktop-ey for a web application. The included deploy to cloud options are a huge plus!

Re: Show HN: Meteor, a realtime JavaScript framework

#37

Interesting (and smart) that they post to Hacker News a couple of days prior to the launch of Firebase (which provided the realtime functionality used by MMO Asteroids and has been active at hackathons.)

(Co-founder of Firebase here)

We know the Meteor guys well and are really excited about what they're building. It's very complementary.

We're both advocating a new paradigm in software development and the faster it comes the better.

Re: Show HN: Meteor, a realtime JavaScript framework

#39
post #7

Earlier quoted context omitted.

From the docs ( http://docs.meteor.com/#meteor_collection ): "Currently the client is given full write access to the collection. They can execute arbitrary Mongo update commands. Once we build authentication, you will be able to limit the client's direct access to insert, update, and remove. We are also considering validators and other ORM-like functionality." So just for toys for the moment. Still, very cool...

Right. But as soon as you have this ability, don't you quickly turn off insert/update? then you throttle/contain reads... So in the end, do we benefit from having a client side database connection? I'm struggling to put together a real-world use case for one that isn't irresponsible.

On the "read" side of things, you control what data is exposed to each subscription, and you'll be able to base access on authentication. The client doesn't get a direct database connection, but rather a live-updating subset (or arbitrary function, in the general case) of the database.

The rationale is that clients typically end up doing sorting and filtering on subsets of the database anyway, as they get more sophisticated and start caching data. For example, Gmail starts to need a notion of an email message on the client, to avoid going back to the server for the same message. When I worked on Google Wave I saw firsthand the complicated plumbing you need in order to do this in an ad hoc way. (They used GWT to share the model objects, but synchronized the data manually.)

You can also separate this facility from your database completely, and use it as a way of sending "data feeds" to clients; then use methods as RPCs.

Post reply on HN