7. Anatomy of a Node Application | Node.JS | Learn with Shahbaz Ashraf #nodejs #javascripttutorial #JS Welcome to the course! Thank you for joining us, we hope you enjoy it. A few notes before you get started: Setup Your Workstation If you'd like to type along with the code written in the course, we'd recommend downloading an IDE. Here are the text editors and IDEs we recommend. Try out a few until you find one that works well for the language you're working in and the tasks you'd like to perform: Atom: https://atom.io Sublime: https://www.sublimetext.com VS Code: https://code.visualstudio.com Xcode: https://developer.apple.com/xcode Android Studio: https://developer.android.com/studio Rstudio: https://www.rstudio.com Anaconda: https://www.anaconda.com/products/individual NetBeans: https://netbeans.apache.org CodeBlocks: https://www.codeblocks.org Jupyter: https://jupyter.org NEW: Changes for 2021 This document was last revised on January 25th, 2021 This course was originally released in 2018. Since then, the Node.js platform and ecosystem has continued to evolve. Here are the important changes that have happened since then, that you should be aware of: New version of Node: The current stable version of Node (as of December 2020) is 14.15.1. That's the one you should be downloading and using. You can download it here: https://nodejs.org/en/ You can read the docs here: https://nodejs.org/docs/latest-argon/api/ Use fs.ftruncate instead of fs.truncate In newer versions of Node, the name of the function used for file truncation has changed. As you watch the videos, you'll see us refer to fs.truncate. You should be using fs.ftruncate instead (notice the exta "f" in the function name). You can see examples of how to use it here: https://nodejs.org/docs/latest-v14.x/api/fs.html#fs_fs_ftruncate_fd_len_callback https://nodejs.org/api/esm.html and take careful note of these caveats: https://nodejs.org/docs/latest-v14.x/api/esm.html#esm_differences_between_es_modules_and_commonjs Android development with Kotlin (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGdwSunNa67PwYM4ogf_bYTj Python (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGc3m9yTAGHxVB7-AYk6J6um Data Mining with Python (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGcBNlYQNV_VYPnaYg80MJK8 ============================================================ Node.js Play;ist Lecture 1: https://youtu.be/55YX3mZ6pFk Lecture 2: https://youtu.be/fd-jGZcDJGg Lecture 3: https://youtu.be/LWvzvvFddos Lecture 4: https://youtu.be/VrZbUYX3VBc Lecture 5: https://youtu.be/emyW-8C6OaQ Lecture 6: https://youtu.be/_CwiCvCW0LA
7. Anatomy of a Node Application | Node.JS | Learn with Shahbaz Ashraf #nodejs #javascripttutorial #JS Welcome to the course! Thank you for joining us, we hope you enjoy it. A few notes before you get started: Setup Your Workstation If you'd like to type along with the code written in the course, we'd recommend downloading an IDE. Here are the text editors and IDEs we recommend. Try out a few until you find one that works well for the language you're working in and the tasks you'd like to perform: Atom: https://atom.io Sublime: https://www.sublimetext.com VS Code: https://code.visualstudio.com Xcode: https://developer.apple.com/xcode Android Studio: https://developer.android.com/studio Rstudio: https://www.rstudio.com Anaconda: https://www.anaconda.com/products/individual NetBeans: https://netbeans.apache.org CodeBlocks: https://www.codeblocks.org Jupyter: https://jupyter.org NEW: Changes for 2021 This document was last revised on January 25th, 2021 This course was originally released in 2018. Since then, the Node.js platform and ecosystem has continued to evolve. Here are the important changes that have happened since then, that you should be aware of: New version of Node: The current stable version of Node (as of December 2020) is 14.15.1. That's the one you should be downloading and using. You can download it here: https://nodejs.org/en/ You can read the docs here: https://nodejs.org/docs/latest-argon/api/ Use fs.ftruncate instead of fs.truncate In newer versions of Node, the name of the function used for file truncation has changed. As you watch the videos, you'll see us refer to fs.truncate. You should be using fs.ftruncate instead (notice the exta "f" in the function name). You can see examples of how to use it here: https://nodejs.org/docs/latest-v14.x/api/fs.html#fs_fs_ftruncate_fd_len_callback https://nodejs.org/api/esm.html and take careful note of these caveats: https://nodejs.org/docs/latest-v14.x/api/esm.html#esm_differences_between_es_modules_and_commonjs Android development with Kotlin (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGdwSunNa67PwYM4ogf_bYTj Python (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGc3m9yTAGHxVB7-AYk6J6um Data Mining with Python (Playlist): https://www.youtube.com/playlist?list=PLt-uc-DqXJGcBNlYQNV_VYPnaYg80MJK8 ============================================================ Node.js Play;ist Lecture 1: https://youtu.be/55YX3mZ6pFk Lecture 2: https://youtu.be/fd-jGZcDJGg Lecture 3: https://youtu.be/LWvzvvFddos Lecture 4: https://youtu.be/VrZbUYX3VBc Lecture 5: https://youtu.be/emyW-8C6OaQ Lecture 6: https://youtu.be/_CwiCvCW0LA