Understanding Promises When I started programming with Node.js, I complained a lot about nesting asynchronous in anonymous functions and the spaghetti code that it leads to. Of course I use my years of programming experience to still write good code, but its harder. My friends on the SDK team would tell me to use promises...
Watson on Node-RED
Watson on Node-RED exposes IBM Watson services as Node-RED nodes, enabling developers and designers to add Watson services to their Node-RED Internet of Things models.
Node-RED is a rapidly growing easy-to-use modeling and prototyping tool that can help someone with no development background to build sophisticated applications in minutes. Applications are developed by building data flows through a series of connected nodes.
The npm module node-red-node-watson exposes all Watson services as Node-RED nodes, enabling those services to be readily used in Node-RED application flows. Intricate applications can be built that allow Watson services to interact with the range of capabilities and services exposed as Node-RED nodes and developed by the Node-RED contributor community. For example, the OK Watson starter kit application uses Speech to Text, Tone Analyzer, Conversation Text to Speech, and Twitter services to create a powerful app.
How can I contribute?
There are two ways to contribute to Watson on Node-RED:
- You can develop sample flows that make use of the Watson services in innovative solutions. You can publish them as either basic examples, advanced examples, or starter kits on our documentation repository. This will allow you to share your samples to the community building Watson-powered applications on Node-RED.
- You can write new nodes for new services. Visit our GitHub repository is to find the current code and make contributions.
The Watson Developer Cloud APIs are continuously being enhanced and added to. Consequently, there are always open tasks to code Node-RED capabilities for new, enhanced, or modified services. The task of creating new nodes is limited to trusted contributors. To become a trusted contributor, you can demonstrate or improve your skill level by identifying and fixing bugs in existing code.
Why should I contribute?
Watson on Node-RED will help you build more powerful applications by making it easier to model and access Watson’s unmatched suite of services through Node-RED. It’s simple: when you can quickly design better apps, you can devote more time to building better apps.
To contribute code you need to be familiar with developing Node-RED nodes, Node.js and Git. If you are learning to use these tools then you can jumpstart knowledge by bug fixing.
To see what you can do, take a look at each of the video introductions to our starter-kit samples.
Watson on Node-RED blog posts
In the latest iteration of my my Tweet Listener Node-RED model, I've added nodes to calculate sentiment and act on a positive or negative trend.
IBM Watson has added a new service, Discovery, and updated two others, Speech to Text and Text to Speech. Watson on Node-RED nodes have been added to support these new features.
Build a Node-RED model that lets you listen for specific tweets from specific users or specific topics and recipients, and then act on the detected tweet depending on whether it has positive or negative sentiment.
Register for "Node-RED: Basics to bots," a new developerWorks course to help you take your Watson on Node-RED skills from beginner to advanced. The course comes in four parts -- to get started all you need is a working Bluemix ID.
I have been developing code for over 30 years, spanning a whole range of technologies, including 360 Assember, PL/I C/C++, Java, Python, and Node.js. Over that time I’ve worked hard to obtain and upgrade the skills, knowledge, and adaptability it takes to be a hands-on developer. Being able to keep up with technology changes in...