Programming language use to build Static and Dynamic Websites
With the global boom of the internet, its use by more and more people as a basic medium of mass communication, it is now obvious that every legal or natural person must have a presence in it.
The most common way of presenting a company’s products or viewing ideas is through a website. The types of a website vary, depending on each one’s needs. The two largest and most basic categories of web pages are static and dynamic.
Static are called websites that have permanent content. This does not mean that their content should be static, but instead can have many animated graphics.
Dynamic are the webpages where the visitor user interacts with the page itself. Today there is a false impression that static websites are obsolete, mainly because they are built on older technologies to build. But that impression is extremely wrong.
Some of the most modern websites are static, while static websites offer advantages that have no dynamics.
The term “static” refers to the permanent content of static websites and not to some kind of traffic. Data (text, photos, etc.) to change to a static page, the page administrator should manually change it through a specific web page design.
In contrast to dynamic websites, the simple user-visitor interacts directly-dynamically with the page itself, which means that it can also change its content.
For this reason, dynamic websites are managed by an open source CMS (Content Management System) that the page management system is open to all users who can change or modify it. Whether it is possible to change / modify the content of a dynamic web page by a visitor, is defined by the administrator of the page. But let’s get them from the beginning:
Read Also : How To Get Quickly Index Your New Post On Google
The first websites are closer to today’s static, despite the dynamics that were invented later. The British Tim-Bernes Lee, inventor of the
internet or the world wide web in 1989, published in August 1991 what we consider today as the first website to be written in html, that is, in the language where the static web pages are written.
Dynamic websites are based on languages and technologies that have recently been discovered and are constantly being developed. Dynamic websites are written in php programming language that is constantly being developed. Today’s 4th and 5th php versions are used.
The below four languages are among the most important ones used to build a website.
For the development and design of dynamic or static web pages multiple languages are used. Html is widely used on static websites and php in dynamic. However, in html html can be used because html is not a programming language, as opposed to php where it is.
HTML (HyperText Markup Language):
Html is not a programming language. It is a markup language. It was discovered by IBM, which wanted to solve its problem of non-standard appearance of texts in its various computing systems. Html is also available on dynamic and static websites.
The html consists of several tags that give commands to the browser where the latter displays the results of these commands on our screens.
Tags are commands between the <and> symbols. B.C. if we want to instruct our browser to display some text marked in bold, html writes: <b> To_text <here </ b> Commands are case insensitive, they are not affected by whether they are written in lowercase or upper case.
It is also noteworthy that html is the first and most common language to describe the structure of a web page.
The problems arose when Microsoft and Netscape added to html such features that were compatible to be depicted by some browsers.
Even now, a different page of different browsers is displayed. Thanks to this, the explorer has been detuned from firefox.
Large programs in which the user writes html code at the same time can see the result of the codes he writes are Adobe Dreamweaver, Microsoft FrontPage and Ace HTML.
php is a programming language that is mainly used to build dynamic websites.
A website written in php to open in real-time on our screen in html format through our browser communicates and goes through processing from a compatible web server (eg Apache). Apache is the world’s largest and most popular webserver (nameserver).
Apache is the most popular of the servers because it works on Linux, Unix, Mac OS X except for Windows.
Apache’s usefulness is because when a user visits a web page from their browser, they communicate with the server-server via the http protocol, creating web pages that are sent to the browser and from there on the screen computer in html format.
Apache supports by default php code execution.
The php was discovered in 1995 by a student named Rasmus Lerdorf, who created a simple script written in php for simple personal use. This script was intended to maintain a list of statistics for people who viewed their online CV. Later on, this script also made it available to his friends, who began asking him to add more possibilities, and so it went on.
The development of php was also based on programming language C. Today, most sites use the 4th and 5th php versions, while the upcoming 6th edition is still in trial stages.
Cascading Style Sheets (CSS):
CSS files allow us to separate the content of a web page from its design track. And this is because all the design and formatting elements of a page can be stored in a single separate CSS file, which will be / will communicate with all the other files on the page, and will change them in a design.
Read Also : 21 Legit Ways To Make Money With Your Online Blog Or Website
This, as you understand, is very practical, because if we want to change the background color of a page, it is enough to interfere with the CSS file and make the change there, and we DO NOT need to make the change to all the files of a page separately. This saves many rows of code.
The advantages of CSS are:
1. Minimize loading time for a page, as the size of one page’s size is reduced.
2. Minimize code writing time.
3. Accessibility from all browsers-browsers (eg Explorer).
4. It is certified by W3C, the largest Web Standards organization worldwide.
5. Uniformly display all pages of a web page after they are linked to the same CSS file.
6. It is SEO friendly, since the page code is much cleaner.
CSS is a relatively easy language in learning.
It is a description / build language of the data. By saying data, we mean a collection of data elements, such as book or address books. XML is not a programming language nor does it have the features of a programming language. XML is used to make it easier for our computer to generate and structure the data.
We hope these tips are useful for you. If you liked or think that they can serve someone else, share them on your social networks and we will be eternally grateful to you =)