Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Hibbard, James, author.

Title Your First Week With Node.js, 2nd Edition / Hibbard, James. [O'Reilly electronic resources]

Edition 2nd edition.
Publication Info. SitePoint, 2020.
QR Code
Description 1 online resource (192 pages)
text file
Summary While there have been quite a few attempts to get JavaScript working as a server-side language, Node.js (frequently just called Node) has been the first environment that's gained any traction. It's now used by companies such as Netflix, Uber and Paypal to power their web apps. Node allows for blazingly fast performance; thanks to its event loop model, common tasks like network connection and database I/O can be executed very quickly indeed. From a beginner's point of view, one of Node's obvious advantages is that it uses JavaScript, a ubiquitous language that many developers are comfortable with. If you can write JavaScript for the client-side, writing server-side applications with Node should not be too much of a stretch for you. This book offers aselection of beginner-level tutorials to privide you with an introduction to Node and its related technologies, and get you under way writing your first Node applications. It contains: What Is Node and When Should I Use It? Build a Simple Page Counter Service with Node.js Understanding module.exports and exports in Node.js Forms, File Uploads and Security with Node.js and Express Working with Databases in Node How to Build and Structure a Node.js MVC Application Local Authentication Using Passport in Node.js How to Debug a Node App Node Testing for Beginners How to Use SSL/TLS with Node.js Configuring NGINX and SSL with Node.js Using Docker for Node.js Development.
Contents Your First Week With Node.js, 2nd Edition -- Notice of Rights -- Notice of Liability -- Trademark Notice -- About SitePoint -- About Craig Buckler -- Preface -- Who Should Read This Book? -- Conventions Used -- Code Samples -- Tips, Notes, and Warnings -- Supplementary Materials -- Chapter 1: What Is Node and When Should I Use It? -- by James Hibbard -- What Is Node.js? -- Node Is Built on Google Chrome's V8 JavaScript Engine -- How Do I Install Node.js? -- Node Binaries vs Version Manager -- "Hello, World!" the Node.js Way -- Node.js Has Excellent Support for Modern JavaScript
Introducing npm, the JavaScript Package Manager -- Installing a Package Globally -- Installing a Package Locally -- Working with the package.json File -- What Is Node.js Used For? -- Node.js Lets Us Run JavaScript on the Server -- The Node.js Execution Model -- Are There Any Downsides? -- "Hello, World!"-Server Version -- What Kind of Apps Is Node.js Suited To? -- What Are the Advantages of Node.js? -- Other Uses of Node -- Conclusion -- Chapter 2: Build a Simple Page Counter Service with Node.js -- by Craig Buckler -- Prerequisites -- Project Overview -- Page Hit v1.0: In-memory Storage
Step 0 (optional): Source Control -- Step 1: Initialization -- Step 2: Main File (index.js) -- Step 3: Additional Modules -- Step 4: Test Page -- Page Hit v2.0: File Storage -- Node.js File System API -- Step 1: File Utilities -- Step 2: Modify lib/pagehit.js -- Step 3: Test -- Job Done? -- Chapter 3: Understanding module.exports and exports in Node.js -- by James Hibbard -- Different Module Formats -- Requiring a Module -- Creating and Exporting a Module -- Exporting Multiple Methods and Values -- Variations in Syntax -- Exporting a Default Value
What's the Difference Between module.exports and exports? -- So Which One Should I use? -- Conclusion -- Chapter 4: Forms, File Uploads and Security with Node.js and Express -- by Mark Brown and James Hibbard -- Setup -- Displaying the Form -- Form Submission -- Validation and Sanitization -- Validation -- Sanitization -- The Valid Form -- Sending Email with Node -- Security considerations -- TLS over HTTPS -- Wear Your Helmet -- Cross-site Request Forgery (CSRF) -- Cross-site Scripting (XSS) -- File Uploads -- Populating File Inputs -- Uploading Files with Node -- Thanks for Reading
Chapter 5: Working with Databases in Node -- by Craig Buckler -- Evaluate CMS Templates and Plugins -- Reduce Client-side Code -- Optimize JavaScript Code -- Use JavaScript Sparingly -- Avoid Long-running Tasks -- Bind Events Sparingly -- Analyze Modified Code -- Modify the DOM Effectively -- Cache Regularly Used Nodes -- Minimize Reflows -- Batch-update Styles -- Batch-update Elements -- Use requestAnimationFrame -- Consider Progressive Rendering -- Use Server-side Rendering -- Do You Need a JavaScript or CSS Framework? -- Use a Static Site Generator -- Use a Build System
Subject Node.js.
Node.js
Internet programming.
Web site development.
Programmation Internet.
Sites Web -- Développement.
Internet programming
Web site development
Added Author Buckler, Craig, author.
Brown, Mark, author.
Jacques, Nilson, author.
Kolce, James, author.
Orac, Paul, author.
Green, M., author.
Rappl, Florian, author.
Safari, an O'Reilly Media Company.
Other Form: Print version: Hibbard, James. Your First Week with Node. js. Sebastopol : SitePoint Pty, Limited, ©2020
ISBN 9781098122829
1098122828
Standard No. 9781098122805
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information