Categories

Node.js, MongoDB, and AngularJS Web Development

Author: Brad Dayley
ISBN-10: 321995783
ISBN-13: 9780321995780
No of pages: 696 pages

Availability:
In Stock
Price: ₦ 14,128
Node.js, MongoDB and AngularJS Web Development The definitive guide to building JavaScript-based Web applications from server to browser Node.js, MongoDB, and AngularJS are three new web development technologies that together provide an easy to implement, fully integrated web development stack. Node.js is a leading server-side programming environment, MongoDB is the most popular NoSQL database, and AngularJS is quickly becoming the leading framework for MVC-based front-end development. Together they allow web programmers to create high-performance sites and applications built completely in JavaScript, from server to client. Node.js, MongoDB and AngularJS Web Development is a complete guide for web programmers who want to integrate these three technologies into full working solutions. It begins with concise, crystal-clear tutorials on each of the three technologies and then quickly moves on to building several common web applications. Readers will learn how to use Node.js and MongoDB to build more scalable, high-performance sites, how to leverage AngularJS’s innovative MVC approach to structure more effective pages and applications, and how to use all three together to deliver outstanding next-generation Web solutions. Implement a highly scalable and dynamic web server using Node.js and ExpressBuild server-side web services in JavaScriptImplement a MongoDB data store for your web applicationsAccess and interact with MongoDB from Node.js JavaScript codeDefine static and dynamic web routes and implement server-side scripts to support themImplement Express in Node.jsCreate Jade templatesDefine your own custom AngularJS directives that extend the HTML languageImplement client-side services that can interact with the Node.js web serverBuild dynamic browser views that provide rich user interactionAdd authenticated user accounts to your web applicationsAdd nested comment components to your web pagesBuild an end-to-end shopping cart Contents at a Glance Part I: Getting Started 1 Introducing the Node.js-to-AngularJS Stack 2 JavaScript PrimerPart II: Learning Node.js3 Getting Started with Node.js4 Using Events, Listeners, Timers, and Callbacks in Node.js5 Handling Data I/O in Node.js6 Accessing the File System from Node.js7 Implementing HTTP Services in Node.js8 Implementing Socket Services in Node.js9 Scaling Applications Using Multiple Processors in Node.js10 Using Additional Node.js Modules Part III: Learning MongoDB11 Understanding NoSQL and MongoDB12 Getting Started with MongoDB13 Getting Started with MongoDB and Node.js14 Manipulating MongoDB Documents from Node.js15 Accessing MongoDB Documents from Node.js16 Using Mongoose for Structured Schema and Validation17 Advanced MongoDB Concepts Part IV: Using Express to Make Life Easier18 Implementing Express in Node.js19 Implementing Express Middleware Part V: Learning AngularJS20 Getting Started with AngularJS21 Understanding AngularJS Modules and Dependency Injection22 Implementing the Scope as a Data Model23 Using AngularJS Templates to Create Views24 Implementing Directives in AngularJS Views25 Implementing AngularJS Services in Web Applications Part VI: Building Practical Web Application Components26 Adding User Accounts to Your Website27 Adding Comment Threads to Pages28 Creating Your Own Shopping Cart29 Building Interactive Web 2.0 Application Components
Introduction Part I: Getting Started¿ 1 Introducing the Node.js-to-AngularJS Stack¿Understanding the Basic Web Development Framework ¿Understanding the Node.js-to-AngularJS Stack Components¿¿2 JavaScript PrimerDefining VariablesUnderstanding JavaScript Data TypesUsing OperatorsImplementing LoopingCreating FunctionsUnderstanding Variable ScopeUsing JavaScript ObjectsManipulating StringsWorking with ArraysAdding Error HandlingPart II: Learning Node.js¿3 Getting Started with Node.jsUnderstanding Node.jsInstalling Node.jsWorking with Node.js PackagesCreating a Node.js ApplicationWriting Data to the Console4 Using Events, Listeners, Timers, and Callbacks in Node.jsUnderstanding the Node.js Event ModelAdding Work to the Event QueueImplementing Callbacks¿5 Handling Data I/O in Node.jsWorking with JSONUsing the Buffer Module to Buffer DataUsing the Stream Module to Stream DataCompressing and Decompressing Data with Zlib¿6 Accessing the File System from Node.jsSynchronous Versus Asynchronous File System CallsOpening and Closing FilesWriting FilesReading FilesOther File System Tasks¿7 Implementing HTTP Services in Node.jsProcessing URLsProcessing Query Strings and Form ParametersUnderstanding Request, Response, and Server ObjectsImplementing HTTP Clients and Servers in Node.jsImplementing HTTPS Servers and Clients¿8 Implementing Socket Services in Node.jsUnderstanding Network SocketsUnderstanding TCP Server and Socket ObjectsImplementing TCP Socket Servers and ClientsImplementing TLS Servers and Clients9 Scaling Applications Using Multiple Processors in Node.jsUnderstanding the process ModuleImplementing Child ProcessesImplementing Process Clusters10 Using Additional Node.js ModulesUsing the os ModuleUsing the util ModulePart III: Learning MongoDB¿11 Understanding NoSQL and MongoDBWhy NoSQL?Understanding MongoDBMongoDB Data TypesPlanning Your Data Model¿12 Getting Started with MongoDBBuilding the MongoDB EnvironmentAdministering User AccountsConfiguring Access ControlAdministering DatabasesManaging Collections¿13 Getting Started with MongoDB and Node.jsAdding the MongoDB Driver to Node.jsConnecting to MongoDB from Node.jsUnderstanding the Objects Used in the MongoDB Node.js DriverAccessing and Manipulating DatabasesAccessing and Manipulating Collections¿14 Manipulating MongoDB Documents from Node.jsUnderstanding Database Change OptionsUnderstanding Database Update OperatorsAdding Documents to a CollectionGetting Documents from a CollectionUpdating Documents in a CollectionAtomically Modifying Documents in a CollectionSaving Documents in a CollectionUsing upsert to Insert Documents in a CollectionDeleting Documents from a CollectionRemoving a Single Document from a Collection¿15 Accessing MongoDB Documents from Node.jsIntroducing the Data SetUnderstanding Query ObjectsUnderstanding Query options ObjectsFinding Specific Sets of DocumentsCounting DocumentsLimiting Result SetsSorting Result SetsFinding Distinct Field ValuesGrouping ResultsApplying MapReduce by Aggregating Results¿16 Using Mongoose for Structured Schema and ValidationUnderstanding MongooseConnecting to a MongoDB Database by Using MongooseDefining a SchemaCompiling a ModelUnderstanding the Query ObjectUnderstanding the Document ObjectFinding Documents by Using MongooseAdding Documents by Using MongooseUpdating Documents by Using MongooseRemoving Documents by Using MongooseAggregating Documents by Using MongooseUsing the Validation FrameworkImplementing Middleware Functions¿17 Advanced MongoDB ConceptsAdding IndexesUsing Capped CollectionsApplying ReplicationImplementing ShardingImplementing a GridFS StoreRepairing a MongoDB DatabaseBacking Up MongoDB¿Part IV: Using Express to Make Life Easier¿18 Implementing Express in Node.jsGetting Started with ExpressConfiguring RoutesUsing Request ObjectsUsing Response Objects¿Implementing a Template Engine¿19 Implementing Express Middleware¿Understanding MiddlewareUsing the query MiddlewareServing Static FilesHandling POST Body DataSending and Receiving CookiesImplementing SessionsApplying Basic HTTP AuthenticationImplementing Session AuthenticationCreating Custom Middleware¿Part V: Learning AngularJS¿20 Getting Started with AngularJSWhy AngularJS?Understanding AngularJSAn Overview of the AngularJS Life CycleIntegrating AngularJS with Existing JavaScript and jQueryAdding AngularJS to the Node.js EnvironmentBootstrapping AngularJS in an HTML DocumentUsing the Global APIsCreating a Basic AngularJS Application¿21 Understanding AngularJS Modules and Dependency InjectionOverview of Modules and Dependency InjectionDefining AngularJS ModulesImplementing Dependency Injection¿22 Implementing the Scope as a Data ModelUnderstanding ScopesImplementing Scope HierarchyEmitting and Broadcasting Events23 Using AngularJS Templates to Create ViewsUnderstanding TemplatesUsing ExpressionsUsing FiltersCreating Custom Filters24 Implementing Directives in AngularJS ViewsUnderstanding DirectivesUsing Built-in DirectivesCreating Your Own Directives to Extend HTML25 Implementing AngularJS Services in Web ApplicationsUnderstanding AngularJS ServicesUsing the Built-in ServicesCreating Custom Services¿Part VI: Building Practical Web Application Components¿26 Adding User Accounts to Your WebsiteLibraries UsedProject Directory StructureDefining the User ModelCreating the ServerImplementing RoutesImplementing the User Controller RoutesImplementing the User and Authentication ViewsImplementing the AngularJS Module and ControllerUsing Social Media Accounts as Authentication Sources¿27 Adding Comment Threads to PagesLibraries UsedProject Directory StructureDefining the Comment, Reply, Photo, and Page ModelsCreating the Comments ServerImplementing Routes to Support Viewing and Adding CommentsImplementing the Model-Based Controller RoutesImplementing Photo and Comment ViewsImplementing the AngularJS Module and Controller to Support Comment ViewsInitializing the Application¿28 Creating Your Own Shopping CartProject DescriptionLibraries UsedProject Directory StructureDefining the Customer, Product, and Orders ModelsCreating the Shopping Cart ServerImplementing Routes to Support Product, Cart, and Order RequestsImplementing the Model-Based Controller RoutesImplementing Shopping Cart and Checkout ViewsImplementing the AngularJS Module and Controller to Support Shopping Cart ViewsInitializing the Application29 Building Interactive Web 2.0 Application ComponentsProject DescriptionLibraries UsedProject Directory StructureDefining the Project ModelCreating the Application ServerImplementing Routes to Support the ViewsImplementing a Tabbed ViewImplementing a Weather Service ViewImplementing Draggable ElementsImplementing Dynamic Data AccessInitializing the Application

Binding: Paperback
Language: English
No of pages: 696 pages
Publication Date: 14th July 2014
ISBN-10: 321995783
ISBN-13: 9780321995780
Dimensions: 0.0 x 0.0 x 0.0 Inch
Weight: 0.00 Pound
Author: Brad Dayley

Brad Dayley is a senior software engineer with more than 20 years of experience developing enterprise applications and web interfaces. He has used JavaScript and jQuery for years and is the author of jQuery and JavaScript Phrasebook and Teach Yourself jQuery and JavaScript in 24 Hours. He has designed and implemented a wide array of applications and services, from application servers to complex Web 2.0 interfaces. He is also the author of Python Developer’s Phrasebook and Teach Yourself Django in 24 Hours.

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad            Good

Enter the code in the box below: