DEV Community

Discussion on: What's the hardest part of JavaScript you've had to deal with?

 
deleteman123 profile image
Fernando Doglio

Hahaha, interesting! I wonder why that would be, I want to keep asking you questions! What's so wrong about Node that you rather work in PHP?! I worked in PHP for almost 10 years, I couldn't see myself going back to it...
And you're not happy with MongoDB? I mean, it's not perfect, but neither is any product, so why the hate?

Thread Thread
 
vimmer9 profile image
Damir Franusic • Edited

Don't know, personal preference for PHP. I also got used to writing SQL and working with mysql cli.

Thread Thread
 
patrickdesign profile image
PatrickDesign

So your arguments basically boil down to "I'm not used to these tools, therefore they are an abomination" ?

Thread Thread
 
vimmer9 profile image
Damir Franusic

No I said it's a personal preference. I used the word abomination in the context of MongoDB because SQL language is in my opinion much better for fetching data and has been a standard for a long time. I didn't like the custom filter syntax of MongoDB. As far as performance goes, I haven't tested that but the word is that MongoDB excels at writing lots of data. Btw I'm not really obsessed with mysql either; been using postgres a bit lately.

Thread Thread
 
rabatelr profile image
rabatelr

I dont see why using Nodejs would force you to connect your app to mangodb? And I agree with Patrick, you obviously don't know enough to deliver such a strong statement as "abomination" as SQL and noSQL are for different uses. You should use one or the other according to the needs of your project.

Thread Thread
 
vimmer9 profile image
Damir Franusic

Well again, personal preference. I know that MongoDB is better when you're dealing with high number of write ops (CDRs for example) and I know enough to construct my own opinion. I'm sorry if anyone is offended by my choice of words. Node can also work with both SQL and noSQL, I'm aware of that. Any DB software is a great achievement and I'm aware of the effort involved. To each their own, at least we have options right?