IBM i > TRENDS > OPEN SOURCE

MEAN 101: MongoDB, Express.js, Angular.js, Node.js


 

NPM is closely linked to Github, the largest open source community in the world. There are millions of open source projects on GitHub. GitHub is mostly used for code. In addition to source code, GitHub also supports many other features including:

  1. Documentation
  2. Issue tracking

Most of the NPM codes are stored in the Github.

IBM’s Commitment to Node.js

In September 2015, IBM acquired StrongLoop, Inc., a software provider, to help developers connect enterprise applications to mobile, Internet of Things (IoT), and web applications in the cloud. StrongLoop was a leading provider of Node.js, enabling software developers to build applications using APIs.

IBM is a platinum corporate member of the Node.js Foundation, whose mission is to enable widespread adoption and help accelerate development of Node.js and other related modules through an open governance model.

IBM’s involvement and contributions also include:

  1. “IBM SDK for Node.js" provides a compatible solution for IBM Power, Intel, and z Systems products that require Node.js functionality and package management.
  2. Node.js Tools for Eclipse
  3. Bluemix cloud platform provides high performance runtime environments for Node.js
  4. Node-RED, a tool for wiring together hardware devices, APIs and online services in new and interesting ways.

Programming Language – JavaScript

Some of you may be wondering why all of MEAN programming is done using JavaScript. It’s a language that no one cared about during the ‘90s and even the early 2000s. The story is different today, however. How different is it? One IBM press release states “JavaScript ranked #1 language for discussion and usage followed closely by Java”. Other reasons include:

  1. Relatively easy to learn and comprises of syntax that is close to English.
  2. Essential part of the JSON and NoSQL database integration.
  3. Key web technology in addition to HTML and CSS, as most browsers implement JavaScript.

Data Layer

When it comes to data, JSON is the way the industry is transmitting, consuming, and storing. JSON has proved to be a better solution than XML in terms of

  1. Lightweight data-interchange format
  2. Ease for machines to parse and generate
  3. Ease for humans to read and write

MEAN stack fits perfectly with JSON since it can read, process, communicate, and store in JSON very easily.

Legacy Systems

For most of the legacy enterprise software systems not currently using MongoDB, the "M" in MEAN is not possible. In reality, corporations cannot get rid of the existing databases. If that is the case, what is the solution for legacy applications like IBM DB2 users and applications? This article helps users to retain DB2, and still use most of the MEAN stack technology. As we make progress in this article, we will walk users through some of the fundamentals of this technology: DB2, Express, Angular and Node. That gives us the equation DEAN = MEAN – M + D(b2).

Conclusion

Now that we have learned the key concepts, our next step would be to delve deeper into Node, Express, and Angular to create and execute our first programs, which will be covered in future editions of this article series.

Related Links

MongoDB: https://www.mongodb.com/

Express: https://expressjs.com/

Angular: https://angular.io/

Node.js: https://nodejs.org/

NPM: https://www.npmjs.com/

GitHub: https://github.com/

IBM StrongLoop: https://www-03.ibm.com/press/us/en/pressrelease/47577.wss

Node.js Foundation: https://nodejs.org/en/foundation/members/

IBM Node.js SDK for Power, Intel and z: https://developer.ibm.com/node/sdk/

IBM Node.js Tools for Eclipse: https://marketplace.eclipse.org/content/ibm-nodejs-tools-eclipse

IBM Bluemix: https://www.ibm.com/cloud-computing/bluemix/application-services

IBM Node-RED: http://nodered.org/



Like what you just read? To receive technical tips and articles directly in your inbox twice per month, sign up for the EXTRA e-newsletter here.



Advertisement

Advertisement

2017 Solutions Edition

A Comprehensive Online Buyer's Guide to Solutions, Services and Education.

A PHP Partnership

Zend and IBM team up to deliver open-source solutions to IBM i

Making the Net More Inclusive

IBM hopes to help disabled and illiterate users surf the Web

IBM Systems Magazine Subscribe Box Read Now Link Subscribe Now Link iPad App Google Play Store
IBMi News Sign Up Today! Past News Letters