JavaScript and Node

Sunday 27 October 2013

JavaScript and Node

JavaScript and You

Before we talk about all the technical stuff, let’s take a moment and talk about you and your relationship with JavaScript. This chapter is here to allow you to estimate if reading this document any further makes sense for you.
If you are like me, you started with HTML “development” long ago, by writing HTML documents. You came along this funny thing called JavaScript, but you only used it in a very basic way, adding interactivity to your web pages every now and then.
What you really wanted was “the real thing”, you wanted to know how to build complex web sites – you learned a programming language like PHP, Ruby, Java, and started writing “backend” code.
Nevertheless, you kept an eye on JavaScript, you saw that with the introduction of jQuery, Prototype and the likes, things got more advanced in JavaScript land, and that this language really was about more than window.open().
However, this was all still frontend stuff, and although it was nice to have jQuery at your disposal whenever you felt like spicing up a web page, at the end of the day you were, at best, a JavaScript user, but not a JavaScript developer.
And then came Node.js. JavaScript on the server, how cool is that?
You decided that it’s about time to check out the old, new JavaScript. But wait, writing Node.js applications is the one thing; understanding why they need to be written the way they are written means – understanding JavaScript. And this time for real.
Here is the problem: Because JavaScript really lives two, maybe even three lives (the funny little DHTML helper from the mid-90′s, the more serious frontend stuff like jQuery and the likes, and now server-side), it’s not that easy to find information that helps you to learn JavaScript the “right” way, in order to write Node.js applications in a fashion that makes you feel you are not just using JavaScript, you are actually developing it.
Because that’s the catch: you already are an experienced developer, you don’t want to learn a new technique by just hacking around and mis-using it; you want to be sure that you are approaching it from the right angle.
There is, of course, excellent documentation out there. But documentation alone sometimes isn’t enough. What is needed is guidance.
My goal is to provide a guide for you.

A word of warning
There are some really excellent JavaScript people out there. I’m not one of them.
I’m really just the guy I talked about in the previous paragraph. I know a thing or two about developing backend web applications, but I’m still new to “real” JavaScript and Node . I learned some of the more advanced aspects of JavaScript just recently. I’m not experienced.
Which is why this is no “from novice to expert” book. It’s more like “from novice to advanced novice”.
If I don’t fail, then this will be the kind of document I wish I had when starting with Node.js.

Regards
Owntutorials | Cameron Thomas
MaximeTech | Best IT solutions Provider | Web Development |Mobile Applications

No comments:

Post a Comment

 

Total Pageviews

Blogroll

Most Reading