Your First Week With Node.js, 2nd Edition /
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...
Saved in:
Online Access: |
Full text (MCPHS users only) |
---|---|
Main Authors: | , , , , , , , |
Corporate Author: | |
Format: | Electronic eBook |
Language: | English |
Published: |
SitePoint,
2020
|
Edition: | 2nd edition. |
Subjects: | |
Local Note: | ProQuest Ebook Central |
MARC
LEADER | 00000cam a22000007a 4500 | ||
---|---|---|---|
001 | in00000123703 | ||
006 | m o d | ||
007 | cr cnu|||||||| | ||
008 | 200429s2020 xx o 000 0 eng | ||
005 | 20240626210047.8 | ||
019 | |a 1153081498 | ||
020 | |a 9781098122829 | ||
020 | |a 1098122828 | ||
020 | |z 9781925836387 | ||
024 | 8 | |a 9781098122805 | |
029 | 0 | |a AU@ |b 000067074043 | |
029 | 1 | |a AU@ |b 000073549225 | |
035 | |a (OCoLC)1152552619 |z (OCoLC)1153081498 | ||
035 | |a (OCoLC)on1152552619 | ||
040 | |a AU@ |b eng |e pn |c AU@ |d EBLCP |d TOH |d OCLCO |d OCLCF |d OCLCO |d OCLCQ |d OLDSC |d OCLCO |d OCLCL | ||
050 | 4 | |a QA76.625 |b .Y687 2020 | |
082 | 0 | 4 | |a 005.276 |2 23 |
100 | 1 | |a Hibbard, James, |e author. | |
245 | 1 | 0 | |a Your First Week With Node.js, 2nd Edition / |c Hibbard, James. |
250 | |a 2nd edition. | ||
264 | 1 | |b SitePoint, |c 2020. | |
300 | |a 1 online resource (192 pages) | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a text file | ||
505 | 0 | |a 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 | |a 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 | |a 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 | |a 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 | |a 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 | |a 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 | |f Copyright © SitePoint | ||
550 | |a Made available through: Safari, an O'Reilly Media Company. | ||
588 | |a Online resource; Title from title page (viewed April 24, 2020) | ||
590 | |a ProQuest Ebook Central |b Ebook Central College Complete | ||
630 | 0 | 0 | |a Node.js. |
650 | 0 | |a Internet programming. | |
650 | 0 | |a Web site development. | |
700 | 1 | |a Buckler, Craig, |e author. | |
700 | 1 | |a Brown, Mark, |e author. | |
700 | 1 | |a Jacques, Nilson, |e author. | |
700 | 1 | |a Kolce, James, |e author. | |
700 | 1 | |a Orac, Paul, |e author. | |
700 | 1 | |a Green, M., |e author. | |
700 | 1 | |a Rappl, Florian, |e author. | |
710 | 2 | |a Safari, an O'Reilly Media Company. | |
758 | |i has work: |a Your First Week With Node.js, 2nd Edition (Text) |1 https://id.oclc.org/worldcat/entity/E39PCYGYCG9Qdp6kfV9J6q9Hcq |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | 0 | 8 | |i Print version: |a Hibbard, James. |t Your First Week with Node. js. |d Sebastopol : SitePoint Pty, Limited, ©2020 |
852 | |b E-Collections |h ProQuest | ||
856 | 4 | 0 | |u https://ebookcentral.proquest.com/lib/mcphs/detail.action?docID=6184766 |z Full text (MCPHS users only) |t 0 |
936 | |a BATCHLOAD | ||
938 | |a ProQuest Ebook Central |b EBLB |n EBL6184766 | ||
947 | |a FLO |x pq-ebc-base | ||
999 | f | f | |s ed46ad14-d0b2-4efe-bcb0-4f8f26bd4958 |i 0b118640-63d9-46bf-89df-0ae050a21008 |t 0 |
952 | f | f | |a Massachusetts College of Pharmacy and Health Sciences |b Online |c Online |d E-Collections |t 0 |e ProQuest |h Other scheme |
856 | 4 | 0 | |t 0 |u https://ebookcentral.proquest.com/lib/mcphs/detail.action?docID=6184766 |y Full text (MCPHS users only) |