Home » JavaScript

JavaScript

Populate Oracle JET table from JSON based REST Web Service

Before starting with this post first go through my previous post about using JET with JDeveloper. Here I am using the same JET nav drawer template application. In this post, we’ll see how to consume JSON based REST Web Service and populate data in Oracle JET table (oj-table) component We have URL of REST Web Service – http://dummy.restapiexample.com/api/v1/employees, it returns a list ...

Read More »

Working with Oracle JET Chart Component

In this post, we’ll see how to use Oracle JET Chart (oj-chart) Component and its various properties. Here I am using Oracle JET with JDeveloper 12.1.3. To learn more about using JET with JDeveloper refer my previous post Goto Oracle JET Cookbook and read the whole recipe of Bar Chart, Here you’ll learn about basic properties of a chart Now open ...

Read More »

Oracle JET Components Demo Using Cookbook in Jdeveloper

In this post, I am sharing how can we use Oracle JET Cookbook to understand basic UI components and How can we copy and use code from the cookbook. Here I am using JDeveloper 12.1.3 to create Oracle JET Components Demo Application. In the previous post, I have explained about creating a JET application using JDeveloper. Here I am using the ...

Read More »

Getting started with Oracle JET and Jdeveloper

I am writing some posts about Oracle JET and these posts are my learning experience so if you find any wrong info then let me know. Being an ADF developer I started using JET with JDeveloper instead of Netbeans. This is the first post and here I am sharing how to set up Oracle JET and JDeveloper to work together. ...

Read More »

Caching of Modules in NodeJS

In this post, I am talking about caching of Modules in NodeJS. We have the following files 1 2 3 4 5 6 7 //greet.js module.exports = {     greeting: "Hello!",     greet: function(){         console.log(this.greeting);     } } 01 02 03 04 05 06 07 08 09 10 //app.js var greet1 = require("./module/greet"); greet1.greet(); greet1.greeting = "Yooo!"; greet1.greet();       var greet2 ...

Read More »

Exports vs module.exports in NodeJs, Which one to use?

We know that when our code is run through the node it’s wrapped in a function expression. This enables us to access the module object which is a parameter passed to that function. 1 2 3 (function (exports, require, module, __filename, __dirname) {     //module code }); This function expression is then invoked with the following arguments: 1 fn(module.exports, require, module, ...

Read More »

How NodeJs Processes Modules?

We all know that to execute a node application, we have to type the command. In this post, we’ll see how NodeJS processes Modules. whereapp.jsis the entry point to our application. But seldom do we wonder about what’s happening when we type this command. How does the node magically come to take our js file and executes it? This is ...

Read More »

V8 Engine and Introduction to NodeJS

Sharing is Caring This post is going to talk about V8 Engine and Introduction to NodeJS Processor Accepts instructions in a particular language (eg: IA-32, X86-64, ARM, MIPS…). We need to give instruction to a processor on a computer in the language it understands. The microprocessor inputs those instructions and executes them. Machine Code (or Machine Language) Programming languages understood ...

Read More »