Posts

Showing posts from 2017

Creating a Simple Node.js project with MongoDB connectivity (Part 1)

Image
For beginners who would love to have a short intro about why Node has become a raving feature lately, let's start off with elucidating its basic features here. Node.js As defined by the official site for Node.js, it is a JavaScript runtime built on  Chrome's V8 JavaScript engine . It utilizes an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js is packaged and retrieved from  npm which is the  largest ecosystem of open source libraries in the world. It's an open source server framework that enables developers to obtain full certification to modify the script as desired. Totally free - Talk about not having to input all that messy credit card info to have access to the script. No need to hassle about platform prerequisites. Node has been proven to run on  most of the renowned platforms such as-  Windows Linux Unix Mac OS X etc. As obviously known, Node.js utilizes JavaScript on the server. There's just a vast arena

OSGi Framework

Image
After a long lapse, I thought of reverting to a general, yet, in-vogue-theory elucidation. This post will be skimming through the OSGi Framework and its basic layout. The OSGi (Open Services Gateway initiative) framework offers a dynamic modular architecture which has been used in many applications such as Eclipse Equinox, Apache Felix, etc. Contemplating OSGi framework’s back-end functionalities aids in developing Eclipse plugins and similar atomic programs. OSGi framework architecture comprises 3 theoretical layers. Each layer is reliant on the layer(s) underneath it. The figure below shows the outline of each layer. Service Layer Module Layer Lifecycle layer Service Layer This is the layer that fulfills a service request from a client who is the requester. The service requester/client will request a service from the service provider, who publishes the service if it is available. This resembles and functions in a manner similar to a Service Oriented Architecture (