An Absolute Beginner's Guide to Node.js
blog.modulus.io
An Absolute Beginner's Guide to Node.js
1–10 of 71 posts
Re: An Absolute Beginner's Guide to Node.js
#2Do you mean multi-threaded?
Re: An Absolute Beginner's Guide to Node.js
#3> Basically you're telling it to do something and when it's done it will call your function (callback). This is because Node is single-threaded . Do you mean multi-threaded?
Re: An Absolute Beginner's Guide to Node.js
#4> Basically you're telling it to do something and when it's done it will call your function (callback). This is because Node is single-threaded . Do you mean multi-threaded?
Re: An Absolute Beginner's Guide to Node.js
#5Re: An Absolute Beginner's Guide to Node.js
#6Re: An Absolute Beginner's Guide to Node.js
#7> Basically you're telling it to do something and when it's done it will call your function (callback). This is because Node is single-threaded . Do you mean multi-threaded?
No, Javascript has no notion of threads. Rather than true concurrency and a synchronization mechanism, it has callbacks (upon callbacks upon callbacks).
Re: An Absolute Beginner's Guide to Node.js
#8Great post. Looks like you guys have a cool platform too. Any specifics about how it's better than what's out there?
Re: An Absolute Beginner's Guide to Node.js
#9> Basically you're telling it to do something and when it's done it will call your function (callback). This is because Node is single-threaded . Do you mean multi-threaded?
Once one of those activities completes the event loop will give a signal to the main thread of the Node app and the callback will be executed.
Not sure if that helped or just confused everyone.
Re: An Absolute Beginner's Guide to Node.js
#10Great post. Looks like you guys have a cool platform too. Any specifics about how it's better than what's out there?
I'd love to chat about the platform. I'm not sure if this is the correct forum for pimping it. I just don's to turn this comment area into a discussion of the platform. Hit us up on twitter @OnModulus or send an email to feedback@modulus.io.