I keep a lot of information about my house – I have had sensors and recording units in various parts of my house years, recording info through a variety of different devices.
Over the years I’ve built a number of different solutions for storing and displaying the information, and when the opportunity came up to write about a database built specifically for recording this information I jumped at the change, and this is what I came up with:
As home automation increases, so does the number of sensors recording statistics and information needed to feed that data. Using the Time Series Database in BlueMix makes it easy to record the time-logged data and query and report on it. In this tutorial, we’ll examine how to create, store, and, ultimately, report on information by using the Time Series Database. We’ll also use the database to correlate data points across multiple sensors to track the effectiveness of heating systems in a multi-zone house.
I’ve just completed my latest book, this time looking at the development side of using Couchbase Server for building applications. The book goes through the basics of the Couchbase Server data store, the mechanics of storing and using data, the API and operations available, and a quick overview of the different client libraries available for building applications.
With the core details out of the way, I move on to building a sample application using the PHP client library as the base, showing the different operations in context, and then looking at the indexing and query system for searching for data from Couchbase Server.
Part two of my introduction to programming Erlang is available on IBM developerWorks:
Erlang is a multi-purpose programming language that is primarily used for developing concurrent and distributed systems. Part 1 of this series introduced Erlang and how its functional programming style compares with other programming paradigms such as imperative, procedural, and object-oriented programming. In Part 2 you will use some of the advanced features and functionality, starting with basic functions and moving on to concurrent programming, processes, and messaging. These work together to support distributed programming, a powerful feature of Erlang.
I have a new article on programming in Erlang available on IBM developerWorks:
Erlang is a multi-purpose programming language used primarily for developing concurrent and distributed systems. It began as a proprietary programming language used by Ericsson for telephony and communications applications. Released as open source in 1998, Erlang has become more popular in recent years thanks to its use in high profile projects, such as the Facebook chat system, and in innovative open source projects, such as the CouchDB document-oriented database management system. In this article, you will learn about Erlang, and how its functional programming style compares with other programming paradigms such as imperative, procedural and object-oriented programming. You will learn how to create your first program, a Fibonacci recursive function. Next, you will go through the basics of the Erlang language, which can be difficult at first for those used to C, C++, Java™, and Python.
A new article on building CouchApps (using CouchDB) is available on IBM developerWorks:
A new article on using memcached, the memory caching tool, to improve website and application performance is now available on IBM developerWorks:
The open source memcached tool is a cache for storing frequently used information to save you from loading (and processing) information from slower sources, such as disks or a database. It can be deployed in a dedicated situation or as a method of using up spare memory in an existing environment. Despite the simplicity of memcached, it is sometimes used incorrectly, or it is used as a solution in the wrong type of environment. Learn when it is best to take advantage of using memcached.
The Wiki component in Leopard Server is designed to be ready to run and use for all your workgroup needs, but for those who need to customize the look and feel of their Wiki environment may find a new article on creating custom themes helpful: From the article:
Wiki Server, a part of Mac OS X Leopard Server, provides this wiki functionality to all users with access to the server. Individual groups can tap into Wiki Server to create their own wikis and customize the look and feel of the wiki to suit both their content and audience. By creating their own personal wiki theme, Wiki users can apply their own style and identity to the wiki, in addition to supplying their own content.
The final part of the PHP/Java series is now available. This last part of the series covers the modification of our original application so that it employs the PHP/Java bridge as the interface between the core Java application and PHP. A detailed overview of the content:
Comparing connection technologies
The Web service method
The PHP Java Bridge
Differences and similarities
Java and PHP development
Developing a Web interface
Revisiting the Web interface for the Java environment
Parsing the responses
Re-deploying in PHP
Creating a PHP interface to the Java survey data
Creating a new instance of the Survey application
Generating the Survey form through a single method
Generating the form by using SurveyQuestion methods directly
Submitting survey responses back to the Java classes
The penultimate part of the series on using PHP and Java together to produce a web interface to your Java application is now available. In this penultimate part of the series, I look at the real-time use of the PHP/Java bridge as the final part and alternative solution to using web services to communicate between the PHP and Java components. You can also read the past parts of the series: