Page 316 - Webapplication11_C11_Flipbook
P. 316

Advantages of Static Websites
              Some advantages of static websites are as follows:

              Ð ÐStatic websites are typically safer.

              Ð ÐSearch engines find it simpler to rank static websites because they typically load quicker.
              Ð ÐSimple software can be used to create static websites.
               ÐBuilding static websites is less expensive.
              Ð
              Ð ÐOn a static website, you can alter the structure and appearance of every page.
              Disadvantages of Static Websites

              Apart from the advantages, static websites also have some disadvantages, which are as follows:
               ÐStatic websites can be difficult and time-consuming to update, especially if they are huge.
              Ð
              Ð ÐScaling a website to add more content can be challenging once the code has been deployed.
              Ð ÐYour website can have stale information that gives the impression that your business or brand is out-of-date
                 because static websites require a lot of work to maintain.

              Ð ÐVisitors cannot be engaged with or provided with distinctive experiences.
                 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.


                314     Touchpad Web Applications-XI
   311   312   313   314   315   316   317   318   319   320   321