Differentiate b/w wml-script & web-based scripting language, Computer Engineering

Assignment Help:

Differentiate between WML-Script and Web-based scripting languages.

WML Script is a lightweight procedural scripting language, optimized for small-memory, low-power CPU wireless devices. This has its roots in the ECMA- Script scripting language, a standard version of JavaScript based upon core features of such language.

WML Script language syntax, constructs, flow control structures and etc. All are similar to those of JavaScript due to this inheritance. This provides an optimized and extended subset of JavaScript for the narrowband wireless network-depend devices as mobile phones, PDAs, and two-way pagers.

Difference among WML script and other web based languages:

  • WML Script is loosely coupled along with WML and can be used independently like a standalone tool
  • The method WML Script is transferred from the WAP gateway to be executed upon the wireless client is diverse from the way JavaScript is transferred over the Web for execution upon the client browser. But JavaScript is transferred in clear text, whereas WML Script is compiled through the WAP gateway in byte code before being transmitted to the wireless client. The benefit of this approach is, the byte code is usually much smaller in size than WML Script source code. It enables faster download of WML Script along with less bandwidth consumption. This also permits low-memory capacity of the wireless device to store many application data.
  • The other key difference is that the WS code is not embedded along with the WML source file but is remained as an independent module.
  • WML Script does not support global variables; simply variables declared in functions or passed like functions parameters are permitted.
  • Language support for arrays is not available.
  • Support for low-level binary arithmetic operations is available also in the form of bit-wise operators.

The wireless device requires a WML Script virtual machine to interpret such WS byte code. If the device does not have a WS VM, this can ignore the reference to WML Script in a WML file. While the WML document interpreter comes across a reference to WML Script, this asks the WAP gateway for the referred WML Script module (as compilation).


Related Discussions:- Differentiate b/w wml-script & web-based scripting language

User compatibility & appropriateness of inputs and outputs, User Compatibil...

User Compatibility & Appropriateness of Inputs and Outputs User compatibility - this is the degree to which the machine works towards task completion in way that suits the u

Works flowing related technologies influence e-business, How the works do f...

How the works do flowing related technologies influence e-business? Work Flow related Technologies influence e-business: Microsoft CRM automates internal business process

Describe data parallel model, Describe Data Parallel Model? In data par...

Describe Data Parallel Model? In data parallel model most of parallel work concentrates on performing operations on a data set. Data set is characteristically organised in a co

Lexical analyser, The aim of this project is for you to construct a fully w...

The aim of this project is for you to construct a fully working compiler for a small simple programming language, SPL. The compiler will read in SPL source code and produce ANSI C

What is secondary storage systems, There are various limitations of primary...

There are various limitations of primary memory like limited capacity which is its not enough to store a very large volume of data and volatility which is when power is turned off

Explain isdn addressing with a example, Explain ISDN Addressing with a exam...

Explain ISDN Addressing with a example. A sub address, though a part of the ISDN address, is not seems as an integral part of the numbering scheme. Sub-address is carried in a

Struct and class, https://dl.dropbox.com/u/41918180/Images/Pro%202/2.png ...

https://dl.dropbox.com/u/41918180/Images/Pro%202/2.png https://dl.dropbox.com/u/41918180/Images/Pro%202/3.png https://dl.dropbox.com/u/41918180/Images/Pro%202/4.png">https://dl.d

Contact-based keyboards, Contact-based keyboards employ switches directly. ...

Contact-based keyboards employ switches directly. Though they have a comparatively shorter life they are the most preferred type these days because of their lower cost.  Three such

Explain busy waiting semaphores, Explain busy waiting semaphores. Weak,...

Explain busy waiting semaphores. Weak, Busy-wait Semaphores: The simplest method to implement semaphores. Useful while critical sections last for a short time, or we

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd