Description

This courses purpose is to introduce any JavaScript developer on any platform to the powerful world of Node.js, task automation, package management and module loading. Basically: Modern JavaScript.This is course that I wish I had before years of trial and error, source-code spelunking and documentation reading; so with it I hope to save you guys all the trouble and get going writing modern, maintainable, and organized JavaScript today!Node.js? I thought you said ANY platform!While this course is a great introduction to writing server-side applications in node (certainly not wasted time, even if you dont intend to use a node server), we spend most of our time using node as a development tool.If youre writing an application in PHP, ASP. NET, or anything else, no problem! Node wont need to be installed on the production server for it to do its thing. We simply use it to process our assets; theres no need for it to be deployed into production unless your backend server also uses node.Especially if youre an ASP. NET developer, Microsoft is incorporating these tools right into Visual Studio and ASP. NET 5! Node.js isnt just for Linux and servers anymore! But on the other hand, that means you have to have a good grasp on these tools to stay ahead in the world of ASP. NET – and thats why Im here!Modern JavaScriptTo write modern JavaScript, we need three things: a JavaScript transpiler, a module loader, and a module bundler.A transpiler is what takes modern JavaScript and turns it into legacy JavaScript that will run in any browser! Using a transpiler these days is practically the norm. There is no reason why we should be stuck writing 5 year old JavaScript because some of your customers are stuck with ancient browsers. We will be using Babel extensively for this purpose.In addition to the new features of JavaScript, modules are one of the most important aspects to writing highly maintainable, modular (see what I did there?) code for applications from the small to the enterprise. Im going to show you guys some tools that makes writing properly organized modular code in JavaScript so simple that theres no reason not to use them, even for small projects!What else will be covered?Since a lot of these tasks are going to require a bit of automation, were going to be introducing you to Gulp (version 4). Gulp is an awesome task runner that allows us to write code that can perform automated tasks, such as transpiling or bundling our JavaScript. Note: Gulp is supported as a first class citizen in Visual Studio 2015! Its even used in the project templates for ASP. NET 5!Were also going to take a look at Bower. Bower is a client-side package manager that makes it easy for us to install third party dependencies.Finally, well also take a look at LESS – the CSS preprocessor. I know thats not much to do with JavaScript, but it will give us a reason to look into automating the building and bundling process of our styles. Besides, once you use LESS, youll never want to use vanilla CSS again!