Live data from Hacker News

Meteor vs. Angular

differential.io

11–20 of 35 posts

Re: Meteor vs. Angular

#11
post #7
post #6

Earlier quoted context omitted.

I guess Meteor is a good choice for JS-only developers.

I don't think the issue is so much that the backend has to be JavaScript so much as that the backend has to be precisely what Meteor wants it to be. You couldn't just stick a different JavaScript app conforming to the same interface in the back end — your application has to be more or less monolithic AFAIK.

[deleted]

Re: Meteor vs. Angular

#12
post #7
post #6

Earlier quoted context omitted.

I guess Meteor is a good choice for JS-only developers.

I don't think the issue is so much that the backend has to be JavaScript so much as that the backend has to be precisely what Meteor wants it to be. You couldn't just stick a different JavaScript app conforming to the same interface in the back end — your application has to be more or less monolithic AFAIK.

You can stick another JS app conforming the same interface, though. The interface is called DDP.

Re: Meteor vs. Angular

#13
post #8

I would just say that the "X versus Y" approach to frameworks (as opposed to tools) is not very productive in a lot of cases. The best way to approach it is to define and understand the needs of your project, research, and choose. For example, it might be the case that simple, real-time-ish data is very important. Meteor might be an excellent choice. It could instead be the case that lock-in (and Meteor is definitely…

I would master your tools and somehow afford yourself the luxury to build things just for those tools. Fortunately meteor is opening up possibilities for a whole new world of realtime apps. Forget angular if u can start from scratch and build new realtime stuff. The closest option is React combined with maybe firebase or something. But even then reacts way of defining HTML inline (compiled with jsx or standard) doesn't compare to how meteor uses HTML templates which a designer can easily edit like usual. As great as react is, nobody wants to code inline HTML. And you don't have to in order to get the same effect.

Re: Meteor vs. Angular

#14
post #2

The thing that has me sticking with Angular over Meteor is that Angular doesn't care about your backend or infrastructure. With Meteor, I feel limited due to the tight integration of the server and client. Due to that, I feel like its harder to scale, and perhaps only suitable for prototyping.

That is a good reason to stick with Angular.

One of the great things about Meteor is the shared data between a server side mongodb instance and a mini mongodb running on the user's browser. If you are not or can not use mongodb for your app, at least for right now that seems like a deal killer for Meteor.

Meteor requiring sticky sessions can be another negative for scaling.

All that said, for apps that are not likely to have to scale much Meteor is really a sweet spot - everything you need for efficient development. I have read several articles about scaling Meteor, but I have never had a Meteor app that would not run well on a single server.

Re: Meteor vs. Angular

#15
post #2

The thing that has me sticking with Angular over Meteor is that Angular doesn't care about your backend or infrastructure. With Meteor, I feel limited due to the tight integration of the server and client. Due to that, I feel like its harder to scale, and perhaps only suitable for prototyping.

IIRC that's not quite true. There's the DDP thingy http://en.wikipedia.org/wiki/Distributed_Data_Protocol which should theoretically let you use any backend implementing that protocol. But I'm not sure if anyone actually uses it besides meteor.

Yeah, but in that case, wouldn't you have to hack on the actual Meteor source to let it use a different backend rather than Meteor's own provided one?

Re: Meteor vs. Angular

#16
post #3

Meteor is still way too magic for me. Seems great for rapid prototyping of real-time applications, and perhaps things like games... But I don't think I would feel comfortable building a large application on it. The problem space that it solves is not that hard, it just provides an extremely magical way to go about it. I imagine this makes things a lot harder to change, debug and maintain. But then I'm the type of per…

It also depends on MongoDB as your sole backend database. I played with Meteor when it came out and I concur maybe Meteor is OK for prototypes but for something production ready I'd rather just use Angular + Google App Engine + Google Cloud Endpoints.

Re: Meteor vs. Angular

#17
post #8

I would just say that the "X versus Y" approach to frameworks (as opposed to tools) is not very productive in a lot of cases. The best way to approach it is to define and understand the needs of your project, research, and choose. For example, it might be the case that simple, real-time-ish data is very important. Meteor might be an excellent choice. It could instead be the case that lock-in (and Meteor is definitely…

>The best way to approach it is to define and understand the needs of your project, research, and choose.

But reading someone's "X vs Y" is one way to "research" and reading the factors that the author compares can also feed back into the reader's "define and understand the needs of your project". When there are new technology options, novices often don't have the background to know "what or how" to compare them. Reading some "x vs y" opinions is part of filling in that background.

Re: Meteor vs. Angular

#18
post #15

Earlier quoted context omitted.

IIRC that's not quite true. There's the DDP thingy http://en.wikipedia.org/wiki/Distributed_Data_Protocol which should theoretically let you use any backend implementing that protocol. But I'm not sure if anyone actually uses it besides meteor.

Yeah, but in that case, wouldn't you have to hack on the actual Meteor source to let it use a different backend rather than Meteor's own provided one?

My guess is that if your backend has the same interface as Meteor's, you would just need to come up with your own deploy script and have it include the Meteor client bundle. Also, you would lose the ability of sharing any code between the server and the client.

Re: Meteor vs. Angular

#19
One important difference between Meteor's front-end and Angular is how we track data dependencies and changes. As it happens we've been working on a Meteor manual and just published the first chapter on Deps, our 1kb library for doing this.

https://meteor.hackpad.com/Understanding-Deps-aAXG6T9lkf6

Re: Meteor vs. Angular

#20
From a cursory glance, it seems to me that Meteor syncs MongoDB instances on the client and the server, and therefore can only be used with MongoDB as the database. Is that correct, or is there any way to use it with a Postgres app?
Post reply on HN