×
Namespaces

Variants
Actions

ECMAScript MP

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: firt (13 Apr 2007)
Last edited: hamishwillee (27 Jul 2012)

ECMAScript Mobile Profile (ESMP) is a syntantic subset of ECMAScript very similar to JavaScript to provide added intelligence to a mobile device using a XHTML MP website.

ECMAScript MP is based on ECMAScript defined by ECMA 262 (Supported with minor exceptions).


It is also a superset of WMLScript, the script language used in conjuntion with WML. ECMAScript MP replaces key scripting functionalities lost in conversion from WML to XHTML. ECMAScript MP also supports all functionality found in WMLScript.

Uses

With ESMP, you can:

  • Check the validity of user input data (forms validation).
  • Apply mathematic and procedural logic locally to the input data.
  • Providing access to the facilities of the device.
  • Generate messages and dialogs locally without server interaction.
  • Dynamic creation and/or modification of documents on the client using DOM.
  • With some browsers you can make asynchronous calls to the server using AJAX technology.
  • Acces to proprietary functional interfaces, like local facilities, local persistent store, Phonebook, bookmarks, calendar, sms, etc.
This page was last modified on 27 July 2012, at 08:25.
112 page views in the last 30 days.