2/17/2015 12:00:07 PM
JavaScript Based Node.js v0.12 is Released
OpenSSL,API,C++,JavaScript,Applications
https://appdevelopermagazine.com/images/news_images/NodeJS-and-Javascript-App-Developer-Magazine_gd4jd6gn.jpg
App Developer Magazine

JavaScript Based Node.js v0.12 is Released



Richard Harris Richard Harris in Programming Tuesday, February 17, 2015
21,969

Node.js is a platform built on the JavaScript runtime for building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, to facilitate data-intensive real-time applications that run across distributed devices.

This latest version includes API updates that may require dependency updates. Here are some highlights of v0.12:

Streams 3

- The Streams implementation now works the way you thought it already should, without introducing any changes to the API. Basically this means no more getting stuck in "old mode", there are only streams that are flowing or not.

- Streams now support the use of cork and uncork mechanisms to prevent flushing writes out to the system if an application is going to be performing many writes in a row. There is an implicit uncork performed when you end a writable stream.

HTTP

- maxSockets are no longer limited to 5. The default is now set to Infinity with the developer and the operating system given control over how many simultaneous connections an application can keep open to a given host.

- Proper KeepAlive support means that sockets will stay open until they timeout at the configured time, are closed by the remote side, or the process exits. Developer's no longer have to make sure requests have been pipelined to keep the socket open, or use an alternative module to get that support.

- Developers can also now explicitly flushHeaders to ensure time to first byte is low and proxied connections are held open.

Cluster

- Now has two modes of operation, the new default is a round robin distribution mechanism where the master accepts new connections and distributes them to your workers. If you want you can still opt back into the old method where your workers are responsible for acception connections.

TLS

- The new TLSWrap mechanism is under the hood, this eliminates quite a few of the hops back and forth between JavaScript and C++ implementations.

- Added APIs for asynchronous SNI callbacks, OCSP stapling, and storage events.
Buffer.

- A more accurate mechanism for allocating memory for buffers now, which means you'll see less overhead and impact from holding onto to small slices of Buffers. This reduces the amount of memory pressure on the system, which means GC runs are quicker, which means Node.js is on CPU less, and thus lower latency for your applications.

child_process

- spawnSync/execSync have been added to facilitate synchronous child processes, warning your node process won't make forward progress while waiting for the child to exit.

Crypto

- Added APIs for loading custom engines for use with compiled in OpenSSL.

- More APIs support supplying the pass phrases.

- Added APIs for RSA public/private key encryption/decryption.

VM

- The module is now based on the Contextify module, which shares values from the sandbox to avoid missing changes inside the execution from appearing in the parent context.

- Initial support for ECMAScript Internationalization API 1.0 (ECMA-402).

- By default, Node.js v0.12.0 binaries are shipped with ECMA-402 support, but only for the English language. In other words, the ECMA-402 API is working as you would expect, but only data for the English language is included. You can find more info on how to include more languages in the Wiki.

You can learn more on the Node.js website.


Read more: http://nodejs.org/

Get your Pi Day 2019 Shirt

Love Is Like Pi Never Ending T-Shirt Math Pi day Gift Shirt. Perfect Shirt to celebrate Pi Day 2019. Great gift whether you just love Math or you are a Math Student, Teacher or similar.

475 Tax Deductions for Businesses and Self-Employed Individuals

Are you paying more taxes than you have to as a developer or freelancer? The IRS is certainly not going to tell you about a deduction you failed to take, and your accountant is not likely to take the time to ask you about every deduction you’re entitled to. As former IRS Commissioner Mark Everson admitted, “If you don’t claim it, you don’t get it.

A hands-on guide to mastering mobile forensics for iOS and Android

Get hands-on experience in performing simple to complex mobile forensics techniques Retrieve and analyze data stored not only on mobile devices but also through the cloud and other connected mediums A practical guide to leveraging the power of mobile forensics on popular mobile platforms with lots of tips, tricks, and caveats.

Gps tracker for kids

The Chirp GPS app is a top-ranked location sharing app available for Apple and Android that is super easy to use, and most of all, it's reliable.

The Latest Nerd Ranch Guide (3rd Edition) to Android Programming

Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.