In general, there are 256 of programming languages exist in the programming world. Programming languages are classified in many ways. The most commonly used programming languages are Hypertext Markup Language (HTML), Java and Php.
The third most commonly used programming language that used in developing a program is Hypertext Preprocessor (PHP). PHP is suitable used in web development and also can be embedded into HTML. Besides, PHP scripts are usually used in three main areas which are server-side scripting, command line scripting and writing desktop applications. Usually, PHP used to read data and information from databases, and to add or update the databases content. A single PHP template can be written to retrieve and display the databases records. PHP is a language developed by Rasmas Lerdorf which originally an abbreviation of ‘Personal Home Page (tools)’ (Motive Glossary, 2004). PHP is a recursive programming where the command can be used over and over again to gain data. Before this, this language has been said that has been widely used in server-side scripting (Motive Glossary, 2004), which is can do anything that are related to any other computer graphic image (CGI) program likes collect data, generate dynamic page content or send and receive cookies. This language can be used in any operating systems, including Linux, Microsoft Windows, Mac OS X, and RISC OS. Each of the programming language has its function and same goes with PHP language which are can output images, form a server-side cache for content and easily output any text such as XHTML and XML file. Example code of PHP language that used in developing program can be seen in Table 1. PHP code can be inserted into the HTML webpage because it is an HTML-embedded web scripting language. When PHP page is opened, the PHP code is read from the located page by the server. The results from the PHP functions on the page usually read as HTML codes that can be read by the browser. This is because PHP codes do not have its own interface and were transformed into HTML codes first before the page is loaded and users cannot view the PHP codes on a page without a user interface from the HTML. The reason is to make the PHP page secure to access databases and other secure information.
In conclusion, Hypertext Markup Language, Java and Hypertext Preprocessor are considered as the most commonly used programming language in programming world because it is used in creating websites that are essential to our daily lives nowadays.
The Evolution of C++ as a Programming Language Essay
2165 Words9 Pages
The Evolution of C++ as a Programming Language
C++ is a very useful programming language. Many educational curriculums will include either C or C++ as the tool entry-level programmers will use to learn the syntax, semantics, and data structures key to effective programming that is required of computer scientists. C++ is such a diverse language, one cannot help but wonder how it became the popular language it is today, and this paper is going to demonstrate just that.
Introduction to CPL
Cis the great-grandfather of C++, designed in 1963. It is short for “Combined Programming Language.” Many features within CPL are from, or are largely based on, Algol 60, which was a programming language developed in the early 1960’s. It was…show more content…
CPL uses standard operators and conditional statements, as well as loops called cycles, and is capable of evaluating expressions in both “right-hand” and “left-hand” modes, meaning it evaluates one side of an expression first before the other. CPL also supports the use of a “compound command,” using a special symbol §.
Brought forth from CPL was the concept of an “initialization definition,” which assigns a variable as it is defined a value obtained by referencing an array using an index or from evaluating an expression that may or may not need to be re-evaluated each time the variable is used. Also, CPL allowed labeled (more recently referred to as a pointer) definitions to be defined and referenced at any time, instead of having to be limited to the whole block of code, as in Algol.
Functions with parameters enclosed in brackets are used for complex computations in which the variables or constants used in the assignment expression must correspond in data type. Arrays and lists, like in LISP, are also declarable data types.
From CPL to BCPL
Much of CPL described above may seem foreign to modern programmers that use C and C++, although quite a few of the features should have been familiar. In BCPL, there are several differences in coding, although the core of the language is still the same.
As CPL was designed in part by the University of Cambridge,