HOME

TheInfoList



OR:

EMML (Enterprise Mobility Mark-up Language) is an extension of the
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
language. It is less of a strict set of functions and tags, but more a standard for providing developers of web-based mobility applications a means to configure, control and retrieve information from additional input devices and features of rugged mobile computers.


History


EMML 1.0

EMML was first devised by James Morley-Smith in 2001, when working as a Software Developer at
Symbol Technologies Symbol Technologies is an American manufacturer and supplier of mobile data capture and delivery equipment. The company specializes in barcode scanners, mobile computers, RFID systems and Wireless LAN infrastructure. In 2014, Symbol Technologie ...
(now a wholly owned subsidiary of
Motorola, Inc Motorola, Inc. () was an American multinational telecommunications company based in Schaumburg, Illinois, United States. After having lost $4.3 billion from 2007 to 2009, the company split into two independent public companies, Motorola ...
). As part of the first version of Symbol’s PocketBrowser, EMML was originally a mechanism for providing access to the barcode scanner built into many of Symbol's enterprise mobility devices. It was extended to include features such as
WLAN A wireless LAN (WLAN) is a wireless computer network that links two or more devices using wireless communication to form a local area network (LAN) within a limited area such as a home, school, computer laboratory, campus, or office building ...
signal indicators, power statistics and access to the communications port to allow for input from custom devices such as magnetic card readers and temperature probes. EMML 1.0 support is currently offered by commercial browsers and development tools from companies such as Naurtech,
Intermec Intermec is a manufacturer and supplier of automated identification and data capture equipment, including barcode scanners, barcode printers, mobile computers, RFID systems, voice recognition systems, and life cycle services. Intermec holds pate ...
, Wavelink, an
Georgia Softworks
Documentation
Georgia SoftWorks GSWBrowse for Windows RF Devices
Retrieved 2011-07-08
.


EMML 1.1

In 2009 Motorola created an updated version of EMML in order to co-ordinate it with other Internet standards, most notably
CSS Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS is a cornerstone techno ...
. There was a clear focus on simplifying the standard and reducing the amount of redundant code. In doing so, the number of bytes required to be downloaded was reduced and the readability of the language was vastly improved. Previously, all parameters had to be supplied to each META function individually. This meant that each module might have several
META tags Meta elements are tags used in HTML and XHTML documents to provide structured metadata about a Web page. They are part of a web page's head section. Multiple Meta elements with different attributes can be used on the same page. Meta elements can ...
, each taking up several
byte The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit ...
s worth of data. In EMML 1.1, parameters can be supplied in a semi-colon delimited list, much like styles in a CSS style block in HTML.


Characteristics


Usage of the Meta tag

EMML utilizes the
Meta tag Meta elements are tags used in HTML and XHTML documents to provide structured metadata about a Web page. They are part of a web page's head section. Multiple Meta elements with different attributes can be used on the same page. Meta elements can ...
from the HTML language to set properties and specify callback functions by which the browser returns information. According to the
W3C The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
the META Tag is: "an extensible container for use in identifying specialized document meta-information".W3C Hypertext Markup Language - 2.0
/ref> In EMML, the http-equiv parameter is primarily used to identify the module of functionality. The content parameter is used to set properties, methods, and associated events.


Actions

There are three main actions in the EMML language: # Setting property values # Invoking methods # Retrieving information through events


Setting property values

In EMML, setting properties is a case of providing the module and property to set, followed by the value.


In EMML 1.0

''Example 1.'' The following is an example of setting the x-position in pixels of the on screen battery indicator in EMML 1.0: ''Example 2.'' This is an example of several parameters being applied to the battery module using EMML 1.0:


In EMML 1.1

The example shown in ''Example 2.'' in In EMML 1.0 can be written this way in EMML 1.1: It is immediately apparent in the example from EMML 1.1 that there is less redundant information. It may also be observed that the x and y parameters from EMML 1.0 have been substituted for the left and top parameters familiar to CSS. This is also true for the w and h EMML 1.0 parameters that have become width and height in EMML 1.1. The way in which color is described was also changed to the #rrggbb format of HTML and CSS.


Invoking methods

Methods are written in a way similar to setting a property. Again, the module appears in the http-equiv parameter, and the action in the content parameter.


In EMML 1.0

The following would cause the on screen battery indicator to be displayed:


In EMML 1.1

The show method from EMML 1.0 was dropped in favor of the visibility parameter with the visible value, similarly hide is now the hidden value of the visibility parameter.


Retrieving information through events

Retrieving information is carried out by specifying a callback function to which the EMML browser returns information. Typically, META functions which return information were named as the module name followed by the word "navigate". The callback function could be a
URL A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
, where the data is passed as
name–value pair A name–value pair, also called an attribute–value pair, key–value pair, or field–value pair, is a fundamental data representation in computing systems and applications. Designers often desire an open-ended data structure that allows for ...
s in the query string, or a
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
function or variable.


In EMML 1.0

The following is how you would set all of these for the batterynavigate function in EMML 1.0 ''Note: all of these methods would not be included in one document, they are included here as an example.'' In EMML 1.0, you specify a place holder for each value you are interested in using a %s. This has the drawback of requiring the developer to supply a placeholder for inconsequential values. For example, placeholders would be required for 8 values, even if only the 1st and 8th values were of interest.


In EMML 1.1

In EMML 1.1 events have a parameter value for each event and each module can therefore support more than one event. Or In EMML 1.1, the s can be substituted for a numerical value representing the position of the value of interest. Therefore, if requesting the 1st and 8th values from the signalevent of the signal module, the tag might be written as follows:


EMML profiles (EMMP)

Also added in EMML 1.1 were EMML profiles. EMML profiles are similar to CSS style sheets. An EMML profile allows for the creation of EMML classes – a common set of EMML Meta tags which can be applied to a page or element. Below is an example of an EMML profile page: .inventoryBarcodes .inventoryBattery EMML Profiles are stored in .emmp files; these can be linked to the HTML document using the import method of the EMMLProfile module. This is an example of how an EMMP file would be linked: ''Note: Each META tag is parsed from left to right applying each component part in turn. Therefore, in the above example, the ''source ''parameter will be set before the ''import'' method is called. The same is true for EMML Profiles which are applied from top downwards.'' When a profile page is linked, the class name can simply be referenced, and with that, all the parameters in the profile can be applied with one command. As can be seen from the example above, it is possible to set any number of profiles. When doing this, however, one should be aware of conflicting parameters.


See also

Rhodes Framework


References


External links


Naurtech Web Browser Programming GuideWavelink Telnet Client Industrial Browser Reference GuideIntermec Browser User's ManualMotorola PocketBrowser Download Including Developer GuideEMML Samples
{{DEFAULTSORT:Emml Domain-specific programming languages Query languages Open standards Web services XML markup languages User interface markup languages XML-based standards Software architecture Web development software Rich web applications