Node.js blueprints : develop stunning web and desktop applications with the definitive Node.js / Krasimir Tsonev.

A straightforward, practical guide containing step-by-step tutorials that will push your Node.js programming skills to the next level. If you are a web developer with experience in writing client-side JavaScript and want to discover the fascinating world of Node.js to develop fast and efficient web...

Full description

Saved in:
Bibliographic Details
Main Author: Tsonev, Krasimir
Format: eBook
Language:English
Published: Birmingham : Packt Publishing, 2014.
Series:Community experience distilled.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Common Programming Paradigms; Node.js fundamentals; Organizing your code logic in modules; Building a car construction application; Using the car's engine; Understanding inter-module communication; Asynchronous programming; Exploring middleware architecture; Composition versus inheritance; Managing dependencies; Summary; Chapter 2: Developing a Basic Site with Node.js and Express; Getting acquainted with Express; Installing Express; Using package.json.
  • Using a command-line toolManaging routes; Handling dynamic URLs and the HTML forms; Returning a response; The example-logging system; Summary; Chapter 3: Writing a Blog Application with Node.js and AngularJS; Exploring AngularJS; Bootstrapping AngularJS applications; Using directives and controllers; Data binding; Encapsulating logic with modules; Preparing data with filters; Dependency injection; The model in the context of AngularJS; Final words on AngularJS; Selecting and initializing the database; Using NoSQL with MongoDB; Using MySQL; Developing the client side with Angular.
  • Implementing a control panelSummary; Chapter 4: Developing a Chat with Socket. IO; Exploring WebSockets and Socket. IO; Understanding the basic application structure; Running the server; Adding Socket. IO; Writing the client side of the chat; Preparing the HTML markup; Writing the chat logic; Implementing user-to-user communication; Changing the server part; Making changes in the frontend of the chat; Summary; Chapter 5: Creating a To-do Application with Backbone.js; Exploring the Backbone.js framework; Recognizing the framework dependency; Extending the functionality.
  • Understanding Backbone.js as an event-driven frameworkUsing models; Using collections; Implementing views; Using the router; Talking with the backend; Writing the backend part of the application; Running the Node.js server; Managing the to-do lists; Writing the frontend part; Looking into the base of the application; Listing the to-do activities; Adding, deleting, and editing the to-do lists; Summary; Chapter 6: Using Node.js as a Command-line Tool; Exploring the required modules; Planning the application; Obtaining images from a folder; Authorizing the Flickr protocol.
  • Obtaining your application's Key and SecretWriting into the Flickr.js module; Running our application tool; Uploading the images; Summary; Chapter 7: Showing a Social Feed with Ember.js; Preparing the application; Running the server and delivering the assets; Getting tweets based on a user handle; Discovering Ember.js; Knowing the dependencies of Ember.js; Understanding Ember.js; Exploring classes and objects in Ember.js; Computed properties; Router; Views and templates; Models; Controllers; Writing the Ember.js part; Defining the templates; Defining the routes.