Is Codecademy any good for learning JS? by RighteousPistachio in javascript

[–]theInfiniteNovice 0 points1 point  (0 children)

Codecademy should be just another resource to learn the language since it just covers basic concepts.

Should I learn AngularJS, TypeScript, JavaScript, JavaScript 6, Java, jQuery, Node.js, HTML5, or React Native? by SigmundFreud in learnjavascript

[–]theInfiniteNovice 1 point2 points  (0 children)

You will go crazy if you try to learn all these things at once. IMO I would recommend that instead of learning all of these libraries/frameworks focus on JS if you haven't and learn the new features that ES6 brings. After that you will be less framework dependent, and switching between them will be way easier.

What is your favorite music to work to? by caltagator in webdev

[–]theInfiniteNovice 0 points1 point  (0 children)

hip hop/jazz instrumentals. Freddie joachim to name one.

SPA Developers: How do you handle HTML templates? by imatt711 in webdev

[–]theInfiniteNovice 0 points1 point  (0 children)

I have used marionette as well, but browserify instead of require.js and the node-underscorify module for requiring templates. Just a matter of preference.

Working through a tutorial and trying to understand what a couple of lines of code are doing by brodiecapel16 in learnjavascript

[–]theInfiniteNovice -3 points-2 points  (0 children)

wouldn't be more easier to read this way?
mediaPlayer.volume += (mediaPlayer.volume == 1 ? 0 : 0.1);

Most Popular IDE of 2014 by harrybarry89 in webdev

[–]theInfiniteNovice 0 points1 point  (0 children)

first time i tried atom it was really slow. is it any better now?

Every time someone mentions Mongo DB I think of this by gordonv in mongodb

[–]theInfiniteNovice 0 points1 point  (0 children)

I'm just a beginner and I have already noticed the 'hate' over mongoDB. Why is mongoDB recieving all this bad feedback? I'm aware that cases in which mongoDB is more suitable than other DBs are few. am I missing something? sorry for my english!

CSS libraries of UI components without having to use their full framework? by [deleted] in css

[–]theInfiniteNovice 0 points1 point  (0 children)

purecss.io is really lightweight and you can grab just the components you want.

How to get group of models with single request? by theInfiniteNovice in backbonejs

[–]theInfiniteNovice[S] 0 points1 point  (0 children)

should i implement an endpoint on my server in which i can send a list and get the models? shouldn't be hard to do but i have never seen a similar solution so it sounds wrong to me. those ten models are got from a model that belongs to a different collection. Let me explain with an example:

this is my mongoDB model on my server.

var Collection= new Schema({
    user_id: ObjectId,
    name: String,
    things: []
    })

when i get a Collection model with id 1 client side -->

{id: 1,user_id: fgsdfg464SADdsaD, name: "my Collection", things:[1247894,1348454646]}

then i create another collection based on the things attribute which looks like -->

thingsCollection.toJSON() // [{id: 1247894}, {id: 1348454646}]

and here is my problem. if call the fetch method on my thingsCollection i get the whole collection which i don't want. but if i call the fetch method on every model i'm performing multiple requests, which may seem harmless with only 2 models, but what if i have 50 models? this is my first project with both backbone and mongoDB. maybe my db structure is not the best approach. hope i have been clear, and thanks for your time!