How to Return Ajax Response From Asynchronous JavaScript Call: Methods and Code Examples

When JavaScript is used in conjunction with XML or REST APIs, you can create some useful behaviors with a set of web-development techniques collectively known as Ajax. Let’s take a look at a specific Ajax functionality: returning an Ajax response from an asynchronous JavaScript call. First, What Is Ajax? Asynchronous JavaScript and XML, or Ajax,…

An excellent article on the what, why and how of AJAX.  It’s not just for XML.

via How to Return Ajax Response From Asynchronous JavaScript Call: Methods and Code Examples — DZone Web Dev Zone

HTTP request and Node, so many solutions, so little time.

Making HTTP requests is a core functionality for modern languages and one of the first things many developers learn when acclimating to new environments. When it comes to Node.js there are a fair amount of solutions to this problem both built into the … more

If you’re using Node to develop applications or servers you will need to handle HTTP requests.  The standard Node HTTP library is good but there are some options including promises, Super Agent and Ajax to name a few.  While it’s not rocket science this article comes from the experiences with NASA.

via HTTP Requests in Node.js — JSFeeds