This is an old revision of the document!
There are basically two ways, how you can add your software extensions. The prefered way is using the built-in scripting enviroment called SDK. The advantage of this approach is that it is relativly simple, still powerful and the these extensions can become part of the routers configuration. Hence, the SDK script can be applied to other NetModule router via configuration and they will survice software updates.
The second approach is to write a C application and cross-comile it for the router.
$columns = 3;
$tablestyle = "text-align:center;";
$tdstyle = "text-align:center; border-top:1px solid white; border-left:1px solid white; border-right: 10px solid white; border-bottom: 10px solid white; background-color:rgba(228,226,82,0.8); width:33%";
$image = "http://placehold.it/200x50";
$items = array(
array("/sdk/sdk", $image, "SDK", "Language, API documentation, and sample scripts."),
array("/development/toolchain", $image, "Toolchain", "Cross-compilation toolchain")
);
echo "<table style='$tablestyle'>\n";
foreach ($items as $key=>$item) {
echo ($key % $columns == 0) ? "<tr>" : "";
echo "<td style='$tdstyle'>" .
// "<p style='margin:8px;'><a href='$item[0]'><img src='$item[1]' title='$item[2]'></a></p>" .
"<p style='margin:8px; font-weight: bold;'><a href='$item[0]'>$item[2]</a></p>" .
"<p style='margin:8px;'>$item[3]</p></td>\n";
echo ($key % $columns == $columns-1) ? "</tr>\n" : "";
}
echo "</table>\n";