Menu

Armature / Blog: Recent posts

ArmatureBoard and RPi

The first cut at the Armature board and the GPIO on the RPi board is in place. It needs a lot of work - JavaDoc, testing, etc. But the basic outlines are there.

Posted by Brad 2013-03-27

Listeners, Events, and Threads

Since the Armature project is intended as a reference set of Java classes, the focus has been on defining interfaces, events, and listeners. A few abstract classes have been created. It is difficult refraining from diving into implementation logic.

The one place where there will be a solid implementation is in the event and listener threads. Right now that is under consideration and it may well be that the design changes and morphs with time.... read more

Posted by Brad 2013-03-19

Whew! Setting up....

The baseline Armature project and a rudimentary set of interfaces and abstract classes are in place. Most have a good set of comments. The basic project has the following:

+Baseline code and interfaces
+Maven POM
+Forums with various columns
+RaspberryPi subproject

Main Area: https://sourceforge.net/p/armature/discussion/

https://sourceforge.net/p/armature/raspberrypi/discussion/

The base project will probably have suites of tests which can be run against any given implementation to verify the basic functionality. There are likely to be tiers of tests. For example, the most basic would be too instantiate the code, make calls to the various interfaces and verify that no hard exceptions are thrown and that those that are thrown are sub-classed from the Armature base RuntimeException. That's about as stupid simple as a test can get while still verifying a modicum of contract fulfillment. ... read more

Posted by Brad 2013-01-28