Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Computer science
- Webmastering
- Node Cookbook. Transferring your JavaScript skills to server-side programming is simplified with this comprehensive cookbook. Each chapter focuses on a different aspect of Node, featuring recipes supported with lots of illustrations, tips, and hints
E-book details
Log in, If you're interested in the contents of the item.
Node Cookbook. Transferring your JavaScript skills to server-side programming is simplified with this comprehensive cookbook. Each chapter focuses on a different aspect of Node, featuring recipes supported with lots of illustrations, tips, and hints
Ebook
- Node Cookbook Second Edition
- Table of Contents
- Node Cookbook Second Edition
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Making a Web Server
- Introduction
- Setting up a router
- Getting ready
- How to do it...
- How it works...
- Theres more...
- Simple multilevel routing
- Parsing the querystring module
- The routing modules
- See also
- Serving static files
- Getting ready
- How to do it...
- How it works...
- There's more...
- The favicon gotcha
- See also
- Caching content in memory for immediate delivery
- Getting ready
- How to do it...
- How it works...
- There's more...
- Reflecting content changes
- See also
- Optimizing performance with streaming
- Getting ready
- How to do it...
- How it works...
- There's more...
- Protecting against process memory overruns
- See also
- Securing against filesystem hacking exploits
- Getting ready
- How to do it...
- How it works...
- There's more...
- Whitelisting
- Node static
- See also
- 2. Exploring the HTTP Object
- Introduction
- Processing POST data
- Getting ready
- How to do it...
- How it works...
- There's more...
- Accessing POST data with connect and body-parser
- See also
- Handling file uploads
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using formidable to accept all POST data
- Preserving filenames with formidable
- Uploading files via PUT
- See also
- Using Node as an HTTP client
- Getting ready
- How to do it...
- How it works...
- There's more...
- Sending POST requests
- Multipart file upload as a client
- See also
- Implementing download throttling
- Getting ready
- How to do it...
- How it works...
- There's more...
- Enabling a resume request from broken downloads
- See also
- 3. Working with Data Serialization
- Introduction
- Converting an object to JSON and back
- Getting ready
- How to do it
- How it works
- There's more
- Constructing JSONP responses
- Security and JSONP
- See also
- Converting an object to XML and back
- Getting ready
- How to do it
- How it works
- There's more
- Generating XML attributes and text nodes
- Partial application
- See also
- Browser-server transmission via AJAX
- Getting ready
- How to do it
- How it works
- There's more
- Sending serialized data from the client to the server
- See also
- Working with real data fetching trending tweets
- Getting ready
- How to do it
- How it works
- There's more
- Cross referencing Google Hot Trends with Twitter tweets
- See also
- 4. Interfacing with Databases
- Introduction
- Writing to a CSV file
- Getting ready
- How to do it
- How it works
- There's more
- Customizing the CSV elements
- Reading a CSV file
- Manipulating the CSV data stream
- See also
- Connecting and sending SQL to a MySQL server
- Getting ready
- How to do it
- How it works
- There's more
- Using and cleaning user input
- Receiving results from the MySQL server
- See also
- Storing and retrieving data with MongoDB
- Getting ready
- How to do it
- How it works
- There's more
- Indexing and aggregation
- Updating modifiers, sort, and limit
- MongoDB without MongoDB
- See also
- Storing data to CouchDB with Cradle
- Getting ready
- How to do it
- How it works
- There's more
- Scaling CouchDB with BigCouch
- See also
- Retrieving data from CouchDB with Cradle
- Getting ready
- How to do it
- How it works
- There's more
- Creating an admin user
- Locking all modifying operations to an admin user
- Exposing the CouchDB HTTP interface to remote connections
- See also
- Accessing the CouchDB changes stream with Cradle
- Getting ready
- How to do it
- How it works
- See also
- Storing and retrieving data with Redis
- Getting ready
- How to do it
- How it works
- There's more
- Speeding up the Node Redis module
- Overcoming network latency by pipelining commands
- See also
- Implementing PubSub with Redis
- Getting ready
- How to do it
- How it works
- There's more
- Redis authentication
- Securing Redis from external connections
- See also
- 5. Employing Streams
- Introduction
- Consuming streams
- Getting ready
- How to do it
- How it works
- There's more
- Using read's size argument
- Consuming via the data event
- See also
- Playing with pipes
- Getting ready
- How to do it
- How it works
- There's more
- Chaining and filtering streams
- Preparing for greater complexity
- See also
- Making stream interfaces
- Getting ready
- How to do it
- How it works
- There's more
- Making reusable streams
- Transform streams
- See also
- Streaming across Node processes
- Getting ready
- How to do it
- How it works
- There's more
- Processing stream chunk buffers efficiently
- Streaming over TCP
- See also
- 6. Going Real Time
- Introduction
- Creating a WebSocket server
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating a Node-based WebSocket client
- WebSocket streams
- See also
- Cross-browser real-time logic with Socket.IO
- Getting ready
- How to do it...
- How it works...
- There's more...
- Custom events
- See also
- Remote Procedure Calls with Socket.IO
- Getting ready
- How to do it...
- How it works...
- There's more...
- Remote Procedure Calls with SockJS
- See also
- Creating a real-time widget
- Getting ready
- How to do it...
- How it works...
- There's more...
- Preparing for scalability
- WebSockets as a development tool
- See also
- 7. Accelerating Development with Express
- Introduction
- Generating Express scaffolding
- Getting ready
- How to do it...
- How it works...
- There's more...
- Picking apart app.js
- The initialization process
- Looking into routes/index.js
- See also
- Managing server tier environments
- Getting ready
- How to do it...
- How it works...
- There's more...
- Setting other environments
- Changing NODE_ENV permanently
- See also
- Implementing dynamic routing
- Getting ready
- How to do it...
- How it works...
- There's more...
- Route validation
- Optional routes
- Asterisks wildcards
- See also
- Templating in Express
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using other template engines
- EJS templates
- Literal JavaScript in Jade
- Jade includes
- Using layout.jade
- See also
- CSS preprocessors with Express
- Getting ready
- How to do it...
- How it works...
- There's more...
- Nested mixins and rest parameters
- Playing with colors
- Using LESS
- See also
- Initializing and using a session
- Getting ready
- How to do it...
- How it works...
- There's more...
- Custom middleware for site-wide session management
- Flash messages
- See also
- Making an Express web app
- Getting ready
- How to do it...
- Creating a database bridge
- Configuring app.js files
- Modifying the profiler app
- Modifying the mounted login app
- How it works...
- Understanding app mounting
- Data flow
- Route handling
- Views
- Mixins
- Locals
- Styles
- User flow
- Understanding app mounting
- There's more...
- Benchmarking
- See also
- 8. Implementing Security, Encryption, and Authentication
- Introduction
- Implementing Basic Authentication
- Getting ready
- How to do it...
- How it works...
- There's more...
- Basic Authentication with Express
- See also
- Hashing passwords
- Getting ready
- How to do it...
- How it works...
- There's more...
- Making unique hashes with HMAC
- Hardened hashing with PBKDF2
- See also
- Implementing Digest Authentication
- Getting ready
- How to do it...
- How it works...
- There's more...
- Logging out of authenticated areas
- See also
- Setting up an HTTPS web server
- Getting ready
- How to do it...
- How it works...
- There's more...
- HTTPS in Express
- Securing Basic Authentication with SSL/TLS
- See also
- Preventing cross-site request forgery
- Getting ready
- How to do it...
- How it works...
- There's more...
- Auto-securing the POST forms with the CSRF elements
- Eliminating cross-site scripting (XSS) vulnerabilities
- See also
- 9. Integrating Network Paradigms
- Introduction
- Sending an e-mail
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using sendmail as an alternative transport
- Creating HTML e-mails
- Sending attachments
- See also
- Sending an SMS
- Getting ready
- How to do it...
- How it works...
- There's more...
- Making an automated phone call
- See also
- Communicating with TCP
- Getting ready
- How to do it...
- How it works...
- There's more...
- Port forwarding
- Using pcap to watch TCP traffic
- See also
- Creating an SMTP server
- Getting ready
- How to do it...
- How it works...
- There's more...
- Receiving e-mails from external SMTP servers
- See also
- Implementing a virtual hosting paradigm
- Getting ready
- How to do it...
- How it works...
- There's more...
- Virtual hosting Express apps
- Server Name Indication (SNI)
- See also
- 10. Writing Your Own Node Modules
- Introduction
- Creating a test-driven module specification
- Getting ready
- How to do it
- How it works
- There's more
- Unit tests with should.js
- See also
- Writing a functional module mock-up
- Getting ready
- How to do it
- How it works
- There's more
- Writing a module use case example
- See also
- Refactoring with prototypical inheritance
- Getting ready
- How to do it
- How it works
- There's more
- Adding the stat function to the initialized mp3dat object
- Allowing multiple instances
- See also
- Extending a module's API
- Getting ready
- How to do it
- How it works
- There's more
- Creating the STDIN stream example
- Creating the PUT upload stream example
- Merging stat and statStream
- Integrating the EventEmitter
- See also
- Deploying a module to npm
- Getting ready
- How to do it
- How it works
- There's more
- npm link
- .npmignore and npm versions
- See also
- 11. Taking It Live
- Introduction
- Deploying an app to a server environment
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using screen instead of nohup
- Using authbind for privileged ports
- Hosting multiple processes from port 80
- See also
- Automatic crash recovery
- Getting ready
- How to do it...
- How it works...
- There's more...
- Detecting a respawn limit violation
- Staying up with forever
- See also
- Continuous deployment
- Getting ready
- How to do it...
- How it works...
- There's more...
- Building module dependencies on update
- Writing a Node Git hook for integrated testing
- See also
- Hosting with a Platform as a Service provider
- Getting ready
- How to do it...
- How it works...
- There's more...
- Assigning custom domains to Nodejitsu apps
- Provisioning a database with jitsu
- See also
- Index
- Title: Node Cookbook. Transferring your JavaScript skills to server-side programming is simplified with this comprehensive cookbook. Each chapter focuses on a different aspect of Node, featuring recipes supported with lots of illustrations, tips, and hints
- Author: David Mark Clements
- Original title: Node Cookbook. Transferring your JavaScript skills to server-side programming is simplified with this comprehensive cookbook. Each chapter focuses on a different aspect of Node, featuring recipes supported with lots of illustrations, tips, and hints.
- ISBN: 9781783280445, 9781783280445
- Date of issue: 2014-04-25
- Format: Ebook
- Item ID: e_3axc
- Publisher: Packt Publishing