Posted on April 25, 2014 by Herman Dolder
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 …