Page 280 - Web Applications (803) Class 11
P. 280
4.2 DYNAMIC WEBSITES
Unlike static websites, dynamic websites are interactive and changeable. These websites can generate real-time HTML
pages according to the user's requirement. An understanding of a server-side programming language like PHP, C#, or
Python is typically necessary to create a dynamic website.
Advantages of Dynamic Websites
The advantages of dynamic websites are as follows:
Ð ÐThey facilitate user interaction and add extra website functionality.
Ð ÐDepending on the user's needs, they display content.
Ð ÐThey let several users edit the content.
Ð ÐRecurring visitors and clients are more likely to be drawn to dynamic websites.
Disadvantages of Dynamic Websites
The disadvantages of dynamic websites are as follows:
Ð ÐDynamic website are more expensive than the static websites.
Ð ÐDynamic websites are slower than the static websites.
4.3 INTRODUCING TO JAVASCRIPT
JavaScript is an interpreted high-level scripting language that was first implemented as part of a web browser to allow
client-side scripts to interact with users, control the browser, communicate asynchronously, and change the document’s
contents. It allows our web applications and pages to think and act by making them interactive and dynamic. It is used
for data validation, manipulation, and calculation, and the best part is that it can be used on both the server and client
side.
It’s closely interlinked with HTML code, yet it’s handled by the browser’s JavaScript interpreter. A core set of objects,
such as array, date, and Math, as well as a core set of language components, such as operators, control structures, and
statements, are included in JavaScript. Let us now understand the features of JavaScript which have made it hugely
popular.
Do You Know?
• The development of JavaScript took only ten days.
• The original name for JavaScript was Mocha.
• Semi colons are commonly used at the end of statements in several programming languages. Although
JavaScript does this, you may also use a semicolon at the start of a statement.
History of JavaScript
In the early days of the Internet, web pages could only be static and lacked the capacity to behave dynamically once
they were loaded in a browser. In 1995, Netscape Communications Corporation made the decision to incorporate
a scripting language into Navigator in response to the web developer community's demand to do away with this
restriction. In order to do this, they pursued two different strategies: working with Sun Microsystems to integrate the
Java programming language and employing Brendan Eich to integrate the Scheme language.
Before the development of JavaScript, there was no programming language to make websites dynamic. To add dynamism
to websites, Brendan Eich created JavaScript in 1995. JavaScript became an European Computer Manufacturers
Association (ECMA) standard in 1997, and subsequent work resulted in the standardized version named ECMAScript.
278 Touchpad Web Applications-XI

