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

Basic working of network layer, Q. Basic working of Network layer? Net...

Q. Basic working of Network layer? Network layer: Network layer is responsible for routing a packet within the subnet that is, from source to destination nodes across numerou

What is focussed ion beam fix, What is Focussed Ion Beam Fix? A FIB Fix...

What is Focussed Ion Beam Fix? A FIB Fix (Focussed Ion Beam) Fix is simply performed onto a terminated chip. FIB is a somewhat exotic process where a particle beam is capable t

What are the update types possible, What are the update types possible? ...

What are the update types possible? The following update types are possible: Update type A: The matchcode data is updated asynchronously to database changes. Update

What are cosmic rays, Q. What are cosmic rays? The ionising radiation s...

Q. What are cosmic rays? The ionising radiation several times stronger than γ-rays entering the earth from all the directions from cosmic or interstellar space is known as cosm

Cloud computing, what is the scope of doing a final year project on cloud c...

what is the scope of doing a final year project on cloud computing?

Full resolution rule - artificial intelligence, Full Resolution Rule - Arti...

Full Resolution Rule - Artificial intelligence: Now that we know about unification, we can correctly describe the complete edition of resolution: p1  ∨ ...  ∨ pj  ∨ ...  ∨ p

Risks by merchant perspective in electronic payment system, What are the ri...

What are the risks by merchant's perspective in Electronic Payment Systems? Through merchant's perspective: • Copied or Forged payment instruments • Insufficient funds in

VLSI implementation of control unit, Q. VLSI Implementation of Control Unit...

Q. VLSI Implementation of Control Unit? A main potential advantage of RISC is VLSI implementation of microprocessor. VLSI Technology has decreased the delays of transfer of inf

GRID COMPUTING, I NEED THE CODES IN MATLAB FOR RESOURCE ALLOCATION IN GRID ...

I NEED THE CODES IN MATLAB FOR RESOURCE ALLOCATION IN GRID COMPUTING

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