hello.js

var please = require('share');
console.log('thank you');

Friday, 16 June, 2017 UTC

How to get, use, and close a DB connection using the Async module

How to get, use, and close a DB connection using the Async module

The first pattern we looked at in this series was the Node.js callback pattern. As I mentioned there, that pattern alone will only get you so far. Eventually, you’ll want to construct asynchronous workflows that process elements in a collection serially ... more


Monday, 12 June, 2017 UTC

How to get, use, and close a DB connection using callbacks

How to get, use, and close a DB connection using callbacks

Callback functions have been around since the early days of JavaScript, but there have never been any standards for using them. How should callbacks be passed into async APIs? How should errors that occur during async processing be handled? A lack of ... more


Monday, 12 June, 2017 UTC

How to get, use, and close a DB connection using various async patterns

How to get, use, and close a DB connection using various async patterns

It seems simple enough: get a connection to the database, use it to do some work, then close it when you’re done. But due to the asynchronous nature of Node.js, coding this sequence isn’t as straightforward as it seems. There are lots of options for ... more


Wednesday, 3 May, 2017 UTC

Creating a Sandbox for Learning Node.js and Oracle Database

Creating a Sandbox for Learning Node.js and Oracle Database

With Oracle Database 12.2 now available and Node.js 8 just around the corner, this is a great time to create a local sandbox for learning. Thanks to some prebuilt VMs provided by Oracle, you can have such an environment up and running in less than 20 ... more


Monday, 6 February, 2017 UTC

Adding Font Awesome to a Yeoman Generated JET Project

Adding Font Awesome to a Yeoman Generated JET Project

Oracle JET, Oracle’s JavaScript toolkit for single page apps, includes over 80 components to help build enterprise JavaScript applications. But one thing JET doesn’t include is a set of icons – the argument being that different apps and teams will likely ... more


Monday, 23 January, 2017 UTC

PL/SQL record types and the Node.js driver

PL/SQL record types and the Node.js driver

The current version of the Node.js driver (v1.12) doesn’t support binding record types directly. Does that mean you can’t invoke stored procedures and functions that use record types? Of course not! For now, you just have to decompose the record types ... more


Monday, 3 October, 2016 UTC

Working with Dates Using ORDS

Working with Dates Using ORDS

Oracle REST Data Services (ORDS) allows developers to create REST interfaces to Oracle Database, Oracle Database 12c JSON Document Store, and Oracle NoSQL Database as quickly and easily as possible. When working with Oracle Database, developers can use ... more


Tuesday, 6 September, 2016 UTC

Working with Dates Using the Node.js Driver

Working with Dates Using the Node.js Driver

Node.js is an excellent platform for creating RESTful APIs that store and retrieve data using Oracle Database. node-oracledb is the driver maintained by Oracle that allows Node.js developers to connect to and utilize the database. As data crosses the ... more


Monday, 22 August, 2016 UTC

Working with Dates in JavaScript, JSON, and Oracle Database

Working with Dates in JavaScript, JSON, and Oracle Database

When I wrote a series of posts on creating JSON from relational data, I mentioned that dates could be tricky. That was a bit of an understatement. Dates, and the time zone conversions that often go along with them, can be outright daunting! In this series, ... more


Saturday, 12 March, 2016 UTC

Extending the JavaScript Layer – Feedback Wanted!

Extending the JavaScript Layer – Feedback Wanted!

We added a new JavaScript layer in the last release of the Node.js driver for Oracle Database. It added just one feature (connection request queueing) and didn’t include any API changes. However, there are currently two features being worked on that ... more