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

Define memory cell, Define memory cell? A memory cell is capable of sto...

Define memory cell? A memory cell is capable of storing single bit of information. It is usually organized in the form of an array

Identify which stores most no. of bits in memory store, Which of the memori...

Which of the memories stores the most number of bits ? Ans. 5Mx8 = 5 x 220 x 8 = 40M (max).

Determine octant to hexadecimal conversion, What is the Octant to hexadecim...

What is the Octant to hexadecimal conversion of 734 ? Ans. (734) 8      = (1 D C) 16 0001 ¦ 1101 ¦ 1100 1         D         C

What is exact and approximation algorithm, What is Exact and Approximation ...

What is Exact and Approximation algorithm? The principal decision to choose solving the problem exactly is called exact algorithm. The   principal decision to choose solving th

Instruction issue degree in superscalar processing, Q. Instruction Issue de...

Q. Instruction Issue degree in superscalar processing? The major concept in superscalar processing is how many instructions we are able to issue per cycle. If we are able to is

Explain readers-writers problem, Explain Readers-writers problem. Read...

Explain Readers-writers problem. Readers-writers problem: Assume that a data object (as a file or record) is to be shared between several concurrent processes. The readers ar

Explain the main characteristics of semiconductor memory, Explain the Main ...

Explain the Main characteristics of semiconductor memory Memory, with regard to computers, most commonly signifies to semiconductor devices whose contents can be accessed (whic

DBMS SQL Queries, How to fetch random ID from table by SQL query Select ...

How to fetch random ID from table by SQL query Select * from Table_Name order by NewID()

Define the operand data types, Operand is that part of an instruction which...

Operand is that part of an instruction which specifies the address of source or result or the data itself on which the processor is to operate. Operand types typically give operand

#project, how to build PVR set-top box using raspberry

how to build PVR set-top box using raspberry

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