LEADER 00000cam a22007097a 4500 003 OCoLC 005 20240129213017.0 006 m o d 007 cr cnu|||||||| 008 200429s2020 xx o 000 0 eng 019 1153081498 020 9781098122829 020 1098122828 024 8 9781098122805 029 0 AU@|b000067074043 029 1 AU@|b000073549225 035 (OCoLC)1152552619|z(OCoLC)1153081498 040 AU@|beng|epn|cAU@|dEBLCP|dTOH|dOCLCO|dOCLCF|dOCLCO|dOCLCQ |dOLDSC|dOCLCO 049 INap 082 04 005.276 082 04 005.276|223 099 eBook O'Reilly for Public Libraries 100 1 Hibbard, James,|eauthor. 245 10 Your First Week With Node.js, 2nd Edition /|cHibbard, James.|h[O'Reilly electronic resources] 250 2nd edition. 264 1 |bSitePoint,|c2020. 300 1 online resource (192 pages) 336 text|btxt|2rdacontent 337 computer|bc|2rdamedia 338 online resource|bcr|2rdacarrier 347 text file 505 0 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 505 8 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 505 8 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 505 8 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 505 8 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 520 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. 542 |fCopyright © SitePoint 550 Made available through: Safari, an O'Reilly Media Company. 588 Online resource; Title from title page (viewed April 24, 2020) 590 O'Reilly|bO'Reilly Online Learning: Academic/Public Library Edition 630 00 Node.js. 630 07 Node.js|2fast 650 0 Internet programming. 650 0 Web site development. 650 6 Programmation Internet. 650 6 Sites Web|xDéveloppement. 650 7 Internet programming|2fast 650 7 Web site development|2fast 700 1 Buckler, Craig,|eauthor. 700 1 Brown, Mark,|eauthor. 700 1 Jacques, Nilson,|eauthor. 700 1 Kolce, James,|eauthor. 700 1 Orac, Paul,|eauthor. 700 1 Green, M.,|eauthor. 700 1 Rappl, Florian,|eauthor. 710 2 Safari, an O'Reilly Media Company. 776 08 |iPrint version:|aHibbard, James.|tYour First Week with Node. js.|dSebastopol : SitePoint Pty, Limited, ©2020 856 40 |uhttps://ezproxy.naperville-lib.org/login?url=https:// learning.oreilly.com/library/view/~/9781098122805/?ar |zAvailable on O'Reilly for Public Libraries 936 BATCHLOAD 938 ProQuest Ebook Central|bEBLB|nEBL6184766 994 92|bJFN