Live data from Hacker News

Mern: Build JavaScript apps using React and Redux

mern.io

101–110 of 141 posts

Re: Mern: Build JavaScript apps using React and Redux

#101
post #11

Why MongoDB?

MongoDB plays very well with the rest of the javascript based stack, which mean development and testing is simpler. For many use cases the development time is the real cost, and the database itself is simple enough that what it is running on does not really matter much. Most people are not building Big Data systems.

> MongoDB plays very well with the rest of the javascript based stack

Every major database does. This is in no way exclusive to MongoDB.

Re: Mern: Build JavaScript apps using React and Redux

#102
post #63

I just don't understand the motivation for the cli. Isn't it much easier to just clone the mern boilerplate repo, rather than npm installing some cli, then running a command. If there are no options, what's the point? Admittedly, I might be missing something.

I think a cli tool is usually easier because you don't have to rm -rf .git in order to set up your own repo.

You can use the following git command to move everything except for the .git files to a new location [1]

    git checkout-index -f -a --prefix=/path/to/folder/
  
[1] http://www.tekkie.ro/methodology/use-git-checkout-index-init...

Re: Mern: Build JavaScript apps using React and Redux

#103

Earlier quoted context omitted.

Mongo isn't even "Javascript-friendly". It just accepts JSON for queries, that's all. JSON is approximately as related to Javascript as Javascript is related to Java.

Its shell accepts JavaScript commands IIRC. Not sure if that's enough to call it JS Friendly though.

It might, but you're not going to be using that shell in an actual application, so that would hardly make a difference. The querying is all JSON.

Re: Mern: Build JavaScript apps using React and Redux

#104
post #78

This was a really bad time to post this framework, the disillusionment for javascript is at an all time high right now. That being said why Mongodb? NoSql are advantageous for write speeds, which as far as I know isn't particularly important for new applications. I understand that you want "javascript everywhere" but is that really worth the cost of losing the speedy and convenient join statements? I think postgres m…

I can't say if they considered other databases, but "MERN" is a play on "MEAN" (Mongo, Express, Angular , Node) -- I imagine they were aiming for a React-centric version of the popular MEAN stack.

Waiting for the NERD stack.

Node, Express, React, $DataBase.

Re: Mern: Build JavaScript apps using React and Redux

#105
I think it's a great idea to try and bring some of RoR's developer happiness to JS. Universal React + Redux is a great stack but I could see why beginners, unfamiliar with starter repos, could get overwelmed reading the respective docs. This project is a good attempt at lowering entry.

My 2 cents, I've been enjoying using websockets and redis with this stack. And +1 for considering the term Universal in the tagline.

Re: Mern: Build JavaScript apps using React and Redux

#106
post #97
post #90

Earlier quoted context omitted.

Glad I am not the only one. I do not understand why most JS frameworks use a NoSQL store. Even from their FAQ. "You can always replace Mongo with another DB like RethinkDB, CouchDB or something else you like. :)" What about SQL??!?!

Most of the "nodejs generation" would take simple queries + aggregates ( https://docs.mongodb.org/manual/aggregation/ ) + some flavor of map-reduce ( https://docs.mongodb.org/manual/core/map-reduce/ ) over SQL anytime . Mostly because you only need the first for 90% of the cases, and for the rest, SQL is "brain hurting" and hard to optimize anyway. I also happen to agree that SQL should be finally killed and buried (…

Working at an organization that does both, the thing that jumps out to me is that SQL is a bit painful from the "application developer" side, but fantastic from the "ad-hoc data analysis" side.

It's tough for me to say "finally killed and buried" when I have a couple dozen colleagues being wonderfully productive with SQL as one of their primary tools. Application developers and analysts don't need to use the same tool, though.

Re: Mern: Build JavaScript apps using React and Redux

#107
post #61
post #39

Earlier quoted context omitted.

Oh yes, XSS attack on a bare minimum blog app! There's a reason why its called starter app!

Might as well just store credit card info and passwords in plain text while we're at it. Starter app! Disruption!

Precisely my point, who the hell stores credit card info in a f*ing starter app! And your obsession about seeing a disruption in every damn thing!

Re: Mern: Build JavaScript apps using React and Redux

#108
post #105

I think it's a great idea to try and bring some of RoR's developer happiness to JS. Universal React + Redux is a great stack but I could see why beginners, unfamiliar with starter repos, could get overwelmed reading the respective docs. This project is a good attempt at lowering entry. My 2 cents, I've been enjoying using websockets and redis with this stack. And +1 for considering the term Universal in the tagline.

> I think it's a great idea to try and bring some of RoR's developer happiness to JS.

That's been around for a while: http://ember-cli.com/user-guide/#using-ember-cli

Re: Mern: Build JavaScript apps using React and Redux

#109
post #105

I think it's a great idea to try and bring some of RoR's developer happiness to JS. Universal React + Redux is a great stack but I could see why beginners, unfamiliar with starter repos, could get overwelmed reading the respective docs. This project is a good attempt at lowering entry. My 2 cents, I've been enjoying using websockets and redis with this stack. And +1 for considering the term Universal in the tagline.

> I think it's a great idea to try and bring some of RoR's developer happiness to JS. That's been around for a while: http://ember-cli.com/user-guide/#using-ember-cli

Yep! Love Ember. I think it's good that this project it trying to bring some of the RoR and Ember ideas to the React Redux stack.

Re: Mern: Build JavaScript apps using React and Redux

#110
post #104
post #78

Earlier quoted context omitted.

I can't say if they considered other databases, but "MERN" is a play on "MEAN" (Mongo, Express, Angular , Node) -- I imagine they were aiming for a React-centric version of the popular MEAN stack.

Waiting for the NERD stack. Node, Express, React, $DataBase.

There's no need to wait: https://github.com/Xantier/nerd-stack
Post reply on HN