Category Archives: Modularity

M&P H5J in Automation and Robotics

Posted on May 6, 2014 by Herman Dolder
 
IBLGWoT
 

The new Version 8 (“2014”) of M&P can be integrated in Automation and Robotics environments.

M&P H5J code running in an M&P NodeJS server can monitor and control Arduino Controllers.

IArduinoR3

A NodeJS server can be ported to a large number of devices and operating systems.

M&P H5J allows to create distributed Automation and Robotics applications operating on Internet. Those applications can be remotely monitored and commanded by means of Mobile devices and Desktops.

An M&P NodeJS server can interoperate with several Arduino Controllers.

The logic for the Arduino Controllers is coded in TypeScript and is packaged in M&P BLOCKS.

A Javascript Library called Johnny-Five is used.

Read the full article …

M&P H5J Device Hosted Applications

Posted on April 25, 2014 by Herman Dolder
 
IBLGH5JDeviceHosted
 

With the new Version 8 (“2014”) of M&P normal ‘server-hosted‘ H5J applications can be installed as ‘native‘ applications in a large number of devices and operating systems.

The server-hosted H5J applications become ‘device-hosted‘ by using Apache-Cordova (see Wikipedia).

Apache-Cordova is basically a portable ‘virtual machine‘ capable of operating in different operating systems providing a common API for all of them.

Apache-Cordova allows to ‘package‘ H5J server-hosted applications creating a different package for each target platform and in each package we include an specific adapter module provided by M&P.

In the original server-hosted applications just a single line of code is added (for referencing the adapter module) and the added sentence is the same for all packages.

Currently the ‘devce-hosted’ facility of M&P H5J is tested successfully on Windows 8.1/WinRT, Firefox OS, Windows Phone 7.X and Windows Phone 8.

M&P allows to combine both modalities, server-hosted and device-hosted, in any application.

Read the full article …

M&P BXaml Styles and Themes

Posted on August 22, 2013 by Herman Dolder
 
IBLGBxml_Styles
 

BXaml implements Styles (Explicit and Implicit) and Themes.

BXaml introduces the BStyle BLOCK to support the styling of BLOCKS, HTML elements and SVG elements.

The BStyle BLOCK

The BStyle BLOCKS enables you to set properties values of all kinds of visual and non-visual BXaml objects.

An BStyle BLOCK encapsulates a BXML Markup Extension (BME) expression which contains a set of property-value pairs.

Read the full article …

See some images …

M&P TBW Plug-and-Play Plugins

Posted on August 19, 2013 by Herman Dolder
 
IBLGMPPaP
 

Dynamically Loading BLOCKS

In an M&P application some (as many as appropriate) BLOCKS can be loaded and integrated dinamically to an application, usually on demand.

M&P Plugins

An M&P Plugin is a BLOCK or BLOCKTree that is loaded dynamically.

The BLOCKS in a Plugin are normal M&P BLOCKS.

The use of plugins allows the configuration of an application at run-time.

A dynamically loaded Plugin can load other Plugins on demand.

M&P Plugins can be of two types: XPlugins and XViews.

Read the full article …

M&P – The BUS

Posted on August 15, 2013 by Herman Dolder
 
IBLGMPBUS
 

The BUS is a global Dictionary provided by the M&P Runtime to store object references under string keys.

The BUS is specially useful in the Plug-and-Play architecture of M&P to facilitate the interoperation of dynamically loaded Plugins with the rest of the system.

Read the full article …