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

Return a string, Write a function that will prompt the user individually fo...

Write a function that will prompt the user individually for a filename and extension and will make and return a string with the form 'filename.ext'.

Delete a user from a category, Execute the following functionality using Ja...

Execute the following functionality using Java & SQL with simple GUI interface: 1.  Insert/delete/update an XML document.  2.  Insert/delete/update a category.  3.  Alloca

Describe about the protection features present in ms access, If a programme...

If a programmer doesn't wish to make modifies to the document he can lock the document data and its code from more changes by changing the extension of the file system to .MDE. Cha

And-introduction rule, And-Introduction: In generally English says tha...

And-Introduction: In generally English says that "if we know that a lot of things are true, so we know that the conjunction of all of them is true", then we can introduce conj

Explain step by step switching system with neat diagram, With the help of a...

With the help of a neat diagram explain a step by step switching system. Configuration of a step by step switching system: A step by step switching system may be constr

Calculate the switching elements in a two stage network, In a two stage ne...

In a two stage network there are 512 inlets and outlets, r=s=24. If the probability that a given inlet is active is 0.8, calculate: the switching elements Given: N =M =512,

Draw the logic circuit of a 3 line to 8 line decoder, What is a decoder? Dr...

What is a decoder? Draw the logic circuit of a 3 line to 8 line decoder and explain its working. Ans. Decoder: it is a combinational logic circuit which converts Binary words

Efficiency of vector processing over scalar processing, Efficiency of Vecto...

Efficiency of Vector Processing over Scalar Processing: We know that, a sequential computer processes scalar operands one at a time. Thus, if we have to process a vector of len

Perform subtraction in base 5 using r and r-1 complement, Q Write a menu dr...

Q Write a menu driven program to perform subtraction in base 5 using r and (r-1) complement with necessary validations.

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